Browse Source

Conserta PEP8

pull/285/merge
Marcio Mazza 9 years ago
parent
commit
5e35b20c07
  1. 3
      base/forms.py
  2. 1
      sessao/forms.py

3
base/forms.py

@ -88,7 +88,8 @@ class CasaLegislativaTabelaAuxForm(ModelForm):
row3, row3,
row4, row4,
row5, row5,
HTML("""<div class="col-md-12"> HTML("""
<div class="col-md-12">
{% if not form.fotografia.errors and form.fotografia.value %} {% if not form.fotografia.errors and form.fotografia.value %}
<img class="img-responsive" width="225" height="300" <img class="img-responsive" width="225" height="300"
src="{{ MEDIA_URL }}{{ form.logotipo.value }}"> src="{{ MEDIA_URL }}{{ form.logotipo.value }}">

1
sessao/forms.py

@ -6,7 +6,6 @@ from django.utils.translation import ugettext_lazy as _
import crispy_layout_mixin import crispy_layout_mixin
from crispy_layout_mixin import form_actions from crispy_layout_mixin import form_actions
from sapl.settings import MAX_DOC_UPLOAD_SIZE
from .models import SessaoPlenaria from .models import SessaoPlenaria

Loading…
Cancel
Save