@admin_required
@post_required
def featured_collection(request):
    try:
        pk = int(request.POST.get('collection', 0))
    except __HOLE__:
        pk = 0
    c = get_object_or_404(Collection, pk=pk)
    return render(request, 'zadmin/featured_collection.html',
                  dict(collection=c))
dataset/ETHPy150Open mozilla/addons-server/src/olympia/zadmin/views.py/featured_collection