I am trying to create a ModelForm for movie Model from which it must be possible to select a number of theatre for each movie.Since theatre is reverse foreignkey i think ModelForm doesn't automatically saves theatre values to the database.i tried to override the save method and ended up with the error.
|
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/04b5656e-b994-4d5e-8288-0eb69ec7953f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment