Haha.Sorrry.
I was wondering since my form is made up of only manytomany fields it
should even be POST request in the first place :S
if the user were to see the form again, I want to be able to populate
what he selected previously and be able to update it again (which I
think should be an entirel
On Tue, Apr 20, 2010 at 5:28 PM, Daxal wrote:
> Hi guys,
>
> I am trying to save manytomany fields in the database.
>
It's customary to ask a question..
Saving models:
http://docs.djangoproject.com/en/1.1/ref/models/instances/#saving-objects
Creating m2m links:
http://docs.djangoproject.com/en/
Hi guys,
I am trying to save manytomany fields in the database.
-- view ---
def cvdetails(request, id):
if request.method == 'POST':
form = cvdbForm(request.POST)
if form.is_valid():
*save functions here*
request.flash.notice = "Save successful"
3 matches
Mail list logo