Opened 2 years ago
Closed 2 years ago
#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 , 2 years ago
| Has patch: | set |
|---|
comment:2 by , 2 years ago
| Summary: | Support use of ipaddress standard library module with django.contrib.gis.geoip2 → Allow use of ipaddress standard library module with django.contrib.gis.geoip2 |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
PR