mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06: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