Dnia 11-03-2011 o 22:45:34 greenie2600 <greenie2...@gmail.com> napisaĆ(a):
'Restaurant' instance needs to have a primary key value before a many- to-many relationship can be used.
That is the answer You need to understand. afiak You can't perform m2m validation on model level due that very reason. That's why i did it on form level, and i think that's the only way to do this. I know such things should be performed on server-side and model level, but i this case, is validation on form level causing any problems?
In my project i use only admin interface, so for end-user that validation is completely transparent.
-- Linux user -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.