error after form validation
I got the following error
My model http://pastebin.com/2BuE0N0d
my view http://pastebin.com/48xEPvQz
when it reaches this part of the code
gr_caixafaccao = form_caixafaccao.save (commit = False)
gr_caixafaccao the object returns me Unable to get repr is <class'movimento.models.Caixafaccao'>
hence not caught the id.
can someone help me?
-- My model http://pastebin.com/2BuE0N0d
my view http://pastebin.com/48xEPvQz
when it reaches this part of the code
gr_caixafaccao = form_caixafaccao.save (commit = False)
gr_caixafaccao the object returns me Unable to get repr is <class'movimento.models.Caixafaccao'>
hence not caught the id.
can someone help me?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bdb87af4-c57b-4458-9a6c-7e4521f91d29%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home