forked from 00dani/lemoncurry
Drop super-favicon, incompatible with newer Django
This commit is contained in:
parent
5ac46dad63
commit
7af8636687
3 changed files with 1202 additions and 919 deletions
|
@ -31,7 +31,7 @@ SECRET_KEY = '6riil57g@r^wprf7mdy((+bs&(6l*phcn9&fd$l0@t-kzj+xww'
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = [] # type: List[str]
|
||||
ALLOWED_HOSTS: List[str] = []
|
||||
INTERNAL_IPS = ['127.0.0.1', '::1']
|
||||
|
||||
# Settings to tighten up security - these can safely be on in dev mode too,
|
||||
|
@ -90,7 +90,6 @@ INSTALLED_APPS = [
|
|||
'django_otp.plugins.otp_static',
|
||||
'django_otp.plugins.otp_totp',
|
||||
'django_rq',
|
||||
'favicon',
|
||||
'meta',
|
||||
|
||||
'entries',
|
||||
|
@ -232,7 +231,9 @@ STATICFILES_FINDERS = (
|
|||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||
'compressor.finders.CompressorFinder',
|
||||
)
|
||||
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
||||
STATICFILES_STORAGE = (
|
||||
'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
||||
)
|
||||
|
||||
COMPRESS_PRECOMPILERS = (
|
||||
('text/stylus', 'npx stylus -u ./lemoncurry/static/lemoncurry/css/theme'),
|
||||
|
@ -273,6 +274,3 @@ PUSH_HUB = 'https://00dani.superfeedr.com/'
|
|||
# django-rq
|
||||
# https://github.com/ui/django-rq
|
||||
RQ_QUEUES = {'default': {'USE_REDIS_CACHE': 'default'}}
|
||||
|
||||
# django-super-favicon
|
||||
FAVICON_STORAGE = 'django.core.files.storage.DefaultStorage'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue