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

Depreciation de namespace dans django 1.9

This commit is contained in:
Gabriel Detraz 2016-12-14 03:32:34 +01:00 committed by root
parent a5b69d35a6
commit 2febf5b246
7 changed files with 13 additions and 7 deletions

View file

@ -2,6 +2,7 @@ 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,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<revision_id>[0-9]+)$', views.revert_action, name='revert-action'),

View file

@ -2,6 +2,7 @@ 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/', 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')),
]

View file

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

View file

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

View file

@ -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<userid>[0-9]+)$', views.edit_info, name='edit-info'),