I forgot to add the flatpages templates directory, whoops. Also fix a pluralization cosmetic thing in the admin interface for News entries.

This commit is contained in:
Greg Taylor 2007-07-31 18:28:42 +00:00
parent 613edc774f
commit 85d13fe16b
2 changed files with 13 additions and 0 deletions

View file

@ -36,6 +36,7 @@ class NewsEntry(models.Model):
class Meta:
ordering = ('-date_posted',)
verbose_name_plural = "News entries"
class Admin:
list_display = ('title', 'author', 'topic', 'date_posted')

View file

@ -0,0 +1,12 @@
{% extends "base.html" %}
{% block header_ext %}
{% endblock %}
{% block sidebar %}
{% endblock %}
{% block content %}
<h1 id="alt-layout">{{flatpage.title}}</h1>
{{flatpage.content}}
{% endblock %}