Before you import any django libraries, except for those from
google.appengine.* you ust specify the Django settings.
If you are using a fully Django environment, you should refer to
http://code.google.com/p/google-app-engine-samples/source/browse/trunk/django_example/settings.py
for an idea of what settings should be like.

However, i fear that you are not using a fully Django base, so in that
case, you can see 
http://thomas.broxrost.com/2008/04/08/django-on-google-app-engine/
for importing Django in GAE.

I hope this will solve your problem.

Regards,
Pranav

On Nov 17, 9:35 am, Chris <[EMAIL PROTECTED]> wrote:
> I'm running a basic webapp install, but where ever my code imports
> google.appengine.ext.db.djangoforms or django.newforms I'm getting the
> error "Environment variable DJANGO_SETTINGS_MODULE is undefined".
> Since webapp doesn't using Django's settings, what could be causing
> this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to