Z
Z
zigen2015-11-18 11:28:58
Django
zigen, 2015-11-18 11:28:58

How to give permissions in Django admin?

Good afternoon.
Until now, there was no need to separate permissions in the Django admin, but the time has come.
I want to make a user to add and edit only one (or several) models.
I understand that it is necessary to give the user is_staff=True, but how then to specify which model he can edit?
Poke into some manual.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Kitaev, 2015-11-18
@zigen

rights . They are standard and are generated when adding a model.

A
Alexander Pinkevich, 2015-11-18
@pinkevich

https://docs.djangoproject.com/en/1.8/ref/contrib/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question