8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

Printer : Add url for printer in API

This commit is contained in:
Maxime Bombar 2018-10-06 21:33:45 +02:00 committed by root
parent 4ffe0a2c63
commit 3e62cb852f

View file

@ -119,6 +119,8 @@ router.register_view(r'dns/reverse-zones', views.DNSReverseZonesView),
# MAILING # MAILING
router.register_view(r'mailing/standard', views.StandardMailingView), router.register_view(r'mailing/standard', views.StandardMailingView),
router.register_view(r'mailing/club', views.ClubMailingView), router.register_view(r'mailing/club', views.ClubMailingView),
# PRINTER
router.register_viewset(r'printer/jobs', views.JobsView)
# TOKEN AUTHENTICATION # TOKEN AUTHENTICATION
router.register_view(r'token-auth', views.ObtainExpiringAuthToken) router.register_view(r'token-auth', views.ObtainExpiringAuthToken)