From abd53175cceb812c4a44142eb2ecaa52240b85e7 Mon Sep 17 00:00:00 2001 From: lvhaidong Date: Tue, 2 Apr 2019 13:42:57 +0800 Subject: [PATCH] Update views.py fix request.user.userattributes in instance views.py error --- instances/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/views.py b/instances/views.py index ae0ed65..4145da1 100644 --- a/instances/views.py +++ b/instances/views.py @@ -154,7 +154,7 @@ def instance(request, compute_id, vname): return free_names def check_user_quota(instance, cpu, memory, disk_size): - ua = request.user.userattributes + ua = request.user msg = "" if request.user.is_superuser: