Browse Source

Refactor report names

pull/202/head
Edward Ribeiro 9 years ago
parent
commit
c8cd18f288
  1. 12
      relatorios/views.py

12
relatorios/views.py

@ -141,7 +141,7 @@ def relatorio_materia(request):
'''
response = HttpResponse(content_type='application/pdf')
response['Content-Disposition'] = 'attachment; filename="somefilename.pdf"'
response['Content-Disposition'] = 'attachment; filename="relatorio_materia.pdf"'
casa = CasaLegislativa.objects.first()
@ -237,7 +237,7 @@ def relatorio_processo(request):
'''
response = HttpResponse(content_type='application/pdf')
response['Content-Disposition'] = 'attachment; filename="somefilename.pdf"'
response['Content-Disposition'] = 'attachment; filename="relatorio_processo.pdf"'
casa = CasaLegislativa.objects.first()
@ -348,7 +348,7 @@ def relatorio_ordem_dia(request):
'''
response = HttpResponse(content_type='application/pdf')
response['Content-Disposition'] = 'attachment; filename="somefilename.pdf"'
response['Content-Disposition'] = 'attachment; filename="relatorio_ordem_dia.pdf"'
casa = CasaLegislativa.objects.first()
@ -378,7 +378,7 @@ def relatorio_documento_administrativo(request):
'''
response = HttpResponse(content_type='application/pdf')
response['Content-Disposition'] = 'attachment; filename="somefilename.pdf"'
response['Content-Disposition'] = 'attachment; filename="relatorio_documento_administrativo.pdf"'
casa = CasaLegislativa.objects.first()
@ -444,7 +444,7 @@ def relatorio_espelho(request):
'''
response = HttpResponse(content_type='application/pdf')
response['Content-Disposition'] = 'attachment; filename="somefilename.pdf"'
response['Content-Disposition'] = 'attachment; filename="relatorio_espelho.pdf"'
casa = CasaLegislativa.objects.first()
@ -577,7 +577,7 @@ def relatorio_protocolo(request):
'''
response = HttpResponse(content_type='application/pdf')
response['Content-Disposition'] = 'attachment; filename="somefilename.pdf"'
response['Content-Disposition'] = 'attachment; filename="relatorio_protocolo.pdf"'
casa = CasaLegislativa.objects.first()

Loading…
Cancel
Save