#28740 closed New feature (fixed)

Add continent name and code to GeoIP2.city() dict

Reported by: Ryan Verner Owned by: nobody
Component: GIS Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ryan Verner)

Maxmind data supplies continent information as part of both the free and paid database sets, and has for a very long time.
This isn't accessible from the GeoIP2 city dict, despite it being available.

PR on Github: https://github.com/django/django/pull/9282

Change History (3)

comment:1 Changed 23 months ago by Ryan Verner

Description: modified (diff)

comment:2 Changed 23 months ago by Tim Graham

Summary: contrib.gis.geoip2 GeoIP2.city dict doesn't return continentAdd continent name and code to GeoIP2.city() dict
Triage Stage: UnreviewedReady for checkin

comment:3 Changed 23 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 9473a848:

Fixed #28740 -- Added 'continent_code' and 'continent_name' in GeoIP2.city() dict.

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