view gpp/templates/flatpages/default.html @ 370:e9a066db3f54

Adding some try/except around some key points in the code to protect against some IntegrityErrors. We log when these happens but otherwise keep going. Tickets: #160 and #169.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Mar 2011 00:40:50 +0000
parents 48b221d304c6
children
line wrap: on
line source
{% extends 'base.html' %}
{% block title %}{{ flatpage.title }}{% endblock %}
{% block content %}
<h2>{{ flatpage.title }}</h2>
{{ flatpage.content }}
{% endblock %}