Wednesday, April 25, 2012

generic view 'create_object' inssue

I fellows
I am getting a strange behavior from a simple generic view

The problem is that I can not pass the data in the form to introducing a new object in the database.
Then the urls.py file ----> http://dpaste.com/hold/732643/
The html form is this ----> http://dpaste.com/hold/732646/

when I submit the form the page redirects to somewhere but the data doesn't get into the database.

What am I doing wrong?
I thank you for your help!
hugs

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/KoMaftJqfTAJ.
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