If setting this is a required step to making the tutorial work, you should probably make note of that somewhere in the tutorial.
On Wednesday, December 24, 2014 9:41:18 AM UTC-6, J. Paskaruk wrote: > > I don't understand what you mean by my first path. Do you mean the first > thing I do, or the variable should consist of my first path? Which path is > my fist path? > > On Wednesday, December 24, 2014 9:37:21 AM UTC-6, Kenneth Bolton wrote: >> >> ALLOWED_HOSTS is another one you should rely on the Django documentation >> for. In fact, that should always be your first path. >> >> On Wed, Dec 24, 2014 at 10:32 AM, J. Paskaruk <[email protected]> wrote: >> >>> Keys defined in settings.py. new error: >>> >>> Traceback (most recent call last): >>> File >>> "/home/jimmy/envs/TPH/local/lib/python2.7/site-packages/fabric/main.py", >>> line 658, in main >>> docstring, callables, default = load_fabfile(fabfile) >>> File >>> "/home/jimmy/envs/TPH/local/lib/python2.7/site-packages/fabric/main.py", >>> line 165, in load_fabfile >>> imported = importer(os.path.splitext(fabfile)[0]) >>> File "/home/jimmy/envs/TPH/tenprint/fabfile.py", line 26, in <module> >>> conf = __import__("settings", globals(), locals(), [], 0).FABRIC >>> File "/home/jimmy/envs/TPH/tenprint/settings.py", line 347, in <module> >>> from local_settings import * >>> File "/home/jimmy/envs/TPH/tenprint/local_settings.py", line 27, in >>> <module> >>> "HOSTS": ALLOWED_HOSTS[:1], # List of hosts to deploy to (eg, first >>> host) >>> NameError: name 'ALLOWED_HOSTS' is not defined >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Mezzanine Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
