mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Removed unnecessary code-block directives.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user