Opened 5 years ago

Closed 5 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

Description

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 Changed 5 years ago by Tim Graham

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

comment:2 Changed 5 years ago by Paul Shannon

Resolution: fixed
Status: newclosed

Fixed in 1.9b1. Thanks!

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