repos
/ timestrap-django master

timestrap-django

mirror archived upstream

Time tracking you can host anywhere, built on Django. Full export support in multiple formats and easily extensible.

djangodockerhandcodedpythonself-hostedtime-trackingtimetracker

668 B · 37 lines · Python Raw History
 1from .base import *  # noqa: F403
 2
 3
 4DEBUG = True
 5
 6
 7# SECURITY WARNING: keep the secret key used in production secret!
 8
 9SECRET_KEY = "CHANGE-ME"
10
11
12# Database
13# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
14
15DATABASES = {
16    "default": {
17        "ENGINE": "django.db.backends.sqlite3",
18        "NAME": os.path.join(BASE_DIR, "db.sqlite3"),  # noqa: F405
19    }
20}
21
22
23# Channels
24# https://channels.readthedocs.io/en/latest/
25
26CHANNEL_LAYERS = {
27    "default": {
28        "BACKEND": "channels_redis.core.RedisChannelLayer",
29        "CONFIG": {"hosts": [("localhost", 6379)]},
30    }
31}
32
33
34# Email
35
36EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"