Opened 13 years ago

Closed 11 years ago

#16417 closed Bug (wontfix)

GeoAdmin support in StackedInline

Reported by: martin@… 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 Aymeric Augustin, 13 years ago

Could you provide the minimal steps to reproduce this bug? A stripped down version of your models.py and admin.py should do the job. Thank you.

comment:2 by Aymeric Augustin, 13 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Colin Copeland, 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 Claude Paroz, 11 years ago

Resolution: wontfix
Status: newclosed

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" ModelAdmins.

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