From 3e62cb852f3e1ef486271463cee9c19a56d00504 Mon Sep 17 00:00:00 2001 From: Maxime Bombar Date: Sat, 6 Oct 2018 21:33:45 +0200 Subject: [PATCH] Printer : Add url for printer in API --- api/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/urls.py b/api/urls.py index 723ca78c..785d49f7 100644 --- a/api/urls.py +++ b/api/urls.py @@ -119,6 +119,8 @@ router.register_view(r'dns/reverse-zones', views.DNSReverseZonesView), # MAILING router.register_view(r'mailing/standard', views.StandardMailingView), router.register_view(r'mailing/club', views.ClubMailingView), +# PRINTER +router.register_viewset(r'printer/jobs', views.JobsView) # TOKEN AUTHENTICATION router.register_view(r'token-auth', views.ObtainExpiringAuthToken)