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 <
chriss...@gmail.com> 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 <
pra...@gmail.com> 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/