Pavel "LEdoian" Turinsky
5 years ago
2 changed files with 13 additions and 6 deletions
@ -0,0 +1,13 @@ |
|||
# Debugovaci nastaveni settings.py |
|||
# Pro vyber tohoto nastaveni muzete pouzit tez: |
|||
# DJANGO_SETTINGS_MODULE=mamweb.settings_debug ./manage.py ... |
|||
|
|||
# Import local settings |
|||
from .settings_local import * |
|||
|
|||
# Vypisovani databazovych dotazu do konzole |
|||
LOGGING['loggers']['django.db.backends'] = { |
|||
'level': 'DEBUG', |
|||
'handlers': ['console'], |
|||
'propagate': False, |
|||
} |
Loading…
Reference in new issue