8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

[Printer] Move printer urlpatterns into optional urls

This commit is contained in:
Maxime Bombar 2018-08-03 09:45:34 +02:00
parent 0b74469948
commit f2ce60dd3d

View file

@ -73,7 +73,6 @@ urlpatterns = [
r'^preferences/',
include('preferences.urls', namespace='preferences')
),
url(r'^printer/', include('printer.urls', namespace='printer')),
]
# Add debug_toolbar URLs if activated
if 'debug_toolbar' in settings.INSTALLED_APPS:
@ -85,3 +84,8 @@ if 'api' in settings.INSTALLED_APPS:
urlpatterns += [
url(r'^api/', include('api.urls', namespace='api')),
]
if 'printer' in settings.INSTALLED_APPS:
urlpatterns += [
url(r'^printer/', include('printer.urls', namespace='printer')),
]