Here are model and form classes from example:
http://code.google.com/appengine/articles/djangoforms.html
class Item(db.Model):
name = db.StringProperty()
quantity = db.IntegerProperty(default=1)
target_price = db.FloatProperty()
priority = db.StringProperty(default='Medium',choices=[
'High', 'Medium', 'Low'])
entry_time = db.DateTimeProperty(auto_now_add=True)
added_by = db.UserProperty()
class ItemForm(djangoforms.ModelForm):
class Meta:
model = Item
exclude = ['added_by']
It will be rendered as table rows.
Can I change how they will be rendered (change width or make it to be list instead of table row or anything…)?