| author | ymh <ymh.work@gmail.com> |
| Sun, 04 Mar 2012 04:14:43 +0100 | |
| changeset 586 | 9606d6acba7e |
| parent 170 | caa1986245d7 |
| child 896 | 72f7ec8a8789 |
| permissions | -rw-r--r-- |
from django.conf import settings import ldt def ldt_context(request): return {'BASE_URL': settings.BASE_URL, 'MEDIA_URL': settings.MEDIA_URL, \ 'LDT_MEDIA_PREFIX': settings.LDT_MEDIA_PREFIX, 'WEB_URL': settings.WEB_URL, \ 'ADMIN_MEDIA_PREFIX': settings.ADMIN_MEDIA_PREFIX, 'VERSION': ldt.get_version(), \ 'WEB_VERSION' : settings.WEB_VERSION, }