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 work, otherwise it is a pain in the ask



El jueves, 7 de mayo de 2015, Abhaya Agarwal <abhaya.agar...@gmail.com>
escribió:
> On Tue, Apr 28, 2015 at 9:40 PM, dk <demi...@gmail.com> 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
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 =(
>
> It certainly is. It is hard to say anything more without looking at the
actual code/setup. But since runserver works, perhaps your production
environment is pointing to an older version of Django?
> Regards,
> Abhaya
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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/CAFPF63SGNtRKwaWThd%2BS47dz9joGxqfg%3D%2BXuB4UOfKr0g0Erbw%40mail.gmail.com
.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAG%2B5VyPU-J3LjPYsVGXYHWTxDo_0zUWZLcspETmuADP80ojQYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to