Changeset 283
- Timestamp:
- 07/21/05 14:05:10 (3 years ago)
- Files:
-
- django/trunk/docs/cache.txt (modified) (1 diff)
- django/trunk/docs/model-api.txt (modified) (1 diff)
- django/trunk/docs/templates.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/cache.txt
r226 r283 21 21 like to use. Do this by setting the ``CACHE_BACKEND`` in your settings file. 22 22 23 The CACHE_BACKEND setting is a quasi-URI. Examples:: 23 The CACHE_BACKEND setting is a "fake" URI (really an unregistered scheme). 24 Examples: 24 25 25 26 ============================== =========================================== django/trunk/docs/model-api.txt
r265 r283 279 279 280 280 ``FloatField`` 281 A floating-point number. Has two requiredarguments:281 A floating-point number. Has two **required** arguments: 282 282 283 283 ====================== =================================================== django/trunk/docs/templates.txt
r145 r283 41 41 {% endfor %} 42 42 {% endblock %} 43 44 .. admonition:: Philosophy 45 46 Why use a text-based template instead of an XML-based one (like Zope's 47 TAL)? We wanted Django's template language to be usable for more than 48 just XML/HTML templates -- at the Journal-World we use it for emails, 49 Javascript, CSV -- you can use the template language for any text-based 50 format. 43 51 44 52 What's a variable? … … 199 207 * We often prefer to use three-level inheritance: a single base template 200 208 for the entire site, a set of mid-level templates for each section of 201 the site, and then the individual templates for each page. This209 the site, and then the individual templates for each view. This 202 210 maximizes code reuse, and makes it easier to add items to shared 203 211 content areas (like section-wide navigation).
