On Thursday, November 17, 2016 at 5:07:07 PM UTC+1, Tom Evans wrote: > > Or: > from socket import gethostname, gethostbyname > ALLOWED_HOSTS = [ gethostname(), gethostbyname(gethostname()), ] >
That a) adds your hostname and b) (assuming you properly configured your system) 127.0.0.1 -- so as long as they are using 192.* to access the site, this does not help. Cheers, Florian -- 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/adc6c41b-b8fc-4e2e-a6cc-f8074408481a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
