annotate gpp/templates/flatpages/default.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 48b221d304c6
children
rev   line source
bgneal@42 1 {% extends 'base.html' %}
bgneal@42 2 {% block title %}{{ flatpage.title }}{% endblock %}
bgneal@42 3 {% block content %}
bgneal@42 4 <h2>{{ flatpage.title }}</h2>
bgneal@42 5 {{ flatpage.content }}
bgneal@42 6 {% endblock %}