mirror of https://github.com/interlegis/sapl.git
11 changed files with 317 additions and 21 deletions
@ -0,0 +1,32 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.7 on 2017-05-22 10:51 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import sapl.materia.models |
|||
import sapl.utils |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('materia', '0004_auto_20170504_1751'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='documentoacessorio', |
|||
name='arquivo', |
|||
field=models.FileField(blank=True, null=True, upload_to=sapl.materia.models.anexo_upload_path, validators=[sapl.utils.restringe_tipos_de_arquivo_txt], verbose_name='Texto Integral'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='materialegislativa', |
|||
name='texto_original', |
|||
field=models.FileField(blank=True, null=True, upload_to=sapl.materia.models.materia_upload_path, validators=[sapl.utils.restringe_tipos_de_arquivo_txt], verbose_name='Texto Original'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='proposicao', |
|||
name='texto_original', |
|||
field=models.FileField(blank=True, null=True, upload_to=sapl.materia.models.materia_upload_path, validators=[sapl.utils.restringe_tipos_de_arquivo_txt], verbose_name='Texto Original'), |
|||
), |
|||
] |
|||
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.7 on 2017-05-22 10:51 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import sapl.norma.models |
|||
import sapl.utils |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('norma', '0003_auto_20170510_1549'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='normajuridica', |
|||
name='texto_integral', |
|||
field=models.FileField(blank=True, null=True, upload_to=sapl.norma.models.norma_upload_path, validators=[sapl.utils.restringe_tipos_de_arquivo_txt], verbose_name='Texto Integral'), |
|||
), |
|||
] |
|||
@ -0,0 +1,35 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.7 on 2017-05-22 10:51 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('sessao', '0002_sessaoplenaria_interativa'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='ResumoOrdenacao', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('primeiro', models.CharField(max_length=30)), |
|||
('segundo', models.CharField(max_length=30)), |
|||
('terceiro', models.CharField(max_length=30)), |
|||
('quarto', models.CharField(max_length=30)), |
|||
('quinto', models.CharField(max_length=30)), |
|||
('sexto', models.CharField(max_length=30)), |
|||
('setimo', models.CharField(max_length=30)), |
|||
('oitavo', models.CharField(max_length=30)), |
|||
('nono', models.CharField(max_length=30)), |
|||
('decimo', models.CharField(max_length=30)), |
|||
], |
|||
options={ |
|||
'verbose_name': 'Ordenação do Resumo de uma Sessão', |
|||
'verbose_name_plural': 'Ordenação do Resumo de uma Sessão', |
|||
}, |
|||
), |
|||
] |
|||
@ -0,0 +1,13 @@ |
|||
{% extends "crud/form.html" %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
|
|||
{% block title %} |
|||
<h1 class="page-header">Ordenação do Resumo</h1> |
|||
{% endblock %} |
|||
|
|||
{% block base_content %} |
|||
|
|||
{% crispy form %} |
|||
|
|||
{% endblock %} |
|||
Loading…
Reference in new issue