--
Ticket URL: <https://code.djangoproject.com/ticket/25184>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by fcurella):
@timgraham
Are we looking to support both format for a limited time, or can we have a
clear cut?
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:1>
Comment (by timgraham):
Support both. Support for the old format should be dropped using the usual
deprecation cycle.
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:2>
* owner: nobody => fcurella
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:3>
Comment (by fcurella):
I have a few question re: how we want to approach this:
1. Do we want to support both GeoIP and GeoIP2 for some version of Django?
2. Could we use the GeoIP2 Python bindings
(http://geoip2.readthedocs.org/en/latest/), or should we interface
directly with the C library, like `contrib.gis.geoip` currently does?
3. Correct me if I'm wrong, but looks like the new database records don't
have all the information the old ones had. Specifically, I can't see any
`country_code3`, or `area_code`. Probably not a big deal, but it will need
to be documented.
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:4>
Comment (by timgraham):
1. Yes, we need to keep backwards compatibility to give users a chance to
upgrade. Possibly adding a new `django.contrib.gis.geoip2` module and then
deprecating the old one (separate ticket) would make sense?
2. I don't see a reason to reinvent the wheel. As long as the dependency
is optional if you don't care to use GeoIP features, I think that approach
should be fine unless someone says otherwise.
3. I haven't used these features before.
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:5>
Comment (by fcurella):
Their Python bindings are licensed under Apache License, Version 2.0. I
don't think that would be a problem (and even if, we are not
redistributing). I just want to confirm we don't have any licensing issue
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:6>
* has_patch: 0 => 1
* stage: Accepted => Ready for checkin
Comment:
[https://github.com/django/django/pull/5062 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:7>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"7f0953ce1f1e263a2a74db52d70cdf278840a1d2" 7f0953ce]:
{{{
#!CommitTicketReference repository=""
revision="7f0953ce1f1e263a2a74db52d70cdf278840a1d2"
Fixed #25184 -- Added support for MaxMind GeoLite2 database format
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:8>
Comment (by Tim Graham <timograham@…>):
In [changeset:"1e2362ca0f2805e91204a7b005e5aed293b40c9e" 1e2362ca]:
{{{
#!CommitTicketReference repository=""
revision="1e2362ca0f2805e91204a7b005e5aed293b40c9e"
Refs #25184 -- Started deprecation for contrib.gis.geoip.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:9>
Comment (by Tim Graham <timograham@…>):
In [changeset:"56a5760543f0428346a45f5efcffacf8caedd744" 56a5760]:
{{{
#!CommitTicketReference repository=""
revision="56a5760543f0428346a45f5efcffacf8caedd744"
Refs #25184 -- Removed contrib.gis.geoip per deprecation timeline.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25184#comment:10>