Friday, March 6, 2015

Re: attaching an app to site via apphook fails. server crashes only (beginner question)

Many thanks for the answer.

"python manage.py runserver --traceback"
dumps:

http://pastebin.com/yeC7zkpf

and python manage.py cms check gives no errors....


Am Freitag, 6. März 2015 10:13:37 UTC+1 schrieb Erik Cederstrand:


Start på videresendt besked:

Dato: 6. mar. 2015 kl. 09.49.01 CET
Fra: inoyon artlover KLANGRAUSCH <inoyona...@googlemail.com>
Emne: attaching an app to site via apphook fails. server crashes only (beginner question)

I created a site and via the django-cms interface. Than edited the site
via advanced settings: adding the hooked app and defining a 'namespace'
as reqired.

result is:

ImportError at /de/

No module named 'p'
Request Method: GET
Request URL: http://127.0.0.1:8000/de/
Django Version: 1.7.5
Exception Type: ImportError
Exception Value:
No module named 'p'

Try starting runserver as "python manage.py runserver --traceback"

That should get you a traceback when you open the URL in your browser, so you can see where in your code the ImportError is happening

Erik

--
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+unsubscribe@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/00fee023-20d9-4a14-af61-2c0f58c3b41e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment