Opened 9 years ago

Closed 9 years ago

#25721 closed Uncategorized (fixed)

Allow dynamic raw_id_fields in admin system check (admin.E001)

Reported by: Paul Shannon Owned by: nobody
Component: Core (System checks) Version: 1.8
Severity: Normal Keywords: system check admin.e001 raw_id_fields
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I've defined the raw_id_fields of my ModelAdmin as a @property that returns a list or a tuple and the admin check E001 doesn't like this. I've silenced it locally but I'm not sure why this wouldn't be allowed.

Change History (2)

comment:1 by Tim Graham, 9 years ago

Could you check on Django 1.9? I think that may be fixed by #25374.

comment:2 by Paul Shannon, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in 1.9b1. Thanks!

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