def post_annotation(request): if request.user.has_perm('annotatetext.add_annotation'): return annotatetext_post_annotation(request) else: return HttpResponseForbidden(_("Sorry, you do not have the permission to annotate."))
def post_annotation(request): if request.user.has_perm('annotatetext.add_annotation'): return annotatetext_post_annotation(request) else: return HttpResponseForbidden(_("Sorry, you do not have the permission to annotate."))