Problem running django

3 visningar
Hoppa till det första olästa meddelandet

shabda raaj

oläst,
8 apr. 2008 04:37:102008-04-08
till Google App Engine
I am trying to use the instruction here, http://code.google.com/appengine/articles/django.html
, to run django.

But the code to tie django with appengine has a line

django.dispatch.dispatcher.connect(
log_exception, django.core.signals.got_request_exception)

And log_exception is not imported/defined. So I am getting a
NameError. If I comment this line, I am able to run django, but then
when I deply any app I can not see the exceptions. What should I be
importing for this line to work?

ma...@google.com

oläst,
8 apr. 2008 15:48:542008-04-08
till Google App Engine
Hi,
Thanks for bringing to our attention some omissions in our Django
article. We have updated the article to include the log_exception
function, as well setting the DJANGO_SETTINGS_MODULE. You may also
wish to read this thread:
http://groups.google.com/group/google-appengine/browse_thread/thread/0bc03c8d111f08f1#
As one of the group contributors posted some notes he had on setting
up Django

-Marzia

On Apr 8, 1:37 am, shabda raaj <shabda.r...@gmail.com> wrote:
> I am trying to use the instruction here,http://code.google.com/appengine/articles/django.html
Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden