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
2
Pipfile
2
Pipfile
|
@ -39,7 +39,6 @@ django-cors-headers = "*"
|
||||||
python-baseconv = "*"
|
python-baseconv = "*"
|
||||||
django-computed-property = "*"
|
django-computed-property = "*"
|
||||||
docutils = "*"
|
docutils = "*"
|
||||||
django-super-favicon = "*"
|
|
||||||
django-redis = "*"
|
django-redis = "*"
|
||||||
gevent = "*"
|
gevent = "*"
|
||||||
django-extensions = "*"
|
django-extensions = "*"
|
||||||
|
@ -49,6 +48,7 @@ jinja2 = "*"
|
||||||
msgpack = "*"
|
msgpack = "*"
|
||||||
django-randomslugfield = "*"
|
django-randomslugfield = "*"
|
||||||
ago = "*"
|
ago = "*"
|
||||||
|
favicons = "*"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
ptpython = "*"
|
ptpython = "*"
|
||||||
|
|
2109
Pipfile.lock
generated
2109
Pipfile.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = [] # type: List[str]
|
ALLOWED_HOSTS: List[str] = []
|
||||||
INTERNAL_IPS = ['127.0.0.1', '::1']
|
INTERNAL_IPS = ['127.0.0.1', '::1']
|
||||||
|
|
||||||
# Settings to tighten up security - these can safely be on in dev mode too,
|
# 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_static',
|
||||||
'django_otp.plugins.otp_totp',
|
'django_otp.plugins.otp_totp',
|
||||||
'django_rq',
|
'django_rq',
|
||||||
'favicon',
|
|
||||||
'meta',
|
'meta',
|
||||||
|
|
||||||
'entries',
|
'entries',
|
||||||
|
@ -232,7 +231,9 @@ STATICFILES_FINDERS = (
|
||||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||||
'compressor.finders.CompressorFinder',
|
'compressor.finders.CompressorFinder',
|
||||||
)
|
)
|
||||||
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
STATICFILES_STORAGE = (
|
||||||
|
'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
||||||
|
)
|
||||||
|
|
||||||
COMPRESS_PRECOMPILERS = (
|
COMPRESS_PRECOMPILERS = (
|
||||||
('text/stylus', 'npx stylus -u ./lemoncurry/static/lemoncurry/css/theme'),
|
('text/stylus', 'npx stylus -u ./lemoncurry/static/lemoncurry/css/theme'),
|
||||||
|
@ -273,6 +274,3 @@ PUSH_HUB = 'https://00dani.superfeedr.com/'
|
||||||
# django-rq
|
# django-rq
|
||||||
# https://github.com/ui/django-rq
|
# https://github.com/ui/django-rq
|
||||||
RQ_QUEUES = {'default': {'USE_REDIS_CACHE': 'default'}}
|
RQ_QUEUES = {'default': {'USE_REDIS_CACHE': 'default'}}
|
||||||
|
|
||||||
# django-super-favicon
|
|
||||||
FAVICON_STORAGE = 'django.core.files.storage.DefaultStorage'
|
|
||||||
|
|
Loading…
Reference in a new issue