Closed alexlittle closed 11 years ago
Hmm, I haven't been able to reproduce this. Maybe try re-installing the app? Might have missed the migrate step, or something could have been fixed since this issue was filed. Feel free to reopen or refile if it happens again
I just installed django-badger and I tried to create a new badge (in the django admin page). When I submit the form to add the new badge, I get the error message: DatabaseError at /admin/badger/badge/add/ (1146, "Table 'python.badger_badge_prerequisites' doesn't exist")
In my database I see 4 badger_* tables (award, badge, deferredaward and progress) and the only reference in the code I can find to the prerequisites table is in the migrations/0001_initial.py script.
Have I done something wrong in the installation? (I'm quite new to python/django), Any help much appreciated, Alex
For info the full traceback is:
Environment:
Request Method: POST Request URL: https://localhost/python/admin/badger/badge/add/
Django Version: 1.3.1 Python Version: 2.7.3 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.admindocs', 'maps', 'polls', 'maths', 'badger'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')
Traceback: File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
Exception Type: DatabaseError at /admin/badger/badge/add/ Exception Value: (1146, "Table 'python.badger_badge_prerequisites' doesn't exist")