##// END OF EJS Templates
Added support for partial import: when the reply is imported but the original post is not, the reply will be connected after the original post is ready
Added support for partial import: when the reply is imported but the original post is not, the reply will be connected after the original post is ready

File last commit:

r1393:22dd8fd4 default
r1588:b69fb396 default
Show More
translation.py
7 lines | 252 B | text/x-python | PythonLexer
neko259
Cache javascript translations
r1393 from django.views.decorators.cache import cache_page
from django.views.i18n import javascript_catalog
@cache_page(600)
def cached_javascript_catalog(request, domain='djangojs', packages=None):
return javascript_catalog(request, domain, packages)