Jump to content

Recommended Posts

Posted

Ok, I've added the two additional packages that I'm using (debug_toolbar and django_jinja) to the sys.path, so I'm guessing I shouldn't be getting errors about that now. Has a new error popped up now?

Posted

[Sat Jun 10 21:15:58.236674 2017] [wsgi:error] [pid 19289] [client krydos:31885] ModuleNotFoundError: No module named 'debug_toolbar', referer: http://edsby.drte.ch/
Posted (edited)

Hooray! It works. Thank you so much for all your help!



One more thing, my interface shows up now, but request.session doesn't appear to be saving anything to the session. I'm using the django.contrib.sessions.backends.cache session engine. Is this a side effect of using wsgi?



I've switched to cached_db which should work the way I need it to. However, it appears that sqlite is not permitted to write to my project's directory. I keep getting this error:

OperationalError at /edsby_ui_login/ unable to open database file 
Edited by topgeardavid
Posted

I never got sqlite working with django when I was experimenting. I just switched it to mysql and it worked perfectly. If you want to have it work with the same mysql database at home when you're developing and on the server without changing the settings each time just set up a remote mysql connection and it all should work.

Posted

I've created a new MySQL database, however I'm unable to connect to it for some reason. I'm using user 'dr_edsby' and database 'dr_edsby'. I'm consistently getting "access denied".

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...