Browse Source

ajustando ordem das perguntas

stable/1.0
Felipe Vieira 13 years ago
parent
commit
8506a01243
  1. 1
      sigi/apps/diagnosticos/views.py

1
sigi/apps/diagnosticos/views.py

@ -211,6 +211,7 @@ def diagnostico_pdf(request, id_diagnostico):
schema.value = data
schemas.append(schema)
schemas = sorted(schemas, key=lambda schema: schema.title) # sort by title
schemas_by_categoria.append((categoria,schemas))
context = RequestContext(request, {

Loading…
Cancel
Save