Opened 15 years ago

Last modified 11 days ago

#14643 assigned Bug

Readonly fields in GeoDjango admins

Reported by: kris@… Owned by: Anthony Ricaud
Component: GIS Version: 1.2
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

GeoDjango admins display GeometryFields using cool map-based widgets. However, when a GeometryField is set to be readonly in the Admin class, it is displayed as text again.
It would be cool if it was displayed as a map as well, don't you think? I do not have a patch for this yet, as I just discovered it, but if there are no works in progress on this issue, I can volunteer to create one.

Cheers!

Change History (7)

comment:1 by rasca, 15 years ago

Related #14497

comment:2 by Daniel F Moisset, 15 years ago

Component: UncategorizedGIS

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

Triage Stage: UnreviewedAccepted

Seems reasonable to me.

comment:4 by Julien Phalip, 15 years ago

Severity: Normal
Type: New feature

comment:5 by Aymeric Augustin, 15 years ago

Easy pickings: unset
Resolution: duplicate
Status: newclosed
UI/UX: unset

#12504 already reported this.

comment:6 by Jacob Walls, 11 days ago

Resolution: duplicate
Status: closednew
Type: New featureBug

#12504 discusses read-only not being observed at all, whereas here, read-only is observed, only with the wrong display (text vs map). Also, #12504 claims only GISModelAdmin and analogues are affected, whereas I reproduced the report here with just ModelAdmin.

#37043 was a dupe.

comment:7 by Jacob Walls, 11 days ago

Owner: changed from nobody to Anthony Ricaud
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top