Loading docs/howto/custom-management-commands.txt +5 −5 Original line number Diff line number Diff line ==================================== Writing custom django-admin commands ==================================== ======================================== Writing custom ``django-admin`` commands ======================================== .. module:: django.core.management Loading Loading @@ -329,8 +329,8 @@ the :meth:`~BaseCommand.handle` method must be implemented. .. _ref-basecommand-subclasses: BaseCommand subclasses ---------------------- ``BaseCommand`` subclasses -------------------------- .. class:: AppCommand Loading docs/howto/deployment/wsgi/apache-auth.txt +4 −4 Original line number Diff line number Diff line Loading @@ -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:: Loading Loading @@ -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. Loading docs/howto/deployment/wsgi/modwsgi.txt +7 −7 Original line number Diff line number Diff line ========================================== 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. Loading Loading @@ -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 Loading @@ -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 Loading docs/howto/windows.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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, Loading docs/ref/checks.txt +8 −8 Original line number Diff line number Diff line Loading @@ -321,8 +321,8 @@ with the admin site: * **admin.E035**: The value of ``readonly_fields[n]`` is not a callable, an attribute of ``<ModelAdmin class>``, or an attribute of ``<model>``. ModelAdmin ~~~~~~~~~~ ``ModelAdmin`` ~~~~~~~~~~~~~~ The following checks are performed on any :class:`~django.contrib.admin.ModelAdmin` that is registered Loading Loading @@ -377,8 +377,8 @@ with the admin site: * **admin.E128**: The value of ``date_hierarchy`` must be a ``DateField`` or ``DateTimeField``. InlineModelAdmin ~~~~~~~~~~~~~~~~ ``InlineModelAdmin`` ~~~~~~~~~~~~~~~~~~~~ The following checks are performed on any :class:`~django.contrib.admin.InlineModelAdmin` that is registered as an Loading @@ -394,8 +394,8 @@ inline on a :class:`~django.contrib.admin.ModelAdmin`. * **admin.E206**: The value of ``formset`` must inherit from ``BaseModelFormSet``. GenericInlineModelAdmin ~~~~~~~~~~~~~~~~~~~~~~~ ``GenericInlineModelAdmin`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~ The following checks are performed on any :class:`~django.contrib.contenttypes.admin.GenericInlineModelAdmin` that is Loading @@ -409,8 +409,8 @@ registered as an inline on a :class:`~django.contrib.admin.ModelAdmin`. * **admin.E304**: ``<model>`` has no ``GenericForeignKey`` using content type field ``<field name>`` and object ID field ``<field name>``. AdminSite ~~~~~~~~~ ``AdminSite`` ~~~~~~~~~~~~~ The following checks are performed on the default :class:`~django.contrib.admin.AdminSite`: Loading Loading
docs/howto/custom-management-commands.txt +5 −5 Original line number Diff line number Diff line ==================================== Writing custom django-admin commands ==================================== ======================================== Writing custom ``django-admin`` commands ======================================== .. module:: django.core.management Loading Loading @@ -329,8 +329,8 @@ the :meth:`~BaseCommand.handle` method must be implemented. .. _ref-basecommand-subclasses: BaseCommand subclasses ---------------------- ``BaseCommand`` subclasses -------------------------- .. class:: AppCommand Loading
docs/howto/deployment/wsgi/apache-auth.txt +4 −4 Original line number Diff line number Diff line Loading @@ -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:: Loading Loading @@ -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. Loading
docs/howto/deployment/wsgi/modwsgi.txt +7 −7 Original line number Diff line number Diff line ========================================== 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. Loading Loading @@ -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 Loading @@ -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 Loading
docs/howto/windows.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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, Loading
docs/ref/checks.txt +8 −8 Original line number Diff line number Diff line Loading @@ -321,8 +321,8 @@ with the admin site: * **admin.E035**: The value of ``readonly_fields[n]`` is not a callable, an attribute of ``<ModelAdmin class>``, or an attribute of ``<model>``. ModelAdmin ~~~~~~~~~~ ``ModelAdmin`` ~~~~~~~~~~~~~~ The following checks are performed on any :class:`~django.contrib.admin.ModelAdmin` that is registered Loading Loading @@ -377,8 +377,8 @@ with the admin site: * **admin.E128**: The value of ``date_hierarchy`` must be a ``DateField`` or ``DateTimeField``. InlineModelAdmin ~~~~~~~~~~~~~~~~ ``InlineModelAdmin`` ~~~~~~~~~~~~~~~~~~~~ The following checks are performed on any :class:`~django.contrib.admin.InlineModelAdmin` that is registered as an Loading @@ -394,8 +394,8 @@ inline on a :class:`~django.contrib.admin.ModelAdmin`. * **admin.E206**: The value of ``formset`` must inherit from ``BaseModelFormSet``. GenericInlineModelAdmin ~~~~~~~~~~~~~~~~~~~~~~~ ``GenericInlineModelAdmin`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~ The following checks are performed on any :class:`~django.contrib.contenttypes.admin.GenericInlineModelAdmin` that is Loading @@ -409,8 +409,8 @@ registered as an inline on a :class:`~django.contrib.admin.ModelAdmin`. * **admin.E304**: ``<model>`` has no ``GenericForeignKey`` using content type field ``<field name>`` and object ID field ``<field name>``. AdminSite ~~~~~~~~~ ``AdminSite`` ~~~~~~~~~~~~~ The following checks are performed on the default :class:`~django.contrib.admin.AdminSite`: Loading