mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-24 22:39:02 -06:00
Merge branch 'feature/migrator' of https://github.com/paperless-ngx/paperless-ngx into feature/migrator
This commit is contained in:
@@ -174,7 +174,11 @@ AUTHENTICATION_BACKENDS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
STATIC_URL = "/static/"
|
STATIC_URL = "/static/"
|
||||||
STATICFILES_DIRS = [BASE_DIR / ".." / "static", BASE_DIR / "static"]
|
STATICFILES_DIRS = [
|
||||||
|
BASE_DIR / ".." / "static",
|
||||||
|
BASE_DIR / "static",
|
||||||
|
BASE_DIR / "documents" / "static",
|
||||||
|
]
|
||||||
|
|
||||||
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ urlpatterns = [
|
|||||||
path("accounts/", include("allauth.urls")),
|
path("accounts/", include("allauth.urls")),
|
||||||
path("migration/", views.migration_home, name="migration_home"),
|
path("migration/", views.migration_home, name="migration_home"),
|
||||||
path("migration/transform/stream", views.transform_stream, name="transform_stream"),
|
path("migration/transform/stream", views.transform_stream, name="transform_stream"),
|
||||||
|
# redirect root to migration home
|
||||||
|
path("", views.migration_home, name="migration_home"),
|
||||||
]
|
]
|
||||||
|
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
|
|||||||
Reference in New Issue
Block a user