django-extensions/django-extensions — pull request #174 by chrisspen (2012-02-17 01:40:33+00:00)
Title: Fixed PostgreSQL support in sqlcreate management command

Sqlcreate was a noargs command, which was completely unusable in Django versions >= 1.3, since it requires the --router argument, but didn't allow any arguments. I changed this to a BaseCommand, and I also fixed the statements generated for PostgreSQL, to match a script I currently use to setup production databases.