Category Archives: Django

Overriding change_form.html and accessing the object instance

Here’s an example for a custom change_form.html located in app/templates/admin/appname/modelname/change_form.html – and the cool thing is that it accesses the actual instance of the object, which I found to be very convenient and undocumented. If you want it to be … Continue reading

Posted in Django | 3 Comments

django-cms 2.0.2 and Django 1.2 – 1.3

If you are running an old version of django-cms, you can still upgrade Django. I would strongly suggest doing this since it’s very uncomplicated. However, if you are running django-cms 2.0, you should first upgrade to 2.0.2 and run the … Continue reading

Posted in Django | Tagged , | Leave a comment

Stopforumspam Django Middleware

I have created a new Django app for keeping out spammers on the basis of data collected by stopforumspam.com. Read all about it here ยป It’s free, open source, and I hope people will make it better on github.

Posted in Django, Ubuntu, Web | Leave a comment

Changing the Django Admin site title

Often the Django Admin should look a little different for the sake of your users or for the sake of yourself (running multiple django sites with identical looks and titles can be such a pain). Often users don’t know what … Continue reading

Posted in Django | Tagged , , | 2 Comments