mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-30 01:39:45 +03:00
flake8 compliance
This commit is contained in:
parent
d5dbf38acb
commit
bd3a61c0ce
|
@ -51,7 +51,7 @@ INSTALLED_APPS += ('debug_toolbar', )
|
||||||
|
|
||||||
INTERNAL_IPS = ['127.0.0.1', '10.0.2.2', ]
|
INTERNAL_IPS = ['127.0.0.1', '10.0.2.2', ]
|
||||||
# tricks to have debug toolbar when developing with docker
|
# tricks to have debug toolbar when developing with docker
|
||||||
if os.environ.get('USE_DOCKER') == 'yes' :
|
if os.environ.get('USE_DOCKER') == 'yes':
|
||||||
ip = socket.gethostbyname(socket.gethostname())
|
ip = socket.gethostbyname(socket.gethostname())
|
||||||
INTERNAL_IPS += [ip[:-1]+"1"]
|
INTERNAL_IPS += [ip[:-1]+"1"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user