Python: How to Create 3 user with different levels in Django Like Author, Editor, Subscriber. #132
Unanswered
HeeteshSimon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Python:
Create 3 user with different levels in Django i.e. Author, Editor, Subscriber.
Create 1 page each for all 3 different levels.
Create a custom login form with your own custom code. When user input his/her login details and click submit.
Then load a Popup with ajax that you are successfully logged in, your role is “Author” or whatever you set in admin for that user. Set a button in the Popup “Continue” OR “Click Ok to Proceed” When user will click this button on popup, then show him/her the page he is authorized to see.
Make sure different level user will not be able to see each other user page.
Beta Was this translation helpful? Give feedback.
All reactions