Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin denied any changes #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

llybin
Copy link
Contributor

@llybin llybin commented Oct 2, 2019

Запрещаем создание, изменение, удаление, любые модификации из админки.
Только просмотр.
readonly_fields теперь не нужны.
fieldsets предлагаю убрать, если человек зашел в запись посмотреть вероятнее всего он захочет увидеть все без лишних действий на развертку доп. данных. Меньше кода и ('uid', 'payment_id', 'bank_id') в одну строку выглядит не очень например на мобильных устройствах.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant