mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
pep8
This commit is contained in:
@@ -29,10 +29,20 @@ router.register(r'tags', TagViewSet)
|
||||
router.register(r'documents', DocumentViewSet)
|
||||
|
||||
urlpatterns = [
|
||||
url(r"^api/auth/", include('rest_framework.urls', namespace='rest_framework')),
|
||||
|
||||
# API
|
||||
url(
|
||||
r"^api/auth/",
|
||||
include('rest_framework.urls', namespace='rest_framework')
|
||||
),
|
||||
url(r"^api/", include(router.urls)),
|
||||
|
||||
# File downloads
|
||||
url(r"^fetch/(?P<pk>\d+)$", PdfView.as_view(), name="fetch"),
|
||||
|
||||
# The Django admin
|
||||
url(r"", admin.site.urls),
|
||||
|
||||
] + static.static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
if settings.UPLOAD_SHARED_SECRET:
|
||||
|
Reference in New Issue
Block a user