From 1165b891781988d0a4d2b39351c6b780c9ad1f3f Mon Sep 17 00:00:00 2001 From: Frank Poetzsch-Heffter <p-h@katharineum.de> Date: Thu, 7 Nov 2019 19:16:03 +0100 Subject: [PATCH] reorganize sidenavbar --- biscuit/apps/fibu/urls.py | 2 ++ biscuit/apps/fibu/views.py | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/biscuit/apps/fibu/urls.py b/biscuit/apps/fibu/urls.py index 3e69546..a6e7176 100755 --- a/biscuit/apps/fibu/urls.py +++ b/biscuit/apps/fibu/urls.py @@ -5,6 +5,8 @@ from . import views urlpatterns = [ path('', views.index, name='fibu_index'), path('check', views.check, name='booking_check'), + path('check', views.check, name='booking_check1'), + path('check', views.check, name='booking_check2'), # path('make_booking', views.make_booking, name='fibu_make_booking'), # path('edit/<int:id>', views.edit, name='booking_edit'), ] diff --git a/biscuit/apps/fibu/views.py b/biscuit/apps/fibu/views.py index fc33108..a7e4c34 100644 --- a/biscuit/apps/fibu/views.py +++ b/biscuit/apps/fibu/views.py @@ -70,3 +70,9 @@ def check(request): booking_list = Booking.objects.filter(status=0).order_by('submission_date') bookings = BookingFilter(request.GET, queryset=booking_list) return render(request, 'fibu/check.html', {'filter': bookings}) + +def booking_check1(): + pass + +def booking_check2(): + pass \ No newline at end of file -- GitLab