mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Added django-login-required-middleware
Thus eliminating need for login_requred decorator on every view
This commit is contained in:
parent
6d82c2820b
commit
38befa4362
14 changed files with 12 additions and 54 deletions
|
@ -1,6 +1,5 @@
|
|||
import re
|
||||
from django.shortcuts import render
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from instances.models import Instance
|
||||
from vrtManager.instance import wvmInstance
|
||||
from webvirtcloud.settings import WS_PUBLIC_PORT
|
||||
|
@ -8,7 +7,6 @@ from webvirtcloud.settings import WS_PUBLIC_HOST
|
|||
from libvirt import libvirtError
|
||||
|
||||
|
||||
@login_required
|
||||
def console(request):
|
||||
"""
|
||||
:param request:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue