Code cleanup
This commit is contained in:
@ -1,15 +1,4 @@
|
||||
"""
|
||||
Django settings for fedireads project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 2.0.13.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/2.0/topics/settings/
|
||||
|
||||
For the full list of settings and their values, see
|
||||
https://docs.djangoproject.com/en/2.0/ref/settings/
|
||||
"""
|
||||
|
||||
''' fedireads settings and configuration '''
|
||||
import os
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
@ -25,7 +14,7 @@ SECRET_KEY = '7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr'
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
|
||||
# TODO: this hsould be populated at runtime at least for debug mode
|
||||
DOMAIN = 'bd352ee8.ngrok.io'
|
||||
ALLOWED_HOSTS = ['*']
|
||||
OL_URL = 'https://openlibrary.org'
|
||||
@ -54,6 +43,7 @@ MIDDLEWARE = [
|
||||
|
||||
ROOT_URLCONF = 'fedireads.urls'
|
||||
|
||||
# TODO: how tf do I switch to jinja2
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
|
Reference in New Issue
Block a user