Jump to content

topgeardavid

Members
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by topgeardavid

  1. 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 
    
  2. Shouldn't this be working?

    import os, sys
    from django.core.wsgi import get_wsgi_application
    
    sys.path.append('/home/dr/public_html/edsby')
    sys.path.append('/home/dr/public_html/edsby/drEdsby')
    sys.path.append('/home/dr/public_html/edsby/webapp')
    
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "drEdsby.settings")
    
    application = get_wsgi_application()
    
×
×
  • Create New...