Dear readers,
say I have a simple model
class Country(db.Model):
country_name = db.StringProperty(required=True)
country_code = db.StringProperty(required=True)
country_continent = db.StringProperty(required=True)
def __unicode__(self):
return str(self.country_name)
that I populate with a simple country list.csv using the bulkloader.
Everything works out fine and I can reference to it also from another
Model like this:
class foo(db.Model):
land = db.ReferenceProperty(Country, required=True)
The django form also provides me a sufficient Language selector ...
How can I build a simple optgroup / choicefiled with django/GAE here?
http://de.selfhtml.org/html/formulare/anzeige/select_optgroup.htm
I'm using the most recent appengine SDK (vanilla) here.
Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---