mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-05 20:09:38 +00:00
Add new rule and tags
This commit is contained in:
@@ -18,7 +18,7 @@ def networks(request, compute_id):
|
||||
if not request.user.is_authenticated():
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
||||
if not request.user.is_superuser():
|
||||
if not request.user.is_superuser:
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
||||
error_messages = []
|
||||
|
||||
Reference in New Issue
Block a user