Malcolm Tredinnick
bfcecbffd3
Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or
...
equivalents). Basically, URL resolving will only use the PATH_INFO and the
SCRIPT_NAME will be prepended by reverse() automatically. Allows for more
portable development and installation. Also exposes SCRIPT_NAME in the
HttpRequest instance.
There are a number of cases where things don't work completely transparently,
so mod_python and fastcgi users should read the relevant docs.
Fixed #285 , #1516 , #3414 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 07:57:10 +00:00
Adrian Holovaty
a1476fbca2
Edited docs/modpython.txt changes from [6536]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:20:27 +00:00
Gary Wilson Jr
b237537e00
Changed name of PythonInterpreter
so as not to get confused with the use of DJANGO_SETTINGS_MODULE mysite.other_settings
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:50:42 +00:00
Malcolm Tredinnick
ad91f6889d
Fixed #4854 -- Recommended the use of forward slashes even in Windows configuration, to avoid having to worry about double-escaping issues. Based on a patch from adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:21:51 +00:00
Russell Keith-Magee
fa5e935af0
Fixed #5280 -- Minor typo in modpython docs. Thanks for the attention to detail, nsteinmetz@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:49:02 +00:00
Adrian Holovaty
6f0bc3d02b
Fixed #5280 -- Fixed typo in docs/modpython.txt. Thanks, nsteinmetz@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:21:36 +00:00
Adrian Holovaty
a07c1c5aa6
Fixed #5303 -- Fixed incorrect statement about PythonPath directive in docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02 17:09:27 +00:00
Malcolm Tredinnick
7f06e44f99
Typo fix from [5896].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:29:15 +00:00
Malcolm Tredinnick
3835d8afec
Fixed #4296 -- Added more explanation around the PythonPath directory setting. Based on contributions from a cast of thousands (Simon Greenhill, Paul Bissex, Graham Dumpleton, ...). Thanks, all.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:25:21 +00:00
Russell Keith-Magee
7f5797e640
Fixed #4722 -- Clarified discussion about PYTHONPATH in modpython docs. Thanks for the suggestion, Collin Grady <cgrady@the-magi.us>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:32:00 +00:00
Jacob Kaplan-Moss
6434de96b7
Fixed #3842 - clarified PythonPath directive in modpython.txt. Thanks, jon.i.austin@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:03:21 +00:00
Malcolm Tredinnick
b0b5023313
Fixed #4150 -- Added an explanation of how to use eggs with mod_python.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 12:45:14 +00:00
Adrian Holovaty
0498eb30cb
Fixed #3935 -- Fixed typo in docs/modpython.txt. Thanks, alexis@smirnov.ca
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:06:09 +00:00
Adrian Holovaty
7fd887b2d7
Fixed #3939 -- Fixed typo in docs/modpython.txt. Thanks, jack.mangels@mexpro.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:05:21 +00:00
Malcolm Tredinnick
72dfcab0d4
Fixed #3047 -- Updated fastcgi documentation to mention SCGI and AJP support.
...
Thanks Barry Pederson and Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:00:45 +00:00
Malcolm Tredinnick
1ccdcbf765
Fixed #3801 -- Added note about double-escaping Windows paths when configuring
...
mod_python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:40:27 +00:00
Malcolm Tredinnick
179b5b8422
Fixed #3840 -- Attempted to clarify how to specify the settings file
...
configuration for mod_python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 06:16:41 +00:00
Adrian Holovaty
8e54c49784
Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com links. Thanks for the patch, SmileyChris
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 20:08:47 +00:00
Adrian Holovaty
8211eb23e4
Fixed #2958 -- Pointed out in docs/modpython.txt that we use <Location> instead of <Directory>
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-27 02:03:15 +00:00
Adrian Holovaty
cb73fed1ac
Added links to FastCGI docs from various places
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:43:21 +00:00
Adrian Holovaty
8e441e9c5a
Made small clarification to docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-08 20:39:52 +00:00
Adrian Holovaty
f69cf70ed8
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty
0e40fb14d5
Added note to docs/modpython.txt about prefork MPM vs. worker MPM
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-21 16:59:14 +00:00
Adrian Holovaty
00b3891524
Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, Dexter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-12 13:35:31 +00:00
Adrian Holovaty
b9b02f91fa
Fixed typo in [2311]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-16 16:01:59 +00:00
Adrian Holovaty
e9a1e9fed6
Beefed up 'If you get a segmentation fault' section in docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-16 16:00:32 +00:00
Adrian Holovaty
c1dded685d
Added 'If you get a segmentation fault' to docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-16 03:55:48 +00:00
Adrian Holovaty
a2527ebe77
Improved docs/modpython.txt to add note about debugging under mod_python with print statements
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 13:53:35 +00:00
Adrian Holovaty
5ad144b29e
Added 'Error handling' section to docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 03:17:52 +00:00
Adrian Holovaty
b40952b0a1
Fixed #780 -- Fixed typo in docs/modpython.txt. Thanks, jhernandez
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 16:14:14 +00:00
Adrian Holovaty
c7b28cf7e6
Added 'Serving the admin files' section in docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:47:29 +00:00
Adrian Holovaty
54c3367a63
Updated install.txt and modpython.txt to note required Apache and mod_python versions. Also gave full example for Apache config
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:39:13 +00:00
Adrian Holovaty
f07e5d4f5d
Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:09:05 +00:00
Adrian Holovaty
9fdacc7a66
Added note to docs/modpython.txt about non-dev arrangements not serving admin media files
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 03:52:05 +00:00
Adrian Holovaty
3dd1d28c7f
Clarified potentially confusing sentence in docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 19:56:17 +00:00
Adrian Holovaty
1874f26d22
Small change to docs/modpython.txt -- added link to Apache Web site
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-14 19:07:29 +00:00
Adrian Holovaty
f8e5df6d7e
Fixed spelling error and reworded mod_python PythonInterpreter section of docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:42:51 +00:00
Jacob Kaplan-Moss
2dfea67e34
No, [278] missed the actual bug; this should fix it
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:39:11 +00:00
Jacob Kaplan-Moss
8a285ec790
Fixed ReST bug in [277]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:38:28 +00:00
Jacob Kaplan-Moss
7af62f48e3
Added note about using different settings modules in the same virtual host
...
(thanks steadicat).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:37:36 +00:00
Adrian Holovaty
52d761cc7a
Fixed #135 -- Added 'Multiple Django installations on the same Apache' to docs/mod_python.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:40:33 +00:00
Adrian Holovaty
0500321a4b
Added 'Serving media files' to docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:48:59 +00:00
Adrian Holovaty
12321ea962
Added 'Running a development server with mod_python' to docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:20:38 +00:00
Adrian Holovaty
3148adf91d
Added note about 'PythonDebug Off' to docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:08:17 +00:00
Adrian Holovaty
1dfc375e35
Added some more to docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:05:52 +00:00
Adrian Holovaty
21f152e9e5
Removed redundant word from docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:01:49 +00:00
Adrian Holovaty
3ad2a774a7
Added 'How to use Django with mod_python' -- docs/modpython.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 19:55:18 +00:00