looking for a basic model form example

32 views
Skip to first unread message

Becka R.

unread,
Oct 24, 2015, 4:55:31 PM10/24/15
to Django users
Hi there, 

I'm seeing a lot of pretty conflicting explanations for constructing a basic model form that gets and posts data.  Can anyone point me to a succinct example?  I'm looking at the official tutorial, and don't understand which parts are fundamental, and I'm seeing a lot of other possible ways to approach this particular problem.  I'm also stumbling over get_url, and wondering if it's something I need for a form?  If someone could point me to a simple working example, I'd really appreciate it.  

Thanks, 

Becka

Tim Graham

unread,
Oct 24, 2015, 5:50:09 PM10/24/15
to Django users
Have you tried:

https://docs.djangoproject.com/en/1.8/topics/forms/ - for form basics
https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/ - for model form specifics

If you can explain your confusion in any more detail, it might help us improve the documentation.

I'm not sure what you mean by get_url -- this isn't something I see in the docs.
Reply all
Reply to author
Forward
0 new messages