Hello, I have a question in Django. I'm trying to do it this way. My user model has a "level" field, this field has some levels, among them "root", "seller" etc .. However, I would like to know how I can restrict some views only to root, others...
asked by
02.06.2017 / 14:58