'Redirect to the list view for the given user.'

def post(self, request):

    username = request.POST.get('username')
    if (not username):
        return redirect(reverse('api_admin:catalog-search'))
    return redirect(reverse('api_admin:catalog-list', kwargs={'username': username}))
