|
|
@ -15,7 +15,8 @@ import configparser
|
|
|
|
from .utils import get_secret_from_file
|
|
|
|
from .utils import get_secret_from_file
|
|
|
|
|
|
|
|
|
|
|
|
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
|
|
|
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
|
|
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
SOURCE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
|
|
|
|
BASE_DIR = os.path.dirname(SOURCE_DIR)
|
|
|
|
|
|
|
|
|
|
|
|
AUTH_USER_MODEL = "myauth.User"
|
|
|
|
AUTH_USER_MODEL = "myauth.User"
|
|
|
|
|
|
|
|
|
|
|
@ -74,7 +75,7 @@ ROOT_URLCONF = "etebase_server.urls"
|
|
|
|
TEMPLATES = [
|
|
|
|
TEMPLATES = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
|
|
|
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
|
|
|
"DIRS": [os.path.join(BASE_DIR, "templates")],
|
|
|
|
"DIRS": [os.path.join(SOURCE_DIR, "templates")],
|
|
|
|
"APP_DIRS": True,
|
|
|
|
"APP_DIRS": True,
|
|
|
|
"OPTIONS": {
|
|
|
|
"OPTIONS": {
|
|
|
|
"context_processors": [
|
|
|
|
"context_processors": [
|
|
|
|