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".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...