quinode/django-coop — pull request #132 by gutard (2012-11-15 11:01:14+00:00)
Title: Fix initial syncdb

Initial syncdb fails with:
django.db.utils.DatabaseError: relation "django_site" does not exist

The problem is located in:
File "django-coop/coop/models.py", line 94, in StaticURIModel
domain_name = str(Site.objects.get_current().domain)

This code is executed at syncdb and try to get an object from the django_site table that is not yet created and populated.