diff options
author | 2022-10-29 10:37:45 +0800 | |
---|---|---|
committer | 2023-05-06 11:04:36 +0200 | |
commit | a34ebfa67838acac9f2651d7eba7a7472a4bd4ec (patch) | |
tree | 5c156ae5da1e893f584108c52a9ac6072f72865c /pydis_site/settings.py | |
parent | Edit on GitHub link instead of button (diff) |
Use content articles source url in django.conf.settings
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r-- | pydis_site/settings.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index e9e0ba67..9da9a156 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -332,3 +332,8 @@ REDIRECTIONS_PATH = Path(BASE_DIR, "pydis_site", "apps", "redirect", "redirects. # How long to wait for synchronous requests before timing out TIMEOUT_PERIOD = env("TIMEOUT_PERIOD") + +# Source files url for 'Edit on GitHub' link on content articles +CONTENT_SRC_URL = ( + "https://github.com/python-discord/site/tree/main/pydis_site/apps/content/resources/" +) |