##// END OF EJS Templates
Updated urls list to be a plain list instead of 'patterns' method which is...
Updated urls list to be a plain list instead of 'patterns' method which is deprecated and will be removed in 1.10

File last commit:

r1393:22dd8fd4 default
r1486:c55955ce default
Show More
translation.py
7 lines | 252 B | text/x-python | PythonLexer
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)