mirror of
https://github.com/django/django.git
synced 2025-10-03 23:34:47 +00:00
magic-removal: Merged to [2136]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6dddef9b91
commit
1af3a39868
10 changed files with 34 additions and 9 deletions
|
@ -110,8 +110,8 @@ This sends a message to john@example.com and jane@example.com, with them both
|
|||
receiving a separate e-mail::
|
||||
|
||||
datatuple = (
|
||||
('Subject', 'Message.', 'from@example.com', ['john@example.com'],
|
||||
('Subject', 'Message.', 'from@example.com', ['jane@example.com'],
|
||||
('Subject', 'Message.', 'from@example.com', ['john@example.com']),
|
||||
('Subject', 'Message.', 'from@example.com', ['jane@example.com']),
|
||||
)
|
||||
send_mass_mail(datatuple)
|
||||
|
||||
|
|
|
@ -419,6 +419,14 @@ How do I limit admin access so that objects can only be edited by the users who
|
|||
|
||||
See the answer to the previous question.
|
||||
|
||||
My admin-site CSS and images showed up fine using the development server, but they're not displaying when using mod_python.
|
||||
---------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
See `serving the admin files`_ in the "How to use Django with mod_python"
|
||||
documentation.
|
||||
|
||||
.. _serving the admin files: http://www.djangoproject.com/documentation/modpython/#serving-the-admin-files
|
||||
|
||||
My "list_filter" contains a ManyToManyField, but the filter doesn't display.
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -335,6 +335,16 @@ See the `internationalization docs`_ for more.
|
|||
.. _LANGUAGE_CODE setting: http://www.djangoproject.com/documentation/settings/#language-code
|
||||
.. _internationalization docs: http://www.djangoproject.com/documentation/i18n/
|
||||
|
||||
django.core.context_processors.request
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
**New in Django development version**
|
||||
|
||||
If ``TEMPLATE_CONTEXT_PROCESSORS`` contains this processor, every
|
||||
``DjangoContext`` will contain a variable ``request``, which is the current
|
||||
`HttpRequest object`_. Note that this processor is not enabled by default;
|
||||
you'll have to activate it.
|
||||
|
||||
Loading templates
|
||||
-----------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue