aboutsummaryrefslogtreecommitdiffstats
path: root/examples/djangoproject
diff options
context:
space:
mode:
authorTeddy Wing2014-04-20 00:25:23 -0400
committerTeddy Wing2014-04-20 00:26:27 -0400
commit3b2234d0fb827533fa42a7920fafc8de3c4b92c2 (patch)
tree81d5130febfa8c50f086be5aecf06f470a27fd67 /examples/djangoproject
parent90b8096f1fb9b06880d1b9b61b2a02e067d54003 (diff)
downloaddjango-sneak-peek-3b2234d0fb827533fa42a7920fafc8de3c4b92c2.tar.bz2
Add sneak_peek to example project template
Put in a test sneak_peek template tag on the index page of the example project.
Diffstat (limited to 'examples/djangoproject')
-rw-r--r--examples/djangoproject/djangoproject/templates/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/djangoproject/djangoproject/templates/index.html b/examples/djangoproject/djangoproject/templates/index.html
index e0008f6..4cf8087 100644
--- a/examples/djangoproject/djangoproject/templates/index.html
+++ b/examples/djangoproject/djangoproject/templates/index.html
@@ -1,6 +1,12 @@
{% extends 'base.html' %}
+{% load sneak_peek %}
+
{% block content %}
+
+{% sneak_peek %}
test
+{% endsneak_peek %}
+
{% endblock %} \ No newline at end of file