SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 5982080d authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Activate maintenancemode

parent 329aaa01
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,8 @@ INSTALLED_APPS = (
'stats',
'petitions',
'sitesserved',
'webpack_loader'
'webpack_loader',
'maintenancemode',
)
SITE_ID = 1
......@@ -176,6 +177,7 @@ MIDDLEWARE = (
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
'maintenancemode.middleware.MaintenanceModeMiddleware',
)
ROOT_URLCONF = 'SciPost_v1.urls'
......
......@@ -22,6 +22,7 @@ django-sphinxdoc==1.5.1
django-silk==2.0.0
django-recaptcha==1.3.1
django-webpack-loader==0.5
django-maintenancemode-2==1.1.11
# Documentation Packages
......
{% extends 'scipost/base.html' %}
{% block pagetitle %}: 503{% endblock pagetitle %}
{% block content %}
<div style="text-align: center;">
<img src="//scipost.org/static/scipost/images/logo_scipost_RGB_HTML_groot.png" alt="SciPost logo" width="240" style="margin-top: 20px; margin-bottom: 20px" />
<h1>We are currently in maintenance, please try again in a few minutes!</h1>
<h2>503</h2>
</div>
{% endblock %}
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