python - OperationalError: No such table - but there is such a table -


while developing website locally, didn't have problems, when put on server, got following error upon trying access had database:

operational error @ appname_modelname no such table: appname_modelname 

this happens apps , models, including admin model. using sqlite3 database. thing is, when ./manage.py shell following code runs fine:

from appname.models import * print model.objects.all() 

it list 2 dummy objects have in table. in other words, have migrated everything, , data can read table in context. furthermore, able serve webpages , static files without issues. tried changing permissions on db.sqlite3 file 755, no avail. using django 1.8.1, running on apache server inside virtual environment.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -