##// 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:

r565:98476b33 1.7-dev
r1486:c55955ce default
Show More
__init__.py
9 lines | 270 B | text/x-python | PythonLexer
__author__ = 'neko259'
from django.views.decorators.cache import cache_page
from django.views.i18n import javascript_catalog
@cache_page(86400)
def cached_js_catalog(request, domain='djangojs', packages=None):
return javascript_catalog(request, domain, packages)