Set category and tag refers to a Blog

This commit is contained in:
2012-10-09 20:47:12 +02:00
parent d30bb18e43
commit 76cda68611
10 changed files with 64 additions and 41 deletions

View File

@@ -1,6 +1,7 @@
{% extends "templates/base.html" %}
{% block content %}
<a href="/category/{{ blog.id }}">Categories</a>
{% if user.is_superuser %}
<form action="/blog/edit/{{ blog.id }}" method="post">
{% csrf_token %}