django’ Entries

  • Workflow in Django

    My introduction to web development was with a CMS called Plone. Since then I've moved away from Plone for personal reasons, but there have always been one component of Plone which I grew attached to, and this was it's amazing workflow/statemachine.

    So it's no surprise that I've been looking around for something similair in Django. I had a couple of requirements for a Statemachine in django.

    1. It should be really easy to attach a statemachine to any model.
    2. There should be …

      Read More …


    3. Unifying Django Pluggable Apps?

      So I have been thinking about this for a while now. I love Django and one of the features I enjoy most is the ability to easily plug in any third party app. But there has always been one issue that I'm sure many of us have thought about.

      1. Different App, Different Author, Different Approach

      The biggest issue I have with re-usable apps, is that every author uses a different naming scheme, and not only that, they may also use a completely different widget for a …

      Read More …


    4. Integrating CKEditor into Django

      After writing a post on my reasons for writing my own blogging app, I received a couple of questions on how to integrate CKEditor into Django.

      I thought I would write a tutorial post on how to do this, but a friend have since developed a great application that works brilliantly. Shaun's django-ckeditor can be found on github. (Note that we have since found out that django-ckeditor has a name conflict, and will probably be renamed soon)

      The app provides 2 methods to integrate the editor, either …

      Read More …


    5. How I deploy Django via Buildout

      I used to just jump in and develop my webapps in Django without giving any thought about how I'm going to deploy the project. I always maintained that I can worry about that later, and that it's either more important, or more fun to actually sit and write some code and put together that exciting new project. I'm sure there are many other that may share that sentiment. I mean, the deployment of the project is just a minor and final step, right? Not always.

      After deploying my first and second, and …

      Read More …


    6. My Django Blogging App

      Why yet another django blogging app?

      About a month ago, I finally decided to put my blogging application up on github. Now I know there are hundreds of blogging engines out there, and many of them are far better than the one I've created, but it was important for me to develop and keep extending my own, for the purpose of learning more. This is probably the biggest reason why I dont use some of the more well known blogging frameworks, such as Wordpress, or even django-mingus (which by the way looks …

      Read More …


    7. Why I Love django-photologue

      When I first started working with Django, I didn't know about photologue. Whenever I needed an image for a particular model, I would use the standard django ImageField(). I would search on the internet for snippets and techniques on creating thumbnails for the images when they are saved. This became a bit tedious, and after searching for a while longer, I discovered a wonderful little app, which I still use from time to time, called sorl.

      The next project I woked on required a gallery, I thought I'd take advantage …

      Read More …


    8. django-adzone Source Uploaded

      I have been working on a django advertising application for use in some upcoming projects. Decided to make it openly available to the community. Please note that I found that there is another similair app called django-ads. I have not tested this one, so I dont know what it's like.

      The main use case for this application is to allow a user to upload different types of ads, ie, text, banner, flash. These ads are added to a Category, and a Zone. Zones are just a silly name for the different areas on the site which can contain …

      Read More …


    9. Spam bots halted with Akismet

      Up until the start of this week, I was not really concerned about spam bots finding my site. In my naivity, I believed that my site is small enough to go completely un-noticed by them. I also thought that should any bot find my site, they still have to get past the django forms honeypot.

      A couple of days ago, I found that I was very wrong. Luckilly I caught it early, and quickly disabled comments on by blogs and videos, and deleted the spam. Next my search started for a solution. I read up on Django's comment …

      Read More …


    10. django-video Source on GitHub

      I have finally gotten around to launch django-video.

      The biggest question on my mind was about what licensing model to use. I finally decided to use the BSD Open Source License, and implemented this throughout the project.

      The app is now hosted github, and you can also follow it on Cloud27

      Read More …


    11. django-video on Cloud27

      I have decided to create a project for django-video, my video streaming applicaiton for django, on Cloud27. This makes it more official and gives me a good starting point. Cloud27 also has many django users that can contribute to the project, should they like it.

      The code will be hosted on github, but this will only happen once I've decided what licensing model to use. If you have any suggestions on licenses, please feel free to leave a comment, and I'll look into it. Note that I'll only be considering proven, well known open source licenses.

      The …

      Read More …