--- a/src/ldt/ldt/settings.py Wed May 27 11:55:15 2015 +0200
+++ b/src/ldt/ldt/settings.py Thu May 28 11:03:58 2015 +0200
@@ -79,7 +79,6 @@
TEST_WEBSERVER_ADDRPORT = getattr(settings, 'TEST_WEBSERVER_ADDRPORT', '127.0.0.1:8000')
ACCOUNT_ACTIVATION_DAYS = getattr(settings, 'ACCOUNT_ACTIVATION_DAYS', 7)
-LDT_MEDIA_PREFIX = getattr(settings, 'LDT_MEDIA_PREFIX', MEDIA_URL + 'ldt/')
LDT_MAX_SEARCH_NUMBER = getattr(settings, 'LDT_MAX_SEARCH_NUMBER', 50)
LDT_MAX_FRAGMENT_PER_SEARCH = getattr(settings, 'LDT_MAX_FRAGMENT_PER_SEARCH', 3)
LDT_RESULTS_PER_PAGE = getattr(settings, 'LDT_RESULTS_PER_PAGE', 1)
--- a/src/ldt/ldt/templatetags/ldtmedia.py Wed May 27 11:55:15 2015 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-from django.template import Library
-
-register = Library()
-
-def ldt_media_prefix():
- """
- Returns the string contained in the setting LDT_MEDIA_PREFIX.
- """
- try:
- from django.conf import settings
- except ImportError:
- return ''
- return settings.LDT_MEDIA_PREFIX
-ldt_media_prefix = register.simple_tag(ldt_media_prefix)