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:
parent
613edc774f
commit
85d13fe16b
2 changed files with 13 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class NewsEntry(models.Model):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
ordering = ('-date_posted',)
|
ordering = ('-date_posted',)
|
||||||
|
verbose_name_plural = "News entries"
|
||||||
|
|
||||||
class Admin:
|
class Admin:
|
||||||
list_display = ('title', 'author', 'topic', 'date_posted')
|
list_display = ('title', 'author', 'topic', 'date_posted')
|
||||||
|
|
|
||||||
12
webtemplates/prosimii/flatpages/default.html
Normal file
12
webtemplates/prosimii/flatpages/default.html
Normal 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 %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue