mirror of
https://github.com/retspen/webvirtcloud
synced 2025-01-12 16:35:17 +00:00
Update views.py
fix request.user.userattributes in instance views.py error
This commit is contained in:
parent
ad373cff7b
commit
abd53175cc
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue