Django: application skipped in syncdb
I h开发者_如何转开发ave several applications declared in settings.py:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.messages',
'authentication',
'catalogs',
'configurations',
...
)
When running syncdb
the authentication
application is skipped and its tables are not created, but I get no error.
The other applications are ok.
I think that some error prevents the application to be run properly.
Is it right? How can debug it?
Thanks
I got it! There was indeed an error in my code.
Just running manage.py shell
and asking for from authentication.models import *
made the error raise.
精彩评论