mirror of
https://github.com/django/django.git
synced 2025-08-27 05:54:28 +00:00
Removed unnecessary code-block directives.
This commit is contained in:
parent
fa02120d36
commit
9d6551204e
32 changed files with 161 additions and 308 deletions
|
@ -352,9 +352,7 @@ In your Web root directory, add this to a file named ``.htaccess``:
|
|||
|
||||
Then, create a small script that tells Apache how to spawn your FastCGI
|
||||
program. Create a file ``mysite.fcgi`` and place it in your Web directory, and
|
||||
be sure to make it executable:
|
||||
|
||||
.. code-block:: python
|
||||
be sure to make it executable::
|
||||
|
||||
#!/usr/bin/python
|
||||
import sys, os
|
||||
|
|
|
@ -72,9 +72,7 @@ application :doc:`that is created by django-admin startproject
|
|||
|
||||
Finally, edit your WSGI script ``mysite.wsgi`` to tie Apache's authentication
|
||||
to your site's authentication mechanisms by importing the ``check_password``
|
||||
function:
|
||||
|
||||
.. code-block:: python
|
||||
function::
|
||||
|
||||
import os
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue