[Django] #35091: Support use of ipaddress standard library module with django.contrib.gis.geoip2

10 views
Skip to first unread message

Django

unread,
Jan 6, 2024, 11:48:29 AM1/6/24
to django-...@googlegroups.com
#35091: Support use of ipaddress standard library module with
django.contrib.gis.geoip2
---------------------------------------+-----------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: New feature | Status: assigned
Component: GIS | Version: dev
Severity: Normal | Keywords: geoip2, ipaddress
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+-----------------------------------
It currently isn't possible to pass an `ipaddress.IPv4Address` or
`ipaddress.IPv6Address` when querying using `django.contrib.gis.geoip2`.

I propose to make it possible to pass in these types without the need to
coerce them to strings.

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

Django

unread,
Jan 6, 2024, 11:49:53 AM1/6/24
to django-...@googlegroups.com
#35091: Support use of ipaddress standard library module with
django.contrib.gis.geoip2
-----------------------------------+--------------------------------------

Reporter: Nick Pope | Owner: Nick Pope
Type: New feature | Status: assigned
Component: GIS | Version: dev
Severity: Normal | Resolution:

Keywords: geoip2, ipaddress | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by Nick Pope):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/17705 PR]

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

Reply all
Reply to author
Forward
0 new messages