Skip to content
Snippets Groups Projects
Commit 1ca372f5 authored by Fabien  MAREUIL's avatar Fabien MAREUIL
Browse files

style black

parent 2acbeee8
No related branches found
No related tags found
1 merge request!29Prepare for v1.1.0
Pipeline #46850 passed
# -*- coding: utf-8 -*-
from django.http import HttpResponseRedirect
from maintenance_mode.core import set_maintenance_mode
......@@ -13,7 +10,7 @@ def maintenance_mode_off(request):
if request.user.is_superuser:
set_maintenance_mode(False)
return HttpResponseRedirect('/admin')
return HttpResponseRedirect("/admin")
def maintenance_mode_on(request):
......@@ -24,4 +21,4 @@ def maintenance_mode_on(request):
if request.user.is_superuser:
set_maintenance_mode(True)
return HttpResponseRedirect('/admin')
\ No newline at end of file
return HttpResponseRedirect("/admin")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment