mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #26124 -- Added missing code formatting to docs headers.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
====================================
|
||||
Writing custom django-admin commands
|
||||
====================================
|
||||
========================================
|
||||
Writing custom ``django-admin`` commands
|
||||
========================================
|
||||
|
||||
.. module:: django.core.management
|
||||
|
||||
@@ -329,8 +329,8 @@ the :meth:`~BaseCommand.handle` method must be implemented.
|
||||
|
||||
.. _ref-basecommand-subclasses:
|
||||
|
||||
BaseCommand subclasses
|
||||
----------------------
|
||||
``BaseCommand`` subclasses
|
||||
--------------------------
|
||||
|
||||
.. class:: AppCommand
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@ version >= 2.2 and mod_wsgi >= 2.0. For example, you could:
|
||||
.. _Subversion: http://subversion.tigris.org/
|
||||
.. _mod_dav: https://httpd.apache.org/docs/2.2/mod/mod_dav.html
|
||||
|
||||
Authentication with mod_wsgi
|
||||
============================
|
||||
Authentication with ``mod_wsgi``
|
||||
================================
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -100,8 +100,8 @@ details and information about alternative methods of authentication.
|
||||
.. _Defining Application Groups: https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#Defining_Application_Groups
|
||||
.. _access control mechanisms documentation: https://code.google.com/p/modwsgi/wiki/AccessControlMechanisms
|
||||
|
||||
Authorization with mod_wsgi and Django groups
|
||||
---------------------------------------------
|
||||
Authorization with ``mod_wsgi`` and Django groups
|
||||
-------------------------------------------------
|
||||
|
||||
mod_wsgi also provides functionality to restrict a particular location to
|
||||
members of a group.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
==========================================
|
||||
How to use Django with Apache and mod_wsgi
|
||||
==========================================
|
||||
==============================================
|
||||
How to use Django with Apache and ``mod_wsgi``
|
||||
==============================================
|
||||
|
||||
Deploying Django with Apache_ and `mod_wsgi`_ is a tried and tested way to get
|
||||
Django into production.
|
||||
@@ -91,8 +91,8 @@ should put in this file, and what else you can add to it.
|
||||
See the :ref:`unicode-files` section of the Unicode reference guide for
|
||||
details.
|
||||
|
||||
Using a virtualenv
|
||||
==================
|
||||
Using a ``virtualenv``
|
||||
======================
|
||||
|
||||
If you install your project's Python dependencies inside a `virtualenv`_,
|
||||
you'll need to add the path to this virtualenv's ``site-packages`` directory to
|
||||
@@ -113,8 +113,8 @@ Make sure you give the correct path to your virtualenv, and replace
|
||||
|
||||
.. _daemon-mode:
|
||||
|
||||
Using mod_wsgi daemon mode
|
||||
==========================
|
||||
Using ``mod_wsgi`` daemon mode
|
||||
==============================
|
||||
|
||||
"Daemon mode" is the recommended mode for running mod_wsgi (on non-Windows
|
||||
platforms). To create the required daemon process group and delegate the
|
||||
|
||||
@@ -29,8 +29,8 @@ matches the version you installed by executing::
|
||||
|
||||
python --version
|
||||
|
||||
About pip
|
||||
=========
|
||||
About ``pip``
|
||||
=============
|
||||
|
||||
`pip`_ is a package manage for Python. It makes installing and uninstalling
|
||||
Python packages (such as Django!) very easy. For the rest of the installation,
|
||||
|
||||
Reference in New Issue
Block a user