mirror of https://github.com/interlegis/sapl.git
Browse Source
* Fix #2927 - Matérias apenas lidas, mas não votadas * Adiciona Leitura para OrdemDia e cria model RegistroLeitura * Adiciona cancelamento de leitura * Adiciona matérias apenas lidas no painel * Adiciona url de cancelar leitura * Fix permissões * Adiciona registro de usuário e ip no RegistroLeiturapull/3024/head
Cesar Augusto de Carvalho
5 years ago
committed by
Cesar Carvalho
12 changed files with 417 additions and 120 deletions
@ -0,0 +1,30 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-08-29 15:53 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('sessao', '0047_merge_20191009_1535'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='registroleitura', |
|||
name='data_hora', |
|||
field=models.DateTimeField(auto_now=True, null=True, verbose_name='Data/Hora'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='registrovotacao', |
|||
name='data_hora', |
|||
field=models.DateTimeField(auto_now=True, null=True, verbose_name='Data/Hora'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='votoparlamentar', |
|||
name='data_hora', |
|||
field=models.DateTimeField(auto_now=True, null=True, verbose_name='Data/Hora'), |
|||
), |
|||
] |
@ -1,44 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-10-09 18:50 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('sessao', '0047_merge_20191009_1535'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='expediente', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='materia', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='ordem', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='user', |
|||
), |
|||
migrations.AlterField( |
|||
model_name='expedientemateria', |
|||
name='tipo_votacao', |
|||
field=models.PositiveIntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta')], default=1, verbose_name='Tipo de votação'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='ordemdia', |
|||
name='tipo_votacao', |
|||
field=models.PositiveIntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta')], default=1, verbose_name='Tipo de votação'), |
|||
), |
|||
migrations.DeleteModel( |
|||
name='RegistroLeitura', |
|||
), |
|||
] |
@ -0,0 +1,6 @@ |
|||
{% extends "base.html" %} |
|||
{% load i18n crispy_forms_tags %} |
|||
|
|||
{% block base_content %} |
|||
{% crispy form %} |
|||
{% endblock base_content %} |
Loading…
Reference in new issue