openedx / edx-django-utils

edX utilities for Django Application development.
https://edx.readthedocs.io/projects/edx-django-utils/en/latest/
Apache License 2.0
26 stars 20 forks source link

feat: Add read-only mixin for a custom Django admin class #137

Closed doctoryes closed 3 years ago

doctoryes commented 3 years ago

Description:

The mixin disables CRUD operations on the admin's model. This type of mixin is currently used in an edx-platform Django proxy model, used for invoking actions on certain course keys - but without modifying the proxied model.

Bump version to 4.1.0 for release.

JIRA:

https://openedx.atlassian.net/browse/TNL-8080

Reviewers:

Merge checklist:

Post merge:

Author concerns:

List any concerns about this PR - inelegant solutions, hacks, quick-and-dirty implementations, concerns about migrations, etc.