Add news system, still miss nices templates and moderation tools

This commit is contained in:
Skia
2016-12-23 03:02:46 +01:00
parent f79ffbee7d
commit 1ca6bf7c62
9 changed files with 372 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
{% extends "core/base.jinja" %}
{% block title %}
{% trans %}News{% endtrans %} -
{{ object.title }}
{% endblock %}
{% block content %}
<h3>{% trans %}News{% endtrans %}</h3>
{{ object }}
{{ object.dates.all() }}
{% endblock %}