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

Add new rule and tags

This commit is contained in:
Retspen 2015-03-03 16:53:10 +02:00
parent 5960e94da5
commit 8f5ccb3519
13 changed files with 156 additions and 27 deletions

View file

@ -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 = []