Tag Archives: Django OperationalError

Django OperationalError: no such table

For the past few weeks i have been working with RapidSMS on an application and dealing with a particularly frustrating error in early set up
django.db.utils.OperationalError: no such table: django_digest_partialdigest
Searched and read the documentation till i found it all came down to how the apps were ordered in the INSTALLED_APPS setting of the settings.py file. Tables for those apps are generated in the order they are listed so if you list App2 above App1 when App2 tables require the existance of App1 tables, you will encounter the error above.
All i did was move django_digest up the list in the INSTALLED_APPS setting in the settings.py file and the problem was fixed.

1 Comment

Filed under Code