Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ALLOWED_HOSTS

14 views
Skip to first unread message

Eric Shepherd

unread,
Aug 13, 2015, 11:48:24 AM8/13/15
to dev-mdn
What should this be set to? I'm setting up my VM and turned DEBUG to
False because I need editing workflow to be correct (meaning an editor
should show up instead of an error page when I go someplace that doesn't
exist).

--

Eric Shepherd
Senior Technical Writer
Mozilla <https://www.mozilla.org/>
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy
Check my Availability <https://freebusy.io/eshe...@mozilla.com>

John Whitlock

unread,
Aug 13, 2015, 5:00:14 PM8/13/15
to Eric Shepherd, dev-mdn
Here's the Django docs for ALLOWED_HOSTS:

https://docs.djangoproject.com/en/1.7/ref/settings/#std:setting-ALLOWED_HOSTS

It's a list of allowed hosts, so this will work for local development:

ALLOWED_HOSTS = ['*']

That's an asterisk in quotes inside square brackets.



On Thu, Aug 13, 2015 at 10:29 AM, Eric Shepherd <eshe...@mozilla.com>
wrote:
> _______________________________________________
> dev-mdn mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-mdn
>
0 new messages