mirror of https://github.com/interlegis/sapl.git
Browse Source
* [WIP - DON'T MERGE] fix #1827 * Adiciona parâmetros necessários para mostrar DebugToolbarpull/2239/head
Victor Fabre
6 years ago
committed by
Edward
10 changed files with 47 additions and 32 deletions
@ -1,11 +1,9 @@ |
|||||
from django.conf.urls import patterns, url |
from django.conf.urls import 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 = patterns('', |
ptrn = [url(r'^zzzz$', |
||||
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