1
0
mirror of https://github.com/django/django.git synced 2025-07-06 02:39:12 +00:00

magic-removal: Merged to [2574]

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-03-28 17:25:53 +00:00
parent 652a05777e
commit 02b3ed3a1c
5 changed files with 16 additions and 17 deletions

View File

@ -48,7 +48,6 @@ class Manager(object):
return QuerySet(self.model) return QuerySet(self.model)
def all(self): def all(self):
# Returns a caching QuerySet.
return self.get_query_set() return self.get_query_set()
def count(self): def count(self):

View File

@ -78,7 +78,7 @@ send_mass_mail vs. send_mail
The main difference between ``send_mass_mail()`` and ``send_mail()`` is that The main difference between ``send_mass_mail()`` and ``send_mail()`` is that
``send_mail()`` opens a connection to the mail server each time it's executed, ``send_mail()`` opens a connection to the mail server each time it's executed,
while ``send_mass_mail()`` uses a single connection for each of its messages. while ``send_mass_mail()`` uses a single connection for all of its messages.
This makes ``send_mass_mail()`` slightly more efficient. This makes ``send_mass_mail()`` slightly more efficient.
The mail_admins function The mail_admins function

View File

@ -51,9 +51,9 @@ make sure a database server is running. Django works with PostgreSQL_
Additionally, you'll need to make sure your Python database bindings are Additionally, you'll need to make sure your Python database bindings are
installed. installed.
* If you're using PostgreSQL, you'll need the psycopg_ package (version 1 -- * If you're using PostgreSQL, you'll need the psycopg_ package (version 1.1 --
not version 2, which is still in beta). If you're on Windows, check out the not version 1.0 or version 2, which is still in beta). If you're on Windows,
unofficial `compiled Windows version`_. check out the unofficial `compiled Windows version`_.
* If you're using MySQL, you'll need MySQLdb_. * If you're using MySQL, you'll need MySQLdb_.
* If you're using SQLite, you'll need pysqlite_. Use version 2.0.3 or higher. * If you're using SQLite, you'll need pysqlite_. Use version 2.0.3 or higher.

View File

@ -316,8 +316,8 @@ If ``TEMPLATE_CONTEXT_PROCESSORS`` contains this processor, every
representing the permissions that the currently logged-in user has. See representing the permissions that the currently logged-in user has. See
the `permissions docs`_. the `permissions docs`_.
.. _user authentication docs: http://www.djangoproject.com/documentation/models/authentication/#users .. _user authentication docs: http://www.djangoproject.com/documentation/authentication/#users
.. _permissions docs: http://www.djangoproject.com/documentation/models/authentication/#permissions .. _permissions docs: http://www.djangoproject.com/documentation/authentication/#permissions
django.core.context_processors.debug django.core.context_processors.debug
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~