mirror of
https://github.com/django/django.git
synced 2025-01-11 02:46:13 +00:00
Fixed two malformed links.
This commit is contained in:
parent
4b3f7110ae
commit
14d1d504d5
@ -277,7 +277,7 @@ you want to change the way the page looks, you'll have to edit this Python code.
|
||||
So let's use Django's template system to separate the design from Python.
|
||||
|
||||
First, create a directory ``polls`` in your template directory you specified
|
||||
in setting:`TEMPLATE_DIRS`. Within that, create a file called ``index.html``.
|
||||
in :setting:`TEMPLATE_DIRS`. Within that, create a file called ``index.html``.
|
||||
Put the following code in that template:
|
||||
|
||||
.. code-block:: html+django
|
||||
|
@ -78,7 +78,7 @@ Django provides three built-in storage classes:
|
||||
|
||||
:class:`~django.contrib.messages.storage.fallback.FallbackStorage` is the
|
||||
default storage class. If it isn't suitable to your needs, you can select
|
||||
another storage class by setting setting:`MESSAGE_STORAGE` to its full import
|
||||
another storage class by setting :setting:`MESSAGE_STORAGE` to its full import
|
||||
path, for example::
|
||||
|
||||
MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'
|
||||
|
Loading…
Reference in New Issue
Block a user