Implement tag model

This commit is contained in:
Sascha Ißbrücker
2019-06-30 07:15:46 +02:00
parent 74bcc30821
commit 4a16e4d64c
6 changed files with 101 additions and 6 deletions

View File

@@ -130,3 +130,25 @@ STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'bookmarks', 'styles'),
]
# Logging with SQL statements
LOGGING = {
'version': 1,
'filters': {
'require_debug_true': {
'()': 'django.utils.log.RequireDebugTrue',
}
},
'handlers': {
'console': {
'level': 'DEBUG',
'filters': ['require_debug_true'],
'class': 'logging.StreamHandler',
}
},
'loggers': {
'django.db.backends': {
'level': 'DEBUG',
'handlers': ['console'],
}
}
}