mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-22 19:33:05 +00:00
44 lines
933 B
Python
44 lines
933 B
Python
"""
|
|
Development settings for linkding webapp
|
|
"""
|
|
|
|
# Start from development settings
|
|
# noinspection PyUnresolvedReferences
|
|
from .base import *
|
|
|
|
# Turn on debug mode
|
|
DEBUG = True
|
|
# Turn on SASS compilation
|
|
SASS_PROCESSOR_ENABLED = True
|
|
|
|
# Enable debug logging
|
|
LOGGING = {
|
|
'version': 1,
|
|
'disable_existing_loggers': False,
|
|
'formatters': {
|
|
'simple': {
|
|
'format': '{levelname} {message}',
|
|
'style': '{',
|
|
},
|
|
},
|
|
'handlers': {
|
|
'console': {
|
|
'class': 'logging.StreamHandler',
|
|
'formatter': 'simple'
|
|
}
|
|
},
|
|
'root': {
|
|
'handlers': ['console'],
|
|
'level': 'WARNING',
|
|
},
|
|
'loggers': {
|
|
'django.db.backends': {
|
|
'level': 'ERROR', # Set to DEBUG to log all SQL calls
|
|
'handlers': ['console'],
|
|
}
|
|
}
|
|
}
|
|
|
|
# Import custom settings
|
|
# noinspection PyUnresolvedReferences
|
|
from .custom import *
|