On Tue, 27 Jan 2015 23:12:59 +0200, David Gleba <[email protected]> wrote:

My mysite.wsgi:

    import os, sys
    sys.path.append('c:/p2/xampp/htdocs/django/mysite')
    os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
    # works: https://www.pythonanywhere.com/forums/topic/1629/ # this is
for changes to django 1.7 # 2015-01-23_Fri_14.13-PM
    from django.core.wsgi import get_wsgi_application
    application = get_wsgi_application()


_____________

My django161c.wsgi

    import os, sys
    sys.path.append('c:/p2/xampp/htdocs/django/django161c')
    os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
    from django.core.wsgi import get_wsgi_application
    application = get_wsgi_application()


_____________


A shot in the dark, but is it correct that the settings module is called 'mysite.settings' in both cases, or should the second case use django161c.settings instead?

--
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to