1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

account view now displays user public keys

This commit is contained in:
Ing. Jan KRCMAR 2017-11-15 12:55:05 +01:00
parent 6d153a6acf
commit fdca3cef9c
2 changed files with 25 additions and 1 deletions

View file

@ -146,6 +146,7 @@ def account(request, user_id):
user = User.objects.get(id=user_id)
user_insts = UserInstance.objects.filter(user_id=user_id)
instances = Instance.objects.all().order_by('name')
publickeys = UserSSHKey.objects.filter(user_id=user_id)
if request.method == 'POST':
if 'delete' in request.POST: