Reformat base.py

This commit is contained in:
PCoder 2018-07-18 21:49:11 +02:00
parent 4a19bd1971
commit 1291b49ec3

View file

@ -2,16 +2,15 @@
Copyright 2015 ungleich.
"""
import json
import logging
# -*- coding: utf-8 -*-
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
import json
from django.utils.translation import ugettext_lazy as _
# dotenv
import dotenv
import logging
from django.utils.translation import ugettext_lazy as _
logger = logging.getLogger(__name__)
@ -56,6 +55,7 @@ PROJECT_DIR = os.path.abspath(
dotenv.read_dotenv("{0}/.env".format(PROJECT_DIR))
from multisite import SiteID
SITE_ID = SiteID(default=1)
APP_ROOT_ENDPOINT = "/"
@ -580,7 +580,6 @@ MULTISITE_FALLBACK_KWARGS = {
FILER_ENABLE_PERMISSIONS = True
#############################################
# configurations for opennebula-integration #
#############################################