I started testing the information you gave me.
I'm stuck with an import error since I used the server-root option.
I assumed that doing something like
> export PYTHONPATH='my_project_container_dir/my_parent_module'
would be enough before doing the *apachectl start* command, but it is not
working correctly
Dir structure is as follows
my_project_container_dir/
my_parent_module/
__init__.py
...(urls, wsgi.py, etc)
settings/
__init__.py
production.py
...(django apps, manage.py, etc, no __init__.py file)
When I check the *error_log*, it shows an *import error* saying that
"my_project_container_dir" is not found.
At this point, I already set up the DJANGO_SETTINGS_MODULE correctly, after
doing the *python manage.py runmodwsgi*, and *apachectl start*.
... I've tested that if I modify the DJANGO_SETTINGS_MODULE in manage.py I
can patch this import error (but brake my internal references)
I think that the problem is not modifying the manage.py, but, is the
manage.py executed after doing the apachectl start command? or can you
please point me out what am I missing here?
Thanks a lot in advance for all of your help and time.
--
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 https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.