I'm trying to create a form that is not based on a model.

I'm getting sample code from this page:
http://docs.djangoproject.com/en/dev/topics/forms/

# This code causes nasty error:
# Tried index in module views. Error was: 'module' object has no
attribute 'Form'
class Provision(forms.Form):
   somefield = forms.EmailField(required=False)

Here are my imports:

import os
import datetime

from google.appengine.api import users

from google.appengine.ext import db
from google.appengine.ext.db import djangoforms

import django
from django import http
from django import shortcuts
from django import forms

I'm getting the idea that with GoogleAppEngine, I have to substitute
some other class for forms.Form?   If so, what is the correct class or
technique?

Thanks,
Neal Walters


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to