Page MenuHomeSoftware Heritage

development.py
No OneTemporary

development.py

# Copyright (C) 2017-2018 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
# flake8: noqa
"""
Django development settings for swh-web.
"""
import os
# guard to avoid side effects on the django settings when building the
# Debian package for swh-web
if os.environ['DJANGO_SETTINGS_MODULE'] == 'swh.web.settings.development':
from .common import *
MIDDLEWARE += ['swh.web.common.middlewares.HtmlPrettifyMiddleware']
from django.core.cache import cache
cache.clear()

File Metadata

Mime Type
text/plain
Expires
Jul 4 2025, 9:31 AM (5 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3349164

Event Timeline