Jump to content

Deploying Django Project


topgeardavid

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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