Browse Source

fix bug in compilacao_filters.py

pull/10/head
LeandroRoberto 9 years ago
parent
commit
2e7f49e1c3
  1. 2
      compilacao/templatetags/compilacao_filters.py
  2. 19
      parlamentares/migrations/0007_auto_20151119_1944.py

2
compilacao/templatetags/compilacao_filters.py

@ -78,7 +78,7 @@ def select_provaveis_inserts(view, request):
@register.filter
def is_relative_auto_insert(dpt, request):
return dpt.is_relative_auto_insert(request.session.perfil_estrutural)
return dpt.is_relative_auto_insert(request.session['perfil_estrutural'])
@register.filter

19
parlamentares/migrations/0007_auto_20151119_1944.py

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('parlamentares', '0006_auto_20151119_1318'),
]
operations = [
migrations.AlterField(
model_name='parlamentar',
name='unidade_deliberativa',
field=models.BooleanField(),
),
]
Loading…
Cancel
Save