Hi Chris! Did you make sure to first import google.appengine.webapp.template before importing the djangoforms module? Please have a look at this article:
http://code.google.com/appengine/articles/djangoforms.html I don't think django.newforms exists in appengine, AFAIK it has been deprecated. Best Regards, Jesaja Everling On 17 Nov., 05:35, 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? On 17 Nov., 11:12, Pranny <[EMAIL PROTECTED]> wrote: > 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 > tohttp://code.google.com/p/google-app-engine-samples/source/browse/trun... > 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 > seehttp://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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
