Browse Source

Muda url da casa na tabela auxiliar"

pull/486/head
Eduardo Edson Batista Cordeiro Alves 9 years ago
parent
commit
05026cfd33
  1. 3
      base/urls.py
  2. 2
      templates/sistema.html

3
base/urls.py

@ -15,8 +15,7 @@ urlpatterns = [
url(r'^ajuda/(?P<topic>\w+)$', HelpView.as_view(), name='help_topic'),
url(r'^ajuda/', TemplateView.as_view(template_name='ajuda/index.html'),
name='help_base'),
# url(r'^casa-legislativa$',
# CasaLegislativaTableAuxView.as_view(), name='casa_legislativa'),
url(r'^casa_legislativa/', include(CasaLegislativaCrud.get_urls())),
url(r'^login/$', views.login, {

2
templates/sistema.html

@ -5,7 +5,7 @@
<h2>Configuração Inicial</h2>
<div class="row">
<div class="col-md-6"><a href="{% url 'base:casa_legislativa' %}" class="btn btn-link">Casa Legislativa</a></div>
<div class="col-md-6"><a href="{% url 'base:casalegislativa_list' %}" class="btn btn-link">Casa Legislativa</a></div>
</div>
<h2>Módulo Parlamentares</h2>

Loading…
Cancel
Save