Saturday, August 18, 2012

Re: ManyToMany through parameter bug workaround.



Here I can store the value for the relationship when saving the Model in the DB.

If anyone has a better solution, suggestion, comment or thinks this is going 
to make me rot in hell please let me know.

Well, I kept on reading and I found a clean solution :

It's explained here, the same happened to this guy and a workaround is provided.
The code in  MHCs response example has a few errors, but the idea is pretty clear.


Hope it saves some headaches.

 
-- 
Nicolas Emiliani

Lo unico instantaneo en la vida es el cafe, y es bien feo.



--
Nicolas Emiliani

Lo unico instantaneo en la vida es el cafe, y es bien feo.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate