Commits

Kai Diefenbach committed d0b3c2b

Started simple example application

Comments (0)

Files changed (2)

reviews/example/__init__.py

Empty file added.

reviews/example/templates/flatpages/default.html

+{% load reviews_tags %}
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
+    "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+    <head>
+        <title>{{ flatpage.title }}</title>
+    </head>
+    <body>
+        {{ flatpage.content }}
+        {% average_for_instance flatpage %}
+
+        <hr>
+        {% reviews_for_instance flatpage %}
+        
+    </body>
+</html>