Django 1.9+ Photologue: "no such table: photologue_gallery_sites"

25 views
Skip to first unread message

Ma Max

unread,
Aug 24, 2016, 3:41:42 AM8/24/16
to Django Photologue
Hi, I have trying to build a photo gallery on my website.

I have added photologue into my Django project, and run the migration commands.

And when I want to add gallery or photo from the admin page, it returns


OperationalError at /admin/photologue/gallery/add/
no such table: photologue_gallery_sites
Request Method: POST
Django Version: 1.9.5
Exception Type: OperationalError
Exception Value:
no such table: photologue_gallery_sites
Exception Location: //anaconda/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 323
Python Executable: //anaconda/bin/python
Python Version: 2.7.12

=====================================================

OperationalError at /admin/photologue/photo/add/
no such table: photologue_photo_sites
Request Method: POST
Django Version: 1.9.5
Exception Type: OperationalError
Exception Value:
no such table: photologue_photo_sites
Exception Location: //anaconda/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 323
Python Executable: //anaconda/bin/python
Python Version: 2.7.12

I am not using South because it seems not capable with Django 1.9+. So do I need to create the table by my own? 
Reply all
Reply to author
Forward
0 new messages