mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
A crude API is in place
This commit is contained in:
parent
809fb8fa1f
commit
17d3a44952
3 changed files with 21 additions and 6 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue