Opened 10 years ago
Closed 10 years ago
#24283 closed Bug (duplicate)
ModelAdmin.media does not use get_prepopulated_fields
Reported by: | Stratos Moros | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
While get_prepopulated_fields is used inside ModelAdmin, the media property accesses self.prepopulated_fields directly. The result is that urlify.js and prepopulate.js are not served to the client and the feature is essentially broken (since it works client side). The same applies to InlineModelAdmin
Change History (2)
comment:1 by , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 10 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #24467