Only forbid people to send comments not to view them
[cascardo/ema.git] / eventos / views.py
index 7a3a9e1..547f9b8 100644 (file)
@@ -272,7 +272,7 @@ def list_all_talks(request):
                               context_instance=RequestContext(request))
 
 def talk_improve(request, tid):
-    if not hasattr(request.user, 'palestrante_set'):
+    if not hasattr(request.user, 'palestrante_set') and request.POST:
         return forbidden
 
     talk = get_object_or_404(Trabalho, pk=tid)