mirror of https://github.com/interlegis/sapl.git
Edward Ribeiro
6 years ago
10 changed files with 32 additions and 47 deletions
@ -1,9 +1,11 @@ |
|||||
from django.conf.urls import url |
from django.conf.urls import patterns, url |
||||
from django.views.generic.base import TemplateView |
from django.views.generic.base import TemplateView |
||||
|
|
||||
from sapl.urls import urlpatterns as original_patterns |
from sapl.urls import urlpatterns as original_patterns |
||||
|
|
||||
ptrn = [url(r'^zzzz$', |
ptrn = patterns('', |
||||
|
url(r'^zzzz$', |
||||
TemplateView.as_view( |
TemplateView.as_view( |
||||
template_name='index.html'), name='zzzz')] |
template_name='index.html'), name='zzzz')) |
||||
|
|
||||
urlpatterns = original_patterns + ptrn |
urlpatterns = original_patterns + ptrn |
||||
|
Loading…
Reference in new issue