Mercurial > public > sg101
view gpp/templates/admin/gcalendar/change_list.html @ 322:c3d3d7114749
Fix #148; Django now requires AJAX posts to present the CSRF token. Added code suggested by Django docs to shoutbox.js. Since shoutbox.js is on every page, it should cover all cases.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 12 Feb 2011 21:37:17 +0000 |
parents | dbd703f7d63a |
children |
line wrap: on
line source
{% extends "admin/change_list.html" %} {% block object-tools %} {% if has_add_permission %} <ul class="object-tools"><li><a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink">Add {{ name }}</a></li> <li><a href="google_sync/">Google Sync</a></li> </ul> {% endif %} {% endblock %}