@menu_item("deities")
def deity_list_mobile(request):
    f = DeityFilter(request.GET, queryset=Deity.objects.all())

    form_submitted = 1 if request.GET in '_filter' else 0

    paginator = DndMobilePaginator(f.qs, request)

    return render_to_response('dnd/mobile/deities/deity_list.html',
                              {
                                  'request': request,
                                  'deity_list': paginator.items(),
                                  'paginator': paginator,
                                  'filter': f,
                                  'form_submitted': form_submitted,
                              }, context_instance=RequestContext(request), )
dataset/ETHPy150Open dndtools/dndtools/dndtools/dnd/mobile/deities/views.py/deity_list_mobile/swapped operands of `in`