vendredi 30 mars 2018

How to handle users and roles by app in Django

Hello everyone let me ask something about the admin interface and how can I handle my users by app.

Well so sorry I'm nooby first of all. So, I need to create a new app for basically take some quiz so I will need users and these users within my app should have a different role as a student or teacher and so on.

The thing is that I don't know if the admin Django interface is just for the DB models or whether I can use it as a security layer in my app.

Or otherwise, I should create a buck of tables in my app model for users and roles and then handle everything from the model because the admin is just the DB access. what could you tell me? thanks so much.




Aucun commentaire:

Enregistrer un commentaire