You might be overriding EvenementCreateView somewhere else. To check it I would suggest you to look up all occurencies of EvenementCreateView in your files
Eugene On Nov 23, 3:47 pm, youpsla <[email protected]> wrote: > Hi, > thnaks for your answer. It's the same. it doesn't work. > > For information I use generic view for other part of the site with: > url(r"magasin/(?P<pk>\d+)/supprimer/$", DeleteView.as_view(model=Magasin, > success_url="/magasins/liste"), name='magasin_supprimer'), > > and it works fine. > > And has you say, django seems to believe that EvenementCreateView from > views.py is a function, but the declaration is: > class EvenementCreateView(CreateView): > ......... > > That's what I dont understand. > > I use the same schema for other part and it works fine. I've read my code > caracter after caracter to compare .... it looks very very similar .... > > Still a mystery for me. > > Again, thanks for your answer > > Alain -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

