Opened 5 years ago

Closed 3 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


StackedInline doesn't render a Map, although it should.

Change History (4)

comment:1 Changed 5 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 5 years ago by aaugustin

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 5 years ago by copelco

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:

comment:4 Changed 3 years ago by claudep

  • Resolution set to wontfix
  • Status changed from new to 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" ModelAdmins.

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