Added editing of flat pages. Added slugfields to models to refer to them.

This commit is contained in:
Martin Green
2011-06-02 19:16:16 +01:00
parent ede9e4a9bd
commit 50545af223
17 changed files with 376 additions and 20 deletions

View File

@@ -0,0 +1,12 @@
{% extends "base.html" %}
{% block title %}Edit {{ path }}{% endblock %}
{% block head %}
{% load csrffaker %}
<script src="{{ settings.TINY_MCE_MEDIA_URL }}tiny_mce.js" type="text/javascript"></script>
{% endblock %}
{% block content %}
<form action="" method="post">{% csrf_token %}
{{form}}
<p><input type="submit" value="Submit" /></p>
</form>
{% endblock %}