aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
authorGravatar Kieran Siek <[email protected]>2020-07-15 10:36:38 +0800
committerGravatar GitHub <[email protected]>2020-07-15 10:36:38 +0800
commit183533240fd74575bda1274c0ea426e693549060 (patch)
treeedbaec8a7119e4d5aaf4c9ce0a1cce11e2f6cbed /pydis_site/settings.py
parentCatch ConnectionError when trying to get updated repository data (diff)
parentFix linting issues caused by refactor. (diff)
Merge pull request #368 from python-discord/remove_django_crispy_bulma
Removes django-crispy-bulma as a dependency.
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 5f80a414..2c87007c 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -52,6 +52,8 @@ if DEBUG:
'api.pythondiscord.local',
'admin.pythondiscord.local',
'staff.pythondiscord.local',
+ '0.0.0.0', # noqa: S104
+ 'localhost',
'web',
'api.web',
'admin.web',
@@ -104,8 +106,6 @@ INSTALLED_APPS = [
'allauth.socialaccount.providers.discord',
'allauth.socialaccount.providers.github',
- 'crispy_forms',
- 'django_crispy_bulma',
'django_hosts',
'django_filters',
'django_nyt.apps.DjangoNytConfig',
@@ -288,7 +288,6 @@ LOGGING = {
}
# Django Messages framework config
-
MESSAGE_TAGS = {
messages.DEBUG: 'primary',
messages.INFO: 'info',
@@ -297,17 +296,6 @@ MESSAGE_TAGS = {
messages.ERROR: 'danger',
}
-# Custom settings for Crispyforms
-CRISPY_ALLOWED_TEMPLATE_PACKS = (
- "bootstrap",
- "uni_form",
- "bootstrap3",
- "bootstrap4",
- "bulma",
-)
-
-CRISPY_TEMPLATE_PACK = "bulma"
-
# Custom settings for django-simple-bulma
BULMA_SETTINGS = {
"variables": { # If you update these colours, please update the notification.css file