mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
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``
|
||||
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…
Reference in New Issue
Block a user