Django Admin with SQLite3 :memory:

14 views
Skip to first unread message

George Kontridze

unread,
Aug 2, 2018, 10:37:50 AM8/2/18
to django...@googlegroups.com
Hello,

I was wondering if it is possible to use SQLite3 with the :memory: option in conjunction with Django Admin. I have gone as far as creating and running migrations on startup, and I can see that the auth_user table gets created, but when I try to log into the admin web interface, I get an exception with the "no such table auth_user".

Is it possible that the runtime had limited access to SQLite3 :memory:, and some parts of the framework are outside of that scope?

I understand that this is an unusual setup, but I would appreciate any insight into my situation. For now I've switched to a separate database server, but would still like to implement this feature, if possible.

Thanks,
- George
Reply all
Reply to author
Forward
0 new messages