I check the apache httpd log and do get this [Tue Apr 28 10:33:49.982311 2015] [:error] [pid 18060] [client 10.35.0.91:61408] from django.apps import apps [Tue Apr 28 10:33:49.982336 2015] [:error] [pid 18060] [client 10.35.0.91:61408] ImportError: No module named apps
[Tue Apr 28 10:33:52.595973 2015] [:error] [pid 18061] [client 10.35.0.91:61410] mod_wsgi (pid=18061): Target WSGI script '/code/projects/my_web/wsgi/my.wsgi' cannot be loaded as Python module. [Tue Apr 28 10:33:52.596033 2015] [:error] [pid 18061] [client 10.35.0.91:61410] mod_wsgi (pid=18061): Exception occurred processing WSGI script '/code/projects/my_web/wsgi/my.wsgi'. I think is the No module named apps is causing this =( On Tuesday, April 28, 2015 at 1:28:04 AM UTC-5, Abhaya wrote: > This looks fine. Are there any errors in the web server logs? > > Regards, > Abhaya > > On Mon, Apr 27, 2015 at 10:23 PM, dk <[email protected] <javascript:>> > wrote: > >> we decided to test django 1.8, using python manage.py runserver works >> great. but now the production wsgi stop working, >> I remember there was a change between version 1.6 and 1.7. >> this is my code. Did it something change? >> >> import os >> import sys >> sys.path.append("/code/projects/my_web") >> sys.path.append("/code/projects/my_web/core") # path to the project >> os.environ["DJANGO_SETTINGS_MODULE"]= "core.settings" >> >> >> *from django.core.wsgi import get_wsgi_applicationapplication = >> get_wsgi_application()* >> >> #this is the way for django 1.6 >> #import django.core.handlers.wsgi >> #application = django.core.handlers.wsgi.WSGIHandler() >> >> thanks guys. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/2d130a53-d9e4-404e-bf79-ba4f1df492dc%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/2d130a53-d9e4-404e-bf79-ba4f1df492dc%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > ------------------------------------------------- > blog: http://abhaga.blogspot.com > Twitter: http://twitter.com/abhaga > ------------------------------------------------- > -- You received this message because you are subscribed to the Google Groups "Django users" 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/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/34e206be-20a4-47e5-aa75-f4fdcfb09a17%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

