> Hi Chris,
>
> Once you've defined a model for your data, you can use a ModelForm [1] to
> automatically generate a form for that model.
>
> You might also want to check out the admin site [2], which displays data
> in a tabular format similar to what you describe.
>
Yes, I'd seen that, can I get the admin forms to work 'outside' as it
were?
> 1. https://docs.djangoproject.com/en/dev/topics/forms/modelforms/
> 2. https://docs.djangoproject.com/en/dev/ref/contrib/admin/
>
Thanks, it looks as if ModelForm will do most of what I want.
--
Chris Green
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment