mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
555 B
25 lines
555 B
10 years ago
|
from django.conf.urls import include, url
|
||
|
|
||
|
from comissoes.models import Comissao
|
||
10 years ago
|
from comissoes.urls import comissao_url_patterns
|
||
9 years ago
|
from crud import build_crud
|
||
10 years ago
|
|
||
|
crud = build_crud(
|
||
10 years ago
|
Comissao, '', [
|
||
10 years ago
|
|
||
10 years ago
|
['Dados Básicos',
|
||
|
[('nome', 9), ('sigla', 3)],
|
||
|
[('tipo', 3)]
|
||
|
],
|
||
10 years ago
|
|
||
10 years ago
|
['Dados Complementares',
|
||
|
[('finalidade', 12)]
|
||
|
],
|
||
|
])
|
||
10 years ago
|
|
||
10 years ago
|
urlpatterns = [
|
||
10 years ago
|
url(r'^comissoes/', include((
|
||
10 years ago
|
crud.urlpatterns + comissao_url_patterns[len(crud.urlpatterns):],
|
||
|
crud.namespace, crud.namespace))),
|
||
10 years ago
|
]
|