Remove django-shorturls with my own implementation, since it's incompatible with Django 2 and unmaintained

This commit is contained in:
Danielle McLean 2018-03-21 21:50:40 +11:00
parent 27e0cb9a34
commit 098284a617
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
18 changed files with 252 additions and 184 deletions

View file

@ -81,12 +81,12 @@ INSTALLED_APPS = [
'django_rq',
'favicon',
'meta',
'shorturls',
'lemoncurry',
'entries',
'home',
'lemonauth',
'lemonshort',
'micropub',
'users',
'webmention',
@ -240,8 +240,8 @@ DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': 'lemoncurry.debug.show_toolbar',
}
# django-shorturls
# https://pypi.python.org/pypi/django-shorturls
# lemonshort
SHORT_BASE_URL = '/s/'
SHORTEN_MODELS = {
'e': 'entries.entry',
}