#29606: Validate the type of ALLOWED_HOSTS
--------------------------------------+------------------------------------
Reporter: rafis | Owner: nobody
Type: New feature | Status: new
Component: Core (System checks) | Version: master
Severity: Normal | Resolution:
Keywords: allowed_hosts | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Nick Mavrakis):
Sorry for the interfere but I would like to add my opinion on this. If
this New Feature is added, then proportionate validations should apply on
other `settings.py` variables (such as `INTERNAL_IPS` to be a list of
valid IPs, `STATIC_ROOT` to be a string of valid pathname etc). See where
it's going? I am not opposed on this improvement but if it's going to
happen, IMO it should happen if not on the whole
[https://docs.djangoproject.com/en/dev/ref/settings/ settings list], at
least on most of them.
Best regards, Nick
--
Ticket URL: <https://code.djangoproject.com/ticket/29606#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.b620ce9ebb18e6df05b118d63b212af7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.