Replace django-moderation with CaseStudy.visible

This commit is contained in:
Carl van Tonder
2018-03-27 00:14:01 -04:00
parent 9a98520cca
commit 63a52a1f7f
8 changed files with 63 additions and 23 deletions

View File

@ -60,7 +60,6 @@ INSTALLED_APPS = [
'django_extensions',
'envelope',
'leaflet',
'moderation',
'raven.contrib.django.raven_compat',
'registration',
'rest_framework',
@ -252,10 +251,6 @@ LEAFLET_CONFIG = {
},
}
# Moderation
# https://django-moderation.readthedocs.io/
MODERATION_MODERATORS = ('livvy@base.nu',)
# Sentry - Error Reporting
RAVEN_CONFIG = {
'dsn': 'https://296dda892e6e4838835a2330dd621569:10943d15104244d683fe5ccc0c898386@sentry.io/227480',
@ -272,4 +267,4 @@ AVATAR_CLEANUP_DELETED = True
from django.contrib.messages import constants as messages
MESSAGE_TAGS = {
messages.ERROR: 'danger'
}
}