mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.5.x] Fixed #20286 - Typo in static files docs.
Thanks bmispelon. Backport of f71fdf83a8 from master
This commit is contained in:
parent
807264ed8d
commit
d8d498347f
@ -32,7 +32,7 @@ Configuring static files
|
|||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
<img src="{% static "my_app/myexample.jpg" %}" alt="My image"/>
|
<img src="{% static "my_app/myexample.jpg" %}" alt="My image"/>
|
||||||
|
|
||||||
3. Store your static files in a folder called ``static`` in your app. For
|
4. Store your static files in a folder called ``static`` in your app. For
|
||||||
example ``my_app/static/my_app/myimage.jpg``.
|
example ``my_app/static/my_app/myimage.jpg``.
|
||||||
|
|
||||||
Now, if you use ``./manage.py runserver``, all static files should be served
|
Now, if you use ``./manage.py runserver``, all static files should be served
|
||||||
|
Loading…
x
Reference in New Issue
Block a user