Skip to content
Snippets Groups Projects
Verified Commit 2c3dedaf authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

settings.development: Activate add-forge-now feature for development

Related to T4040
parent 0a796988
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2017-2019 The Software Heritage developers
# Copyright (C) 2017-2022 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
......@@ -9,9 +9,16 @@ Django development settings for swh-web.
from django.core.cache import cache
from swh.web.config import get_config
from .common import * # noqa
from .common import MIDDLEWARE
swh_web_config = get_config()
swh_web_config.update(
{"features": {"add_forge_now": True,},}
)
MIDDLEWARE += ["swh.web.common.middlewares.HtmlPrettifyMiddleware"]
AUTH_PASSWORD_VALIDATORS = [] # disable any pwd validation mechanism
......
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