@login_required @check_company_admin def some_view(request, company): # Even though the slug is in the URL. We are getting a company # object back from the decorator .... view logic .... return render(request, 'company/index.html', {'company': company})