Opened 13 years ago
Closed 11 years ago
#16417 closed Bug (wontfix)
GeoAdmin support in StackedInline
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | GIS | Version: | 1.3 |
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
StackedInline doesn't render a Map, although it should.
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 13 years ago
I began work on this at the sprints. Getting the map into the StackedInline was fairly easy, but supporting the JS "Add more" link introduced some issues. I refactored the OpenLayers JS into a jQuery plugin so that the functionality was encapsulated and could be reused more easily. It's not complete yet, but the current changes can be viewed here:
https://github.com/copelco/django/compare/master...ticket-16417
comment:4 by , 11 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
From Django 1.6 on, it is not required any longer to use a special ModelAdmin
for geo-enabled objects, as geometry fields have now default widgets. I've tested them with TabularInline
and StackedInline
and they seem to work fine.
Reopen if you can reproduce issues with "normal" ModelAdmin
s.
Could you provide the minimal steps to reproduce this bug? A stripped down version of your
models.py
andadmin.py
should do the job. Thank you.