On Wed, 16 Nov 2016 20:32:34 -0800 (PST) Yo-Yo Ma <[email protected]> wrote:
> I'm not a fan of adding more complexity, for a couple reasons: > > 1) you have the ['*'] option for local / office development > 2) you can just add a record to /etc/hosts to point to the server and then > use a name like e.g., local-office - just > update the record to point to whatever IP you're using st the time > Since settings are Python code, you could also do the following: ALLOWED_HOSTS = ['.mydomain.com'] + ['192.168.1.%d' % i for i in range(256)] With this flexibility in mind, I don't think increasing the amount of wildcard options is required ;) -- Raphaël -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" 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]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/20161117093831.28cc1cd2%40ithor.polyconseil.fr. For more options, visit https://groups.google.com/d/optout.
