1
English support (For non-Spaniard users) / Re:Problem with setting up django app
« en: Marzo 14, 2012, 22:57:11 pm »
I applied the hint from one of the links from your previous post and now I get all the tracebacks into my mailbox. I keep on getting the same error (the following lines are the most interesting):
"mailing" is the name of app which I use in my project. I tried editing paths in settings.py but it didn't solve the problem. Also, error_log states:
line 6 in urls.py is admin.autodiscover(). Still no idea. :/
Código: [Seleccionar]
File "/home/monfloo/public_html/monfloo-landing/monfloo_lp/urls.py", line 6, in <module>
admin.autodiscover()
File "/usr/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/admin/__init__.py", line 22, in autodiscover
mod = import_module(app)
File "/usr/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/utils/importlib.py", line 35, in import_module
__import__(name)
ImportError: No module named mailing
"mailing" is the name of app which I use in my project. I tried editing paths in settings.py but it didn't solve the problem. Also, error_log states:
Código: [Seleccionar]
[Wed Mar 14 22:42:23 2012] [error] [client x.x.x.x] File "/home/monfloo/public_html/monfloo-landing/monfloo_lp/urls.py", line 6, in <module>
[Wed Mar 14 22:42:23 2012] [error] [client x.x.x.x] mod_wsgi (pid=21285): Exception occurred processing WSGI script '/home/monfloo/public_html/monfloo-landing/django.wsgi'
line 6 in urls.py is admin.autodiscover(). Still no idea. :/