From 2ec5f94a86ecaf44152c82262d4a0edf47b631b9 Mon Sep 17 00:00:00 2001
From: Nico Vermaas <vermaas@astron.nl>
Date: Tue, 2 Feb 2021 15:00:20 +0100
Subject: [PATCH] adding get_size endpoint

---
 atdb/taskdatabase/templates/taskdatabase/index.html | 2 +-
 atdb/taskdatabase/urls.py                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/atdb/taskdatabase/templates/taskdatabase/index.html b/atdb/taskdatabase/templates/taskdatabase/index.html
index 36aa3d96..182451d4 100644
--- a/atdb/taskdatabase/templates/taskdatabase/index.html
+++ b/atdb/taskdatabase/templates/taskdatabase/index.html
@@ -44,7 +44,7 @@
     </div>
     {% include 'taskdatabase/pagination.html' %}
 </div>
-    <p class="footer"> Version 1.0.0 (2 feb 2021 - 12:00)
+    <p class="footer"> Version 1.0.0 (2 feb 2021 - 15:00)
     <script type="text/javascript">
         (function(seconds) {
             var refresh,
diff --git a/atdb/taskdatabase/urls.py b/atdb/taskdatabase/urls.py
index 95c44d27..c5af49de 100644
--- a/atdb/taskdatabase/urls.py
+++ b/atdb/taskdatabase/urls.py
@@ -19,7 +19,7 @@ urlpatterns = [
 
     # --- custom requests ---
     # /atdb/get_size?status__in=defined,staged
-    path('get_size',
+    path('tasks/get_size',
          views.GetSizeView.as_view(),
          name='get-size-view'),
 
-- 
GitLab