Browse Source

Impl. of features for editing notes and quotes.

pull/10/head
LeandroRoberto 9 years ago
parent
commit
990ce4aa26
  1. 33
      compilacao/migrations/0027_auto_20151130_1632.py
  2. 18
      compilacao/migrations/0028_auto_20151201_0042.py
  3. 19
      compilacao/migrations/0029_auto_20151201_1611.py
  4. 19
      norma/migrations/0007_auto_20151130_1632.py
  5. 2
      norma/models.py
  6. BIN
      static/img/ajax-loader.gif

33
compilacao/migrations/0027_auto_20151130_1632.py

@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('compilacao', '0026_auto_20151122_1756'),
]
operations = [
migrations.AlterModelOptions(
name='nota',
options={'verbose_name': 'Nota', 'ordering': ['-publicacao', '-modified'], 'verbose_name_plural': 'Notas'},
),
migrations.AlterField(
model_name='nota',
name='titulo',
field=models.CharField(verbose_name='Título', default='', blank=True, max_length=100),
),
migrations.AlterField(
model_name='vide',
name='dispositivo_base',
field=models.ForeignKey(verbose_name='Dispositivo Base', related_name='cita', to='compilacao.Dispositivo'),
),
migrations.AlterField(
model_name='vide',
name='dispositivo_ref',
field=models.ForeignKey(verbose_name='Dispositivo Referido', related_name='citado', to='compilacao.Dispositivo'),
),
]

18
compilacao/migrations/0028_auto_20151201_0042.py

@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('compilacao', '0027_auto_20151130_1632'),
]
operations = [
migrations.AlterUniqueTogether(
name='vide',
unique_together=set([('dispositivo_base', 'dispositivo_ref')]),
),
]

19
compilacao/migrations/0029_auto_20151201_1611.py

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('compilacao', '0028_auto_20151201_0042'),
]
operations = [
migrations.AlterField(
model_name='nota',
name='publicidade',
field=models.PositiveSmallIntegerField(verbose_name='Nível de Publicidade', choices=[(1, 'Nota Privada'), (2, 'Nota Institucional'), (3, 'Nota Pública')]),
),
]

19
norma/migrations/0007_auto_20151130_1632.py

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('norma', '0006_auto_20151025_1427'),
]
operations = [
migrations.AlterField(
model_name='normajuridica',
name='complemento',
field=models.NullBooleanField(verbose_name='Complementar ?', choices=[(True, 'Sim'), (False, 'Não')]),
),
]

2
norma/models.py

@ -3,7 +3,7 @@ from django.template import defaultfilters
from django.utils.translation import ugettext_lazy as _
from materia.models import MateriaLegislativa
from sapl.utils import make_choices, YES_NO_CHOICES
from sapl.utils import YES_NO_CHOICES, make_choices
class AssuntoNorma(models.Model):

BIN
static/img/ajax-loader.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Loading…
Cancel
Save