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 view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/0Tg6RPA34W8J.
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.

Reply via email to