Changeset 2908
- Timestamp:
- 05/15/06 06:33:17 (2 years ago)
- Files:
-
- django/trunk/docs/authentication.txt (modified) (3 diffs)
- django/trunk/docs/db-api.txt (modified) (3 diffs)
- django/trunk/docs/transactions.txt (modified) (1 diff)
- django/trunk/docs/tutorial03.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/authentication.txt
r2841 r2908 216 216 217 217 ``django.contrib.auth.models.AnonymousUser`` is a class that implements 218 the ``django.cont irb.auth.models.User`` interface, with these differences:218 the ``django.contrib.auth.models.User`` interface, with these differences: 219 219 220 220 * ``id`` is always ``None``. … … 438 438 ``syncdb``, the permissions won't be created. If you initialize your database 439 439 and add ``class Admin`` to models after the fact, you'll need to run 440 `` django-admin.py syncdb`` again. It will create any missing permissions for440 ``manage.py syncdb`` again. It will create any missing permissions for 441 441 all of your installed apps. 442 442 … … 485 485 486 486 ``Permission`` objects have the standard data-access methods like any other 487 `Django model`_ :487 `Django model`_. 488 488 489 489 Authentication data in templates django/trunk/docs/db-api.txt
r2869 r2908 1086 1086 lowercase name of the model. 1087 1087 1088 This example retrieves all ``Blog`` objects wh ohave at least one ``Entry``1088 This example retrieves all ``Blog`` objects which have at least one ``Entry`` 1089 1089 whose ``headline`` contains ``'Lennon'``:: 1090 1090 … … 1169 1169 1170 1170 Keyword argument queries -- in ``filter()``, etc. -- are "AND"ed together. If 1171 you need to execute more morecomplex queries (for example, queries with ``OR``1171 you need to execute more complex queries (for example, queries with ``OR`` 1172 1172 statements), you can use ``Q`` objects. 1173 1173 … … 1535 1535 Note that in the case of identical date values, these methods will use the ID 1536 1536 as a fallback check. This guarantees that no records are skipped or duplicated. 1537 For a full example, see the `lookup API sample model _`.1537 For a full example, see the `lookup API sample model`_. 1538 1538 1539 1539 .. _lookup API sample model: http://www.djangoproject.com/documentation/models/lookup/ django/trunk/docs/transactions.txt
r2809 r2908 123 123 transaction.commit() 124 124 125 .. admonition:: An important note to users of earlier Django releases:125 .. admonition:: An important note to users of earlier Django releases: 126 126 127 127 The database ``connection.commit()`` and ``connection.rollback()`` methods django/trunk/docs/tutorial03.txt
r2809 r2908 113 113 Expressions" by Jeffrey Friedl is fantastic. 114 114 115 Finally, a performance note: These regular expressions are compiled the first115 Finally, a performance note: these regular expressions are compiled the first 116 116 time the URLconf module is loaded. They're super fast. 117 117
