#36098: TypeError: object of type 'IPv6Address' has no len() when running tests
with GeoDjango
-------------------------------------+-------------------------------------
Reporter: Natalia Bidart | Owner: Natalia
| Bidart
Type: Bug | Status: assigned
Component: GIS | Version: 5.1
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):
Thank you Mariusz, let's push forward your PR, mine needs tests still and
release note. I will re-assign this to you. I guess I should issue
releases ASAP? Is there a precedent for how to handle cases like this?
We also need to update the docstrings of the two validator helpers because
they clearly state that a string is expected (and this is what caused the
issue in the first place). I agree with you that we can't change that
behavior (i.e. the validators should work with ipv4 and ipv6 instances),
so we need to update the docstrings. I will add further comments in the
PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/36098#comment:2>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019466ed7378-45c51adb-3959-4a7c-975d-fb04b629766d-000000%40eu-central-1.amazonses.com.