Re: django 1.8 and wsgi_mod

2015-05-07 Thread Luis Zárate
Your server log said this (loading my.wsgi) Exception occurred processing WSGI script '/code/projects/my_web/wsgi/my.wsgi'. But your structure said that wsgi file is called different (idrac.wsgi). Other thing, call core your app is not a good idea, do it if you understand well how python import

Re: django 1.8 and wsgi_mod

2015-05-07 Thread Abhaya Agarwal
On Tue, Apr 28, 2015 at 9:40 PM, dk wrote: > 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 >

Re: django 1.8 and wsgi_mod

2015-04-28 Thread dk
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

Re: django 1.8 and wsgi_mod

2015-04-28 Thread dk
my folder structure is like this ├── my_web │ ├── core (i rename this so i know where all the original django files are) │ │ ├── __init__.py │ │ ├── settings.py │ │ ├── urls.py │ │ ├── urls.pyc │ │ ├── wsgi.py │ ├── db.sqlite3 │ ├── __init__.py │ ├── manage.py │

Re: django 1.8 and wsgi_mod

2015-04-28 Thread dk
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

Re: django 1.8 and wsgi_mod

2015-04-28 Thread Abhaya Agarwal
This looks fine. Are there any errors in the web server logs? Regards, Abhaya On Mon, Apr 27, 2015 at 10:23 PM, dk 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

django 1.8 and wsgi_mod

2015-04-27 Thread dk
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")