diff --git a/cotisations/urls.py b/cotisations/urls.py index 8e7fcc38346dab0c145693daa035af5379a17731..3f4e3411672b4083f475c75ca87c53ea8a5587fa 100644 --- a/cotisations/urls.py +++ b/cotisations/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url from . import views +app_name = 'cotisations' urlpatterns = [ url(r'^new_facture/(?P[0-9]+)$', views.new_facture, name='new-facture'), url(r'^edit_facture/(?P[0-9]+)$', views.edit_facture, name='edit-facture'), diff --git a/logs/urls.py b/logs/urls.py index 673405ff1b781dc40d0fe7e0de7646e8e56676ce..c662c2061fda574298e7957ec43e5929953ba560 100644 --- a/logs/urls.py +++ b/logs/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url from . import views +app_name = 'logs' urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^revert_action/(?P[0-9]+)$', views.revert_action, name='revert-action'), diff --git a/machines/urls.py b/machines/urls.py index 47710d71e2b1b850db577690910f41e7d0bc157d..8b6393306ddbe7c48230d14e373a5f67916aaa1c 100644 --- a/machines/urls.py +++ b/machines/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url from . import views +app_name = 'machines' urlpatterns = [ url(r'^new_machine/(?P[0-9]+)$', views.new_machine, name='new-machine'), url(r'^edit_interface/(?P[0-9]+)$', views.edit_interface, name='edit-interface'), diff --git a/re2o/urls.py b/re2o/urls.py index 14d1d65b32dc1b89f65578d86b51e9dbf0e3e109..1709a394da61bbba4a1c7083cb0eaaa4bd358c89 100644 --- a/re2o/urls.py +++ b/re2o/urls.py @@ -22,11 +22,11 @@ urlpatterns = [ url(r'^$', index), url('^logout/', auth_views.logout, {'next_page': '/'}), url('^', include('django.contrib.auth.urls')), - url(r'^admin/', include(admin.site.urls)), - url(r'^users/', include('users.urls', namespace='users')), - url(r'^search/', include('search.urls', namespace='search')), - url(r'^cotisations/', include('cotisations.urls', namespace='cotisations')), - url(r'^machines/', include('machines.urls', namespace='machines')), - url(r'^topologie/', include('topologie.urls', namespace='topologie')), - url(r'^logs/', include('logs.urls', namespace='logs')), + url(r'^admin/', admin.site.urls), + url(r'^users/', include('users.urls')), + url(r'^search/', include('search.urls')), + url(r'^cotisations/', include('cotisations.urls')), + url(r'^machines/', include('machines.urls')), + url(r'^topologie/', include('topologie.urls')), + url(r'^logs/', include('logs.urls')), ] diff --git a/search/urls.py b/search/urls.py index 721bdb977eba3fa1c1661b2841ff1a395967d9a6..cefe105429e1c03dde9de2b7eade9f67640f4bad 100644 --- a/search/urls.py +++ b/search/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url from . import views +app_name = 'search' urlpatterns = [ url(r'^$', views.search, name='search'), url(r'^avance/$', views.searchp, name='searchp'), diff --git a/topologie/urls.py b/topologie/urls.py index e8df7722dc67e7f71fddaa1d7806f8384710d601..c3e52e19a3ace9f600ee2159fb2496ad31155b99 100644 --- a/topologie/urls.py +++ b/topologie/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url from . import views +app_name = 'topologie' urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^new_switch/$', views.new_switch, name='new-switch'), diff --git a/users/urls.py b/users/urls.py index 95a5d2e5d8b7df122ec4f72ed1507577d4085e10..760898d9110841f317e1f57c71b922fc4d8f462a 100644 --- a/users/urls.py +++ b/users/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url from . import views +app_name = 'users' urlpatterns = [ url(r'^new_user/$', views.new_user, name='new-user'), url(r'^edit_info/(?P[0-9]+)$', views.edit_info, name='edit-info'),