Opened 9 years ago

Closed 9 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 Tim Graham, 9 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 9 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #24467

Note: See TracTickets for help on using tickets.
Back to Top