Changeset 1261
- Timestamp:
- 11/15/05 20:59:22 (3 years ago)
- Files:
-
- django/trunk/docs/templates_python.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/templates_python.txt
r1122 r1261 247 247 * ``user`` -- An ``auth.User`` instance representing the currently 248 248 logged-in user (or an ``AnonymousUser`` instance, if the client isn't 249 logged in). 249 logged in). See the `user authentication docs`. 250 250 * ``messages`` -- A list of ``auth.Message`` objects for the currently 251 251 logged-in user. 252 252 * ``perms`` -- An instance of ``django.core.extensions.PermWrapper``, 253 representing the permissions that the currently logged-in user has. 253 representing the permissions that the currently logged-in user has. See 254 the `permissions docs`_. 254 255 255 256 Also, if your ``DEBUG`` setting is set to ``True``, every ``DjangoContext`` … … 280 281 * You'll have to be careful not to set the variable ``current_time`` when 281 282 you populate this context. If you do, you'll override the other one. 283 284 .. _user authentication docs: http://www.djangoproject.com/documentation/models/authentication/#users 285 .. _permissions docs: http://www.djangoproject.com/documentation/models/authentication/#permissions 282 286 283 287 Loading templates
