8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Revert "Depreciation de namespace dans django 1.9"

This reverts commit 2febf5b246.
This commit is contained in:
root 2016-12-14 03:34:43 +01:00
parent 2febf5b246
commit fc7f1ddb7f
7 changed files with 7 additions and 13 deletions

View file

@ -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'),

View file

@ -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'),

View file

@ -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'),

View file

@ -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')),
]

View file

@ -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'),

View file

@ -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'),

View file

@ -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'),