Loading docs/intro/tutorial03.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading docs/ref/contrib/messages.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/intro/tutorial03.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/ref/contrib/messages.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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