What steps will reproduce the problem? 1. create project, install into settings.py django, photologue, NOT django-tagging, but have django-tagging available on python path 2. click 'add gallery' in admin, insert values, click 'save'
What is the expected output? What do you see instead? django throws the following error:
sqlite3.OperationalError OperationalError: no such table: tagging_tag
What version of the product are you using? On what operating system? django VERSION = (1, 1, 1, 'final', 0) photologue VERSION = (2, 3)
Please provide any additional information below.
i believe the problem is that django tagging was on my python path, but not installed in the django project's settings.py. removing django-tagging from the python path, deleting the database, and resyncing the database solved the problem.
i think this issue could be avoided by checking if django-tagging is actually installed in the django project, as opposed to only checking if it's on the python path. see attached patch for models.py, lines 36-42.
- models.py 29.99KB
Comment #1
Posted on Jun 13, 2011 by Swift Rabbitit's because you should install http://code.google.com/p/django-tagging/ - tagging application.
sudo pip install django-tagging and then python manage.py syncdb
i did it and everything works perfect.
Comment #2
Posted on Jun 13, 2011 by Massive OxThe problem is that django-tagging is not, and should not be, a requirement to use django-photologue
Status: New