#35091 closed New feature (fixed)

Allow use of ipaddress standard library module with django.contrib.gis.geoip2

Reported by: Nick Pope Owned by: Nick Pope
Component: GIS Version: dev
Severity: Normal Keywords: geoip2, ipaddress
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (3)

comment:1 by Nick Pope, 12 months ago

Has patch: set

comment:2 by Mariusz Felisiak, 12 months ago

Summary: Support use of ipaddress standard library module with django.contrib.gis.geoip2Allow use of ipaddress standard library module with django.contrib.gis.geoip2
Triage Stage: UnreviewedAccepted

comment:3 by GitHub <noreply@…>, 12 months ago

Resolution: fixed
Status: assignedclosed

In cc56c22a:

Fixed #35091 -- Allowed GeoIP2 querying using IPv4Address/IPv6Address.

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