Blog Archive for January 23, 2010

NoReverseMatch: 'admin' is not a registered namespace

January 23, 2010

I was getting the error:

NoReverseMatch: 'admin' is not a registered namespace

whilst trying to go into the admin site of a Django application that was using reversion.

The problem is that I had used:

(r'^siteadmin/(.*)', admin.site.root),

for the link to the admin …

South Quick Reference

January 23, 2010

South is an excellent database migrations tool for Django.

Converting a Django App to use South

The first step is to convert your application to use South instead of Django's syncdb.

$ ./manage.py convert_to_south app_name

Create a Migration

When you change the model, South can automatically work out the …

Tags: django south