Changeset 4397
- Timestamp:
- 01/22/07 20:15:36 (2 years ago)
- Files:
-
- django/trunk/docs/generic_views.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/generic_views.txt
r4396 r4397 100 100 just before rendering the template. (**This is new in the 101 101 Django development version.**) 102 102 103 103 **Example:** 104 104 … … 206 206 207 207 * ``<model_name>`` is your model's name in all lowercase. For a model 208 ``StaffMember``, that'd be ``staffmember``.208 ``StaffMember``, that'd be ``staffmember``. 209 209 210 210 * ``<app_label>`` is the right-most part of the full Python path to 211 your model's app. For example, if your model lives in212 ``apps/blog/models.py``, that'd be ``blog``.211 your model's app. For example, if your model lives in 212 ``apps/blog/models.py``, that'd be ``blog``. 213 213 214 214 **Template context:** … … 639 639 640 640 * ``template_object_name``: Designates the name of the template variable 641 to use in the template context. By default, this is ``'object'``.641 to use in the template context. By default, this is ``'object'``. 642 642 643 643 * ``mimetype``: The MIME type to use for the resulting document. Defaults … … 825 825 826 826 * ``template_object_name``: Designates the name of the template variable 827 to use in the template context. By default, this is ``'object'``.827 to use in the template context. By default, this is ``'object'``. 828 828 829 829 * ``mimetype``: The MIME type to use for the resulting document. Defaults
