mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Remove unused imports & comments
This commit is contained in:
		
							parent
							
								
									02e0543a02
								
							
						
					
					
						commit
						c82d45689c
					
				@ -1,19 +1,3 @@
 | 
				
			|||||||
"""paperless URL Configuration
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
The `urlpatterns` list routes URLs to views. For more information please see:
 | 
					 | 
				
			||||||
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
 | 
					 | 
				
			||||||
Examples:
 | 
					 | 
				
			||||||
Function views
 | 
					 | 
				
			||||||
    1. Add an import:  from my_app import views
 | 
					 | 
				
			||||||
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
 | 
					 | 
				
			||||||
Class-based views
 | 
					 | 
				
			||||||
    1. Add an import:  from other_app.views import Home
 | 
					 | 
				
			||||||
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
 | 
					 | 
				
			||||||
Including another URLconf
 | 
					 | 
				
			||||||
    1. Add an import:  from blog import urls as blog_urls
 | 
					 | 
				
			||||||
    2. Import the include() function: from django.conf.urls import url, include
 | 
					 | 
				
			||||||
    3. Add a URL to urlpatterns:  url(r'^blog/', include(blog_urls))
 | 
					 | 
				
			||||||
"""
 | 
					 | 
				
			||||||
from django.conf import settings
 | 
					from django.conf import settings
 | 
				
			||||||
from django.conf.urls import url, static, include
 | 
					from django.conf.urls import url, static, include
 | 
				
			||||||
from django.contrib import admin
 | 
					from django.contrib import admin
 | 
				
			||||||
@ -21,7 +5,7 @@ from django.contrib import admin
 | 
				
			|||||||
from rest_framework.routers import DefaultRouter
 | 
					from rest_framework.routers import DefaultRouter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from documents.views import (
 | 
					from documents.views import (
 | 
				
			||||||
    IndexView, FetchView, PushView,
 | 
					    FetchView, PushView,
 | 
				
			||||||
    CorrespondentViewSet, TagViewSet, DocumentViewSet, LogViewSet
 | 
					    CorrespondentViewSet, TagViewSet, DocumentViewSet, LogViewSet
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
from reminders.views import ReminderViewSet
 | 
					from reminders.views import ReminderViewSet
 | 
				
			||||||
@ -42,9 +26,6 @@ urlpatterns = [
 | 
				
			|||||||
    ),
 | 
					    ),
 | 
				
			||||||
    url(r"^api/", include(router.urls, namespace="drf")),
 | 
					    url(r"^api/", include(router.urls, namespace="drf")),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Normal pages (coming soon)
 | 
					 | 
				
			||||||
    # url(r"^$", IndexView.as_view(), name="index"),
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # File downloads
 | 
					    # File downloads
 | 
				
			||||||
    url(
 | 
					    url(
 | 
				
			||||||
        r"^fetch/(?P<kind>doc|thumb)/(?P<pk>\d+)$",
 | 
					        r"^fetch/(?P<kind>doc|thumb)/(?P<pk>\d+)$",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user