Browse Source

removendo print

diagnosticos
Felipe Vieira 13 years ago
parent
commit
862e2efbda
  1. 1
      sigi/apps/diagnosticos/decorators.py

1
sigi/apps/diagnosticos/decorators.py

@ -11,7 +11,6 @@ def validate_diagnostico(func):
""" """
try: try:
diagnostico = Diagnostico.objects.filter(publicado=False).get(pk=id_diagnostico) diagnostico = Diagnostico.objects.filter(publicado=False).get(pk=id_diagnostico)
print diagnostico.membros
if (request.user.servidor in diagnostico.membros): if (request.user.servidor in diagnostico.membros):
# continua o processamento normal da view # continua o processamento normal da view
return func(request, id_diagnostico, *args, **kwargs) return func(request, id_diagnostico, *args, **kwargs)

Loading…
Cancel
Save