Changes between Initial Version and Version 1 of Ticket #30577, comment 1


Ignore:
Timestamp:
Jun 19, 2019, 3:10:13 AM (5 years ago)
Author:
Carlton Gibson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30577, comment 1

    initial v1  
    1919}}}
    2020
    21 If you were to override, `ModelAdmin.get_form()` to set a custom widget (with `read_only=True) on the required field, when the user did not have the `change` permission, you should 🤔 be able to leverage this to get the behaviour you need. (If you could put together that test project it would be easy enough to have a play with this...)
     21If you were to override, `ModelAdmin.get_form()` to set a custom widget (with `read_only=True`) on the required field, when the user did not have the `change` permission, you should 🤔 be able to leverage this to get the behaviour you need. (If you could put together that test project it would be easy enough to have a play with this...)
    2222
    2323Given these questions, and that #14802 was closed as `wontfix`, I'm going to close this as `needsinfo` right now. A sample project plus a proposal is probably needed to progress. With just a sample project, asking on the DevelopersMailingList might provide some help. Exploring the work-around would be the shortest route forward.
Back to Top