mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
A crude API is in place
This commit is contained in:
@@ -33,9 +33,9 @@ urlpatterns = [
|
||||
# API
|
||||
url(
|
||||
r"^api/auth/",
|
||||
include('rest_framework.urls', namespace='rest_framework')
|
||||
include('rest_framework.urls', namespace="rest_framework")
|
||||
),
|
||||
url(r"^api/", include(router.urls)),
|
||||
url(r"^api/", include(router.urls, namespace="drf")),
|
||||
|
||||
# File downloads
|
||||
url(r"^fetch/(?P<pk>\d+)$", PdfView.as_view(), name="fetch"),
|
||||
|
Reference in New Issue
Block a user