##// END OF EJS Templates
Moved signatures block to the model block. All the signed content is in the 'content' block now. Removed edit time, previous and next posts links from the XML sync output because they can be computed from the post itself and can be changed locally for foreign posts (which breaks the signature)
Moved signatures block to the model block. All the signed content is in the 'content' block now. Removed edit time, previous and next posts links from the XML sync output because they can be computed from the post itself and can be changed locally for foreign posts (which breaks the signature)

File last commit:

r565:98476b33 1.7-dev
r838:2b96b9e7 decentral
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)