| author | grandjoncl |
| Wed, 28 Nov 2012 12:27:08 +0100 | |
| changeset 995 | 94f9d36371f6 |
| parent 896 | 72f7ec8a8789 |
| child 1007 | a6d47caa7fc0 |
| permissions | -rw-r--r-- |
|
896
72f7ec8a8789
add correction for platform instance which are protected by a basic http login/password.
ymh <ymh.work@gmail.com>
parents:
170
diff
changeset
|
1 |
from ldt import settings |
| 63 | 2 |
import ldt |
| 0 | 3 |
|
4 |
||
| 170 | 5 |
def ldt_context(request): |
|
103
5578dcb54f4d
merge context_processors.py and enable upload cancel and remove temp file. Creation of a session temp folder for upload.
cavaliet
parents:
63
diff
changeset
|
6 |
return {'BASE_URL': settings.BASE_URL, 'MEDIA_URL': settings.MEDIA_URL, \ |
|
995
94f9d36371f6
new template tag absstatic to have absolute url for static file and avoid using LDT_MEDIA_PREFIX
grandjoncl
parents:
896
diff
changeset
|
7 |
'WEB_URL': settings.WEB_URL, \ |
| 161 | 8 |
'ADMIN_MEDIA_PREFIX': settings.ADMIN_MEDIA_PREFIX, 'VERSION': ldt.get_version(), \ |
9 |
'WEB_VERSION' : settings.WEB_VERSION, } |
|
| 0 | 10 |