You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
920 B
43 lines
920 B
from pathlib import Path
|
|
|
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
|
|
|
SECRET_KEY = ''
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
DEBUG = True
|
|
|
|
ALLOWED_HOSTS = []
|
|
|
|
CSRF_TRUSTED_ORIGINS = [] # put same than above
|
|
|
|
SITE_NAME = 'local'
|
|
|
|
#ADMINS = [('Laurent', 'laurent@padelclub.app'), ('Razmig', 'razmig@padelclub.app')]
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'NAME': BASE_DIR / 'db.sqlite3',
|
|
'ATOMIC_REQUESTS': True,
|
|
}
|
|
}
|
|
|
|
# CHANNEL_LAYERS = {
|
|
# "default": {
|
|
# "BACKEND": "channels.layers.InMemoryChannelLayer"
|
|
# }
|
|
# }
|
|
|
|
# CHANNEL_LAYERS = {
|
|
# "default": {
|
|
# "BACKEND": "channels_redis.core.RedisChannelLayer",
|
|
# "CONFIG": {
|
|
# "hosts": [("localhost", 8300)],
|
|
# },
|
|
# },
|
|
# }
|
|
STRIPE_MODE = 'test'
|
|
STRIPE_PUBLISHABLE_KEY = ''
|
|
STRIPE_SECRET_KEY = ''
|
|
STRIPE_WEBHOOK_SECRET = ''
|
|
|