Commit 8fc3535b authored by Dmitry Shelepnev's avatar Dmitry Shelepnev
Browse files

start working with authorization procedure

parent 09c3e01f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ from django.conf import settings
sopds_version = '0.30a'
loglevels={'debug':logging.DEBUG,'info':logging.INFO,'warning':logging.WARNING,'error':logging.ERROR,'critical':logging.CRITICAL,'none':logging.NOTSET}

VERSION = "0.31"

# Main SOPDS Book Collection Directory
ROOT_LIB = getattr(settings, "SOPDS_ROOT_LIB", "books/")
BOOK_EXTENSIONS = getattr(settings, "SOPDS_BOOK_EXTESIONS", ['.pdf', '.djvu', '.fb2', '.epub'])
+2 −1
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ TEMPLATES = [
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
                'sopds_web_backend.views.sopds_processor',
            ],
        },
    },
@@ -142,7 +143,7 @@ else:

#SOPDS_ROOT_LIB = os.path.join(BASE_DIR, 'opds_catalog\\tests\\data\\')

SOPDS_AUTH = False
SOPDS_AUTH = True
SOPDS_ALPHABET_MENU = True
SOPDS_SPLITITEMS = 50
SOPDS_DOUBLES_HIDE = True
Loading