Code style adjustments

This commit is contained in:
Jonas Winkler
2018-09-25 16:09:33 +02:00
parent ddff8a0450
commit efc7bf1d23
12 changed files with 94 additions and 81 deletions

View File

@@ -201,7 +201,10 @@ MEDIA_URL = os.getenv("PAPERLESS_MEDIA_URL", "/media/")
# Document classification models location
MODEL_FILE = os.getenv(
"PAPERLESS_MODEL_FILE", os.path.join(BASE_DIR, "..", "models", "model.pickle"))
"PAPERLESS_MODEL_FILE", os.path.join(
BASE_DIR, "..", "models", "model.pickle"
)
)
# Paperless-specific stuff

3
src/paperless/urls.py Normal file → Executable file
View File

@@ -13,7 +13,8 @@ from documents.views import (
LogViewSet,
PushView,
TagViewSet,
DocumentTypeViewSet)
DocumentTypeViewSet
)
from reminders.views import ReminderViewSet
router = DefaultRouter()