switch from ownCloud to minIO
buttons in table are buttons and do edit and delete properly
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from django import template
|
||||
|
||||
register = template.Library()
|
||||
|
||||
@register.filter
|
||||
def distinct_vehicles(vehicles):
|
||||
vehicles_set = set(vehicles.split(','))
|
||||
vehicles_str = ', '.join(sorted(vehicles_set))
|
||||
return vehicles_str
|
||||
|
||||
|
||||
+2
-1
@@ -7,7 +7,8 @@ urlpatterns = [
|
||||
path('client/', include([
|
||||
path('', ClientBookingView.as_view(), name='client_booking'),
|
||||
path('create/', CreateBookingView.as_view(), name='client_booking_create'),
|
||||
path('update/<int:pk>/', ClientBookingUpdateView.as_view(), name='client_booking_update'),
|
||||
path('<int:pk>/update/', ClientBookingUpdateView.as_view(), name='client_booking_update'),
|
||||
path('<int:pk>/active/', ClientBookingUpdateView.as_view(), name='client_booking_active'),
|
||||
])),
|
||||
path('employee/', BookingListView.as_view(), name='employee_bookings'),
|
||||
]
|
||||
Reference in New Issue
Block a user