summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/base_urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index a1bb61f..b87cd2c 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -21,6 +21,7 @@ from utils.views import TagAutocomplete
from sightings.views import APAutocomplete
from locations.views import MapDataList
+from income.views import MonthlyInvoiceView, DownloadMonthlyInvoiceView
admin.autodiscover()
@@ -37,6 +38,8 @@ urlpatterns = [
path(r'ap-autocomplete/', APAutocomplete.as_view(), name='ap-autocomplete'),
re_path(r'^admin/build/.*', builder.views.do_build),
path(r'admin/data/', include('utils.urls')),
+ path(r'admin/income/invoice/monthlyview/<str:slug>/invoice/', DownloadMonthlyInvoiceView.as_view(), name="download-invoice"),
+ path(r'admin/income/invoice/monthlyview/<str:slug>/', MonthlyInvoiceView.as_view(), name="monthly-invoice"),
path(r'admin/', admin.site.urls),
path(r'luximages/insert/', utils.views.insert_image),
path(r'sitemap.xml', sitemap, {'sitemaps': sitemaps}),