diff options
| author | 2021-03-30 13:26:11 +0300 | |
|---|---|---|
| committer | 2021-03-30 13:26:11 +0300 | |
| commit | 397d143161563fcdfcec32637e8d4d03dd6541f2 (patch) | |
| tree | f2d32e6f9b8dae443ab8936cbcd4d03bc78fcaa4 /pydis_site/settings.py | |
| parent | Fix applying description changes to wrong places (diff) | |
| parent | Merge pull request #393 from ks129/guides-app (diff) | |
Merge branch 'dewikification' into resources-lists
Diffstat (limited to 'pydis_site/settings.py')
| -rw-r--r-- | pydis_site/settings.py | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 9211d02c..47750a47 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -13,6 +13,7 @@ https://docs.djangoproject.com/en/2.1/ref/settings/  import os  import secrets  import sys +from pathlib import Path  import environ  import sentry_sdk @@ -84,6 +85,8 @@ INSTALLED_APPS = [      'pydis_site.apps.home',      'pydis_site.apps.staff',      'pydis_site.apps.resources', +    'pydis_site.apps.content', +    'pydis_site.apps.events',      'django.contrib.admin',      'django.contrib.auth', @@ -116,6 +119,9 @@ MIDDLEWARE = [  ]  ROOT_URLCONF = 'pydis_site.urls' +# Path for events pages +PAGES_PATH = Path(BASE_DIR, "pydis_site", "templates", "events", "pages") +  TEMPLATES = [      {          'BACKEND': 'django.template.backends.django.DjangoTemplates', @@ -276,3 +282,10 @@ BULMA_SETTINGS = {          "tooltip-max-width": "30rem",      },  } + +# Information about site repository +SITE_REPOSITORY_OWNER = "python-discord" +SITE_REPOSITORY_NAME = "site" +SITE_REPOSITORY_BRANCH = "master" + +PAGES_PATH = Path(BASE_DIR, "pydis_site", "apps", "content", "resources") | 
