Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#11224 closed (invalid)

how to make forignkey readonly

Reported by: ankit Owned by: nobody
Component: Core (Management commands) Version: 1.1-beta
Severity: Keywords:
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 am having a model which has foriegnkey.I can make fields readonly using readonlyadmin.But if i set foreignkeyfield in readonly it gives error 'Can't adapt'.And if remove forignkey from the readonly list it doesnot gives.

Change History (2)

comment:1 by Russell Keith-Magee, 15 years ago

Resolution: invalid
Status: newclosed

PLEASE PLEASE PLEASE read the notes on how to contribute to Django.

comment:2 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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