diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2010-12-23 00:02:03 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2010-12-23 00:02:03 +0000 |
| commit | 8301a8b9c25fcf086b6f8de878e2833ad357ea04 (patch) | |
| tree | 1fbc920031b10906e77822a99d50134da4daf9cf /docs | |
| parent | c1376c81a7f89094b67e252e61f9a47f728795af (diff) | |
[1.2.X] Fixed a couple of broken internal links in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/faq/admin.txt | 2 | ||||
| -rw-r--r-- | docs/howto/deployment/modpython.txt | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/docs/faq/admin.txt b/docs/faq/admin.txt index cd0e4f92b6..1512675c64 100644 --- a/docs/faq/admin.txt +++ b/docs/faq/admin.txt @@ -55,7 +55,7 @@ control the visibility and editability of objects in the admin. My admin-site CSS and images showed up fine using the development server, but they're not displaying when using mod_python. --------------------------------------------------------------------------------------------------------------------------- -See :ref:`serving the admin files <howto-deployment-modpython-serving-the-admin-files>` +See :ref:`serving the admin files <serving-the-admin-files>` in the "How to use Django with mod_python" documentation. My "list_filter" contains a ManyToManyField, but the filter doesn't display. diff --git a/docs/howto/deployment/modpython.txt b/docs/howto/deployment/modpython.txt index efd5a204c9..ba55335b41 100644 --- a/docs/howto/deployment/modpython.txt +++ b/docs/howto/deployment/modpython.txt @@ -220,21 +220,23 @@ log and can even `cause response errors`_. .. _cause response errors: http://blog.dscpl.com.au/2009/04/wsgi-and-printing-to-standard-output.html -If you have the need to print debugging information in a mod_python setup, you +If you have the need to print debugging information in a mod_python setup, you have a few options. You can print to ``stderr`` explicitly, like so:: - + print >> sys.stderr, 'debug text' sys.stderr.flush() - + (note that ``stderr`` is buffered, so calling ``flush`` is necessary if you wish debugging information to be displayed promptly.) - + A more compact approach is to use an assertion:: assert False, 'debug text' Another alternative is to add debugging information to the template of your page. +.. _serving-media-files: + Serving media files =================== @@ -286,6 +288,8 @@ the ``media`` subdirectory and any URL that ends with ``.jpg``, ``.gif`` or .. _Apache: http://httpd.apache.org/ .. _Cherokee: http://www.cherokee-project.com/ +.. _serving-the-admin-files: + Serving the admin files ======================= |
