Commit fc7f1ddb authored by root's avatar root

Revert "Depreciation de namespace dans django 1.9"

This reverts commit 2febf5b2.
parent 2febf5b2
......@@ -2,7 +2,6 @@ from django.conf.urls import url
from . import views
app_name = 'cotisations'
urlpatterns = [
url(r'^new_facture/(?P<userid>[0-9]+)$', views.new_facture, name='new-facture'),
url(r'^edit_facture/(?P<factureid>[0-9]+)$', views.edit_facture, name='edit-facture'),
......
......@@ -2,7 +2,6 @@ from django.conf.urls import url
from . import views
app_name = 'logs'
urlpatterns = [
url(r'^$', views.index, name='index'),
url(r'^revert_action/(?P<revision_id>[0-9]+)$', views.revert_action, name='revert-action'),
......
......@@ -2,7 +2,6 @@ from django.conf.urls import url
from . import views
app_name = 'machines'
urlpatterns = [
url(r'^new_machine/(?P<userid>[0-9]+)$', views.new_machine, name='new-machine'),
url(r'^edit_interface/(?P<interfaceid>[0-9]+)$', views.edit_interface, name='edit-interface'),
......
......@@ -22,11 +22,11 @@ urlpatterns = [
url(r'^$', index),
url('^logout/', auth_views.logout, {'next_page': '/'}),
url('^', include('django.contrib.auth.urls')),
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')),
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')),
]
......@@ -2,7 +2,6 @@ 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'),
......
......@@ -2,7 +2,6 @@ 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'),
......
......@@ -2,7 +2,6 @@ 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<userid>[0-9]+)$', views.edit_info, name='edit-info'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment