python - Django: no such table: django_session when using with postgres -


I am creating a blog with jigs and I have configured my server with nginx and uwsgi. Everything from management to test server works fine but when I try to access it externally

  OperationalError / admin / no such table: django_session  

Before I try to log in to the Admin console, I was getting the same error before but with auth_user instead of django_session . I have configured the server using postgres and when I see the blog user logging in to the database all tables appear there, I get this line error page /srv/blogenv/local/lib/python2.7 /site-packages/django/db/backends/sqlite3/base.py , which I have thought strange is that the database is in postgrad, I tried to run SyncBB but returned it and returned that there was unconvincing changes And mcmig Corporation and migrate to the problem was not fixed.

So I managed to solve the problem by removing the existing database and then migrating it.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -