mirror of https://github.com/django/django.git
Added missing snippet to show filename in docs
This commit is contained in:
parent
2e4200b5c7
commit
f3805f5c52
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue