Search posts, tags, users, and pages
Aditi Tiwari
login_required is not working please help me with it.
Mayank Aggarwal
I guess you may not have imported decorators library. Import it and even if it does not work you can use the is_authenticated function which Django authentication provides. Use:- if user.is_authenticated==True: