Drop super-favicon, incompatible with newer Django

This commit is contained in:
Danielle McLean 2023-08-10 16:19:54 +10:00
parent 5ac46dad63
commit 7af8636687
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
3 changed files with 1202 additions and 919 deletions

View file

@ -39,7 +39,6 @@ django-cors-headers = "*"
python-baseconv = "*"
django-computed-property = "*"
docutils = "*"
django-super-favicon = "*"
django-redis = "*"
gevent = "*"
django-extensions = "*"
@ -49,6 +48,7 @@ jinja2 = "*"
msgpack = "*"
django-randomslugfield = "*"
ago = "*"
favicons = "*"
[dev-packages]
ptpython = "*"

2109
Pipfile.lock generated

File diff suppressed because it is too large Load diff

View file

@ -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'