Hello all,
I've verified that I don't override the class.

I've found the reason of the bug. When I delete "@login_required", it works.

My class was in view.py:

@login_required
class EvenementCreateView(.....):
.....


I apologize for not have copy/paste that in my first post.

I've done the test with another class, it's the same. Then I 
think @login_required works only for function and not for Class.

I don't know what happend internally ... But for now it's ok for me. I'm 
building the POC. But for production purpose, it will be an issue.



Thanks all for your time.

Regards

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/-/Fz84rqy-ANwJ.
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