Hi, After adding social_django to this <https://github.com/devlup-labs/gymkhana_portal> project, in some of the pages, the server is throwing OperationalError no such table: django_session, which is kind of weird because it is there. Most of the functionality is working fine but some things like adding an object to a model via admin are throwing the error.
There is a middleware <https://github.com/devlup-labs/gymkhana_portal/blob/master/src/oauth/middleware.py> which checks if a User object has an associated UserProfile object, if not then it redirects to a page for creating one. The exception is usually thrown at condition check in the middleware, I tried skipping the middleware but the error persists. I've not been able to identify the cause. Maybe it's the order of middleware or something, I can't say. Can someone help regarding this? Here is the settings.py <https://github.com/devlup-labs/gymkhana_portal/blob/master/src/gymkhana/settings.py> file with the order of middlewares. Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e0cd20c6-aa27-47dd-a983-ff3eda293ae5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.