Opened 7 years ago

Closed 7 years ago

#28740 closed New feature (fixed)

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

Reported by: Ryan Verner Owned by: nobody
Component: GIS Version: dev
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 by Ryan Verner, 7 years ago

Description: modified (diff)

comment:2 by Tim Graham, 7 years ago

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 by Tim Graham <timograham@…>, 7 years ago

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