@login_required
@permission_required('flagit.can_moderate')
def queue(request, content_type=None):
 return render(request, 'flagit/queue.html', {'objects': FlaggedObject.objects.pending()})

@ login_required @ permission_required ( 'flagit.can_moderate' ) def queue ( request , content_type = None ) : return render ( request , 'flagit/queue.html' , { 'objects' : FlaggedObject . objects . pending ( ) } )
the moderation queue .