mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-10 20:27:53 +02:00

* start converting * small fixes * reorganize theme files * cleanup search bar * increase spacing * small tweaks * fix select styles in Chrome * cleanup menus * improve button icons * restore badges * remove unused classes * restore some overrides * restore bookmark form * add summary outline * avoid layout shifts * restore bookmark details * increase border radius for modals * improve details modal * restore reader mode * restore settings * cleanup variables * start with dark theme * more dark theme... * more light theme... * more dark theme... * add postcss build * remove sass processor * update docker build * fix alt color * remove endless symbol * fix tests * update assets * remove sass files * fix docker build * cleanup spacing * improve theme * update test scripts * update CI workflow * fix test
59 lines
1.4 KiB
Python
59 lines
1.4 KiB
Python
"""
|
|
Development settings for linkding webapp
|
|
"""
|
|
|
|
# Start from development settings
|
|
# noinspection PyUnresolvedReferences
|
|
from .base import *
|
|
|
|
# Turn on debug mode
|
|
DEBUG = True
|
|
|
|
# Enable debug toolbar
|
|
INSTALLED_APPS.append("debug_toolbar")
|
|
MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware")
|
|
|
|
INTERNAL_IPS = [
|
|
"127.0.0.1",
|
|
]
|
|
|
|
# Allow access through ngrok
|
|
CSRF_TRUSTED_ORIGINS = ["https://*.ngrok-free.app"]
|
|
|
|
# Enable debug logging
|
|
LOGGING = {
|
|
"version": 1,
|
|
"disable_existing_loggers": False,
|
|
"formatters": {
|
|
"simple": {
|
|
"format": "{levelname} {asctime} {module}: {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"],
|
|
},
|
|
"bookmarks": { # Log importer debug output
|
|
"level": "DEBUG",
|
|
"handlers": ["console"],
|
|
"propagate": False,
|
|
},
|
|
"huey": { # Huey
|
|
"level": "INFO",
|
|
"handlers": ["console"],
|
|
"propagate": False,
|
|
},
|
|
},
|
|
}
|
|
|
|
# Import custom settings
|
|
# noinspection PyUnresolvedReferences
|
|
from .custom import *
|