It wasn’t in older Django versions if you had upgraded. It also doesn’t need to be set if you have Django DEBUG mode enabled. Also only needed with real WSGI servers and not the Django development server.
Graham > On 1 Dec 2016, at 6:16 PM, Jaqen Nki <[email protected]> wrote: > > added dsite1.me to ALLOWED_HOSTS = [] > > not sure why Id need that though, didnt have it before... still error: > > > [Thu Dec 01 00:17:04.234666 2016] [wsgi:error] [pid 31133:tid > 140044190902016] [remote 192.168.1.6:49299] ALLOWED_HOSTS = [dsite1.me] > [Thu Dec 01 00:17:04.234679 2016] [wsgi:error] [pid 31133:tid > 140044190902016] [remote 192.168.1.6:49299] NameError: name 'dsite1' is not > defined > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/modwsgi > <https://groups.google.com/group/modwsgi>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi. For more options, visit https://groups.google.com/d/optout.
