Added missing snippet to show filename in docs

This commit is contained in:
Alasdair Nicol 2014-02-14 12:45:35 +00:00
parent 2e4200b5c7
commit f3805f5c52
1 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,10 @@ Write your first view
===================== =====================
Let's write the first view. Open the file ``polls/views.py`` Let's write the first view. Open the file ``polls/views.py``
and put the following Python code in it:: and put the following Python code in it:
.. snippet::
:filename: polls/views.py
from django.http import HttpResponse from django.http import HttpResponse