summaryrefslogtreecommitdiff
path: root/django/forms
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-01-14 22:48:58 +0100
committernessita <124304+nessita@users.noreply.github.com>2025-01-15 13:46:06 -0300
commit0cabed9efa2c7abd1693860069f20ec5db41fcd8 (patch)
tree5f207223708c999071f289802171ffd035bba475 /django/forms
parentb3c5830769d8a5dbf2f974da7116fe503c9454d9 (diff)
Simplified GeoIP2._query() when passing IPv4Address()/IPv6Address() instances.
There is no need to call validate_ipv46_address() for ipaddress.IPv4Address()/ipaddress.IPv6Address() instances since this relies on trying to create these kind objects from strings, so they will always be valid.
Diffstat (limited to 'django/forms')
0 files changed, 0 insertions, 0 deletions