#35681: GeoIP2Exception does not work as advertised
------------------------------+------------------------------------
Reporter: Jon Ribbens | Owner: (none)
Type: Bug | Status: new
Component: GIS | Version: 5.1
Severity: Normal | Resolution:
Keywords: geoip geoip2 | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------+------------------------------------
Comment (by Jon Ribbens):
So you're saying that the recommended / best practice is to break the
encapsulation?
It's a little unclear what the point is of this module at all to be
honest. It's a very, very thin wrapper over the `geoip2` package. And if
you have to go around the wrapper to the underlying package in order to
use the wrapper, then it can't even function as a way to isolate your code
from changes to `geoip2` and/or alternatives to it.
--
Ticket URL: <https://code.djangoproject.com/ticket/35681#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701915609a2b9-e185963e-005e-48d9-b130-13ee380d8084-000000%40eu-central-1.amazonses.com.