#31490: Increase length of contrib.sites domain field
-----------------------------------------+------------------------
Reporter: thenewguy | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.sites | Version: 3.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
The domain value is currently limited to 100 characters. This seems like
an arbitrary limit. Apps served via cloud providers like AWS can approach
this limit pretty easily when accessed via their public path -> for
example I just checked a few apps available through AWS load balancers and
their FQDN was around 90 characters.
It isn't unfeasible for deeply nested domains to hit this limit either.
Since many apps rely on the site record, these sites are dangerously close
to not working with Django.
It would be helpful here to increase the size to the max portable length
of a charfield at 255 characters.
--
Ticket URL: <https://code.djangoproject.com/ticket/31490>
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/052.c84834ece750482161006c585529c8d2%40djangoproject.com.