def dashboard(request): orders = user_orders(request) return render( request, 'account/user/dashboard.html', {'orders': orders}, )
def dashboard(request): orders = user_orders(request) return render(request, 'account/dashboard/dashboard.html', { 'section': 'profile', 'orders': orders })
def dashboard(request): orders = user_orders(request) context={'orders':orders} return render(request,'account/user/dashboard.html',context)
def dashboard(request): orders = user_orders(request) return render(request, "account/dashboard/dashboard.html", { "section": "profile", "orders": orders })