You're right! I mistake with python object logic :/ Sorry ! Thank's ! Le jeudi 7 novembre 2013 14:45:45 UTC+1, Simone Federici a écrit : > > > On Thu, Nov 7, 2013 at 11:54 AM, Bastien Sevajol > <sevajol...@gmail.com<javascript:> > > wrote: > >> formsets = {} > > > this class variable is in ModelFormsetManager class namespace > so it is shared across the subclasses. > > You are using formsets to save before the object class, and after the > instances, > so when in the formset there is the instance of the last "view", and you > try to call it > create the instance of an class works, call the instance return object is > not callable exception > > your last solution solve only apparently the superclass-namespace issue. > > > regards >
-- 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+unsubscr...@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/f3e7a325-ac20-4eaa-98fe-dcb6059e0931%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.