mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Added backticks to code literals in various docs.
This commit is contained in:
@@ -167,7 +167,7 @@ You could import ``mysite.settings``, ``mysite.urls``, and ``mysite.myapp``,
|
||||
but not ``settings``, ``urls``, or ``myapp`` as top-level modules.
|
||||
|
||||
Anything imported as a top-level module can be placed adjacent to the new
|
||||
``manage.py``. For instance, to decouple "myapp" from the project module and
|
||||
``manage.py``. For instance, to decouple ``myapp`` from the project module and
|
||||
import it as just ``myapp``, place it outside the ``mysite/`` directory::
|
||||
|
||||
manage.py
|
||||
@@ -1060,7 +1060,7 @@ Session cookies now have the ``httponly`` flag by default
|
||||
|
||||
Session cookies now include the ``httponly`` attribute by default to
|
||||
help reduce the impact of potential XSS attacks. As a consequence of
|
||||
this change, session cookie data, including sessionid, is no longer
|
||||
this change, session cookie data, including ``sessionid``, is no longer
|
||||
accessible from JavaScript in many browsers. For strict backwards
|
||||
compatibility, use ``SESSION_COOKIE_HTTPONLY = False`` in your
|
||||
settings file.
|
||||
|
||||
Reference in New Issue
Block a user