Sunday, May 1, 2011

Re: form input

in models.py you define your database fields:

The use a ModelForm: http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#modelform

Or try the generic create/update/delete views:
http://docs.djangoproject.com/en/dev/ref/generic-views/?from=olddocs#create-update-delete-generic-views

On Apr 30, 4:24 pm, Pulkit Mehrotra <mehrotra.pul...@gmail.com> wrote:
> can anyone tell me the precise way of taking an input from a form and
> storing it in a database
> or provide a good link where i can find one
>
> i am a newbie so please help me
>
> thank you

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