mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Added missing snippet to show filename in docs
This commit is contained in:
parent
2e4200b5c7
commit
f3805f5c52
1 changed files with 4 additions and 1 deletions
|
@ -62,7 +62,10 @@ Write your first view
|
|||
=====================
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue