mirror of
https://github.com/retspen/webvirtcloud
synced 2026-03-22 18:44:49 +00:00
Added django-login-required-middleware
Thus eliminating need for login_requred decorator on every view
This commit is contained in:
parent
d8b0246a78
commit
a5bf337052
3 changed files with 8 additions and 9 deletions
|
|
@ -16,6 +16,7 @@ from vrtManager.connection import (CONN_SOCKET, CONN_SSH, CONN_TCP, CONN_TLS, co
|
|||
from vrtManager.hostdetails import wvmHostDetails
|
||||
|
||||
|
||||
|
||||
@superuser_only
|
||||
def computes(request):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue