mirror of https://github.com/interlegis/sapl.git
Eduardo Edson Batista Cordeiro Alves
9 years ago
7 changed files with 251 additions and 12 deletions
@ -0,0 +1,25 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('parlamentares', '0007_auto_20151123_1258'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='parlamentar', |
|||
name='cod_casa', |
|||
field=models.PositiveIntegerField(blank=True, null=True, verbose_name='Cód. Casa'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='parlamentar', |
|||
name='nome_parlamentar', |
|||
field=models.CharField(default=1, verbose_name='Nome Parlamentar', max_length=50), |
|||
preserve_default=False, |
|||
), |
|||
] |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('parlamentares', '0008_auto_20151126_1332'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='parlamentar', |
|||
name='cod_casa', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='parlamentar', |
|||
name='unidade_deliberativa', |
|||
), |
|||
] |
@ -0,0 +1,7 @@ |
|||
{% extends "parlamentares/parlamentares_detail.html" %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
|
|||
{% block detail_content %} |
|||
{% crispy form %} |
|||
{% endblock %} |
Loading…
Reference in new issue