From a0b983454e035413e7c37adfa561fb4269535571 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 21 Apr 2014 15:56:36 -0400 Subject: Add page to example project for screenshots Need a page to use for screenshots for the README. Decided to integrate it into the example project. * Create screenshots.html template * Add route in urls.py --- .../djangoproject/templates/screenshots.html | 67 ++++++++++++++++++++++ examples/djangoproject/djangoproject/urls.py | 1 + 2 files changed, 68 insertions(+) create mode 100644 examples/djangoproject/djangoproject/templates/screenshots.html (limited to 'examples') diff --git a/examples/djangoproject/djangoproject/templates/screenshots.html b/examples/djangoproject/djangoproject/templates/screenshots.html new file mode 100644 index 0000000..c7c8f5e --- /dev/null +++ b/examples/djangoproject/djangoproject/templates/screenshots.html @@ -0,0 +1,67 @@ + +{% load static %} +{% load sneak_peek %} + + + + Sneak Peek Example + + + + + + + +

+ Day of Sagittarius
+ III +

+ +
+
+ +
+ + {% sneak_peek %} +
+ +
+ {% endsneak_peek %} +
+ + \ No newline at end of file diff --git a/examples/djangoproject/djangoproject/urls.py b/examples/djangoproject/djangoproject/urls.py index 37cf2ee..6ea5ff0 100644 --- a/examples/djangoproject/djangoproject/urls.py +++ b/examples/djangoproject/djangoproject/urls.py @@ -7,5 +7,6 @@ admin.autodiscover() urlpatterns = patterns('', url(r'^$', TemplateView.as_view(template_name='index.html'), name='index'), + url(r'^screenshots/$', TemplateView.as_view(template_name='screenshots.html'), name='index'), url(r'^admin/', include(admin.site.urls)), ) -- cgit v1.2.3