[Django] #32104: Adding asn support to GeoIP2

11 views
Skip to first unread message

Django

unread,
Oct 11, 2020, 8:10:32 AM10/11/20
to django-...@googlegroups.com
#32104: Adding asn support to GeoIP2
---------------------------------------+-----------------------------
Reporter: Josha Prior | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: master
Severity: Normal | Keywords: asn geoips2
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+-----------------------------
the three things that GeoIP2 supports are City, Country and ASN but im
still missing the ASN support.

--
Ticket URL: <https://code.djangoproject.com/ticket/32104>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 12, 2020, 3:28:56 AM10/12/20
to django-...@googlegroups.com
#32104: Adding ASN support to GeoIP2
-----------------------------+--------------------------------------

Reporter: Josha Prior | Owner: nobody
Type: New feature | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: wontfix

Keywords: asn geoips2 | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by felixxm):

* cc: Flavio Curella (added)
* status: new => closed
* resolution: => wontfix


Comment:

Django supports GEOIP2 databases for
[https://docs.djangoproject.com/en/3.1/ref/contrib/gis/geoip2/#module-
django.contrib.gis.geoip2 geolocation]. ASN database gives ASN associated
with the IP address so it's out of scope IMO. You should be able to
support it on your own by subclassing
`django.contrib.gis.geoip2.base.GeoIP2`.

--
Ticket URL: <https://code.djangoproject.com/ticket/32104#comment:1>

Reply all
Reply to author
Forward
0 new messages