#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
--------------------------------+--------------------------------------

Comment (by Adam Johnson):

 There's nothing complicated about your class there, it can be determined
 at import time right? It only depends on whether DEBUG is True or not.

 You could always make your setting a subclass of `list` and override
 `__iter__` if really required.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33362#comment:3>
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.37eddcc633d226ef5a65e9b3f0d4491e%40djangoproject.com.

Reply via email to