mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-30 01:39:45 +03:00
Update local.py
This commit is contained in:
parent
517f97207f
commit
0a55b3d7c0
|
@ -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
|
||||||
ip = socket.gethostbyname(socket.gethostname())
|
ip = socket.gethostbyname(socket.gethostname())
|
||||||
INTERNAL_IPS += [ip, ip[:-1]+"1"]
|
INTERNAL_IPS += [ip[:-1]+"1"]
|
||||||
|
|
||||||
DEBUG_TOOLBAR_CONFIG = {
|
DEBUG_TOOLBAR_CONFIG = {
|
||||||
'DISABLE_PANELS': [
|
'DISABLE_PANELS': [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user