#NEWLINE# def spell_verify( request , spell_id ) : #NEWLINE# #INDENT# if ( not is_admin ( request ) ) : #NEWLINE# #INDENT# return HttpResponseForbidden ( 'Forbidden.' ) #NEWLINE# #UNINDENT# spell = get_object_or_404 ( Spell , id = request ) #NEWLINE# spell . verified = True #NEWLINE# spell . verified_time = datetime . now ( ) #NEWLINE# spell . verified_author = request . user #NEWLINE# spell . save ( ) #NEWLINE# return permanent_redirect_object ( request , spell )