#33362: ALLOWED_HOSTS no longer accepts a non-list/tuple iterable.
--------------------------------+--------------------------------------
     Reporter:  Carlton Gibson  |                    Owner:  nobody
         Type:  Bug             |                   Status:  closed
    Component:  HTTP handling   |                  Version:  4.0
     Severity:  Normal          |               Resolution:  invalid
     Keywords:                  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 It's [https://docs.djangoproject.com/en/4.0/ref/settings/#allowed-hosts
 documented] that `ALLOWED_HOSTS` is ''"a **list** of strings
 representing..."'', it was also discussed in one of
 [https://github.com/django/django/pull/13927#discussion_r566242010 PRs]. I
 wouldn't consider it as a regression, sorry :) I'm of course open to
 discussion.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33362#comment:1>
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/071.eacdd987f799d0e32dbdaf41aaf67e55%40djangoproject.com.

Reply via email to