Provide simple support for fetching entries in AMP format - can't handle images yet and needs some other tweaks, but works nicely so far c:

This commit is contained in:
Danielle McLean 2018-01-13 14:49:38 +11:00
parent 3e4f55fa9c
commit 40ead1bbe1
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
9 changed files with 131 additions and 1 deletions

View file

@ -223,6 +223,12 @@ AGENT_COOKIE_SECURE = True
# django-cors-headers
CORS_ORIGIN_ALLOW_ALL = True
# django-debug-toolbar
# https://django-debug-toolbar.readthedocs.io/en/stable/configuration.html
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': 'lemoncurry.debug.show_toolbar',
}
# django-shorturls
# https://pypi.python.org/pypi/django-shorturls
SHORTEN_MODELS = {