Opened 6 years ago

Closed 6 years ago

Last modified 4 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: UI/UX:


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 Changed 6 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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

comment:2 Changed 4 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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