Changeset 3883
- Timestamp:
- 09/28/06 21:30:42 (2 years ago)
- Files:
-
- django/trunk/docs/admin_css.txt (modified) (1 diff)
- django/trunk/docs/api_stability.txt (modified) (2 diffs)
- django/trunk/docs/faq.txt (modified) (1 diff)
- django/trunk/docs/forms.txt (modified) (1 diff)
- django/trunk/docs/templates_python.txt (modified) (1 diff)
- django/trunk/docs/templates.txt (modified) (1 diff)
- django/trunk/docs/testing.txt (modified) (3 diffs)
- django/trunk/docs/tutorial03.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/admin_css.txt
r3415 r3883 83 83 This is a custom class for blocks of inline help text explaining the 84 84 function of form elements. It makes text smaller and gray, and when applied 85 to ``p`` elements within g``.form-row`` elements (see Form Styles below),85 to ``p`` elements within ``.form-row`` elements (see Form Styles below), 86 86 it will offset the text to align with the form field. Use this for help 87 87 text, instead of ``small quiet``. It works on other elements, but try to django/trunk/docs/api_stability.txt
r3489 r3883 83 83 change: 84 84 85 - `Forms and validation`_ will most likely be comp eltely rewritten to85 - `Forms and validation`_ will most likely be completely rewritten to 86 86 deemphasize Manipulators in favor of validation-aware models. 87 87 … … 92 92 93 93 - Generic relations will most likely be moved out of core and into the 94 content-types contrib package to avoid core dependa cies on optional94 content-types contrib package to avoid core dependancies on optional 95 95 components. 96 96 django/trunk/docs/faq.txt
r3871 r3883 500 500 ------------------------------------------------------------------------------------------------------------------ 501 501 502 We try to avoid adding special cases in the Django code to accom odate all the502 We try to avoid adding special cases in the Django code to accommodate all the 503 503 database-specific options such as table type, etc. If you'd like to use any of 504 504 these options, create an `SQL initial data file`_ that contains ``ALTER TABLE`` django/trunk/docs/forms.txt
r3839 r3883 490 490 validators for that field are called in turn. The emphasized portion in the 491 491 last sentence is important: if a form field is not submitted (because it 492 contains no data -- which is normal HTML behavio ur), the validators are not492 contains no data -- which is normal HTML behavior), the validators are not 493 493 run against the field. 494 494 django/trunk/docs/templates_python.txt
r3865 r3883 818 818 Another common type of template tag is the type that displays some data by 819 819 rendering *another* template. For example, Django's admin interface uses custom 820 template tags to display the buttons along the botto nof the "add/change" form820 template tags to display the buttons along the bottom of the "add/change" form 821 821 pages. Those buttons always look the same, but the link targets change depending 822 822 on the object being edited -- so they're a perfect case for using a small django/trunk/docs/templates.txt
r3880 r3883 1057 1057 the comparison point (without the argument, the comparison point is *now*). 1058 1058 For example, if ``blog_date`` is a date instance representing midnight on 1 1059 June 2006, and ``comment_date`` is a date instan ace for 08:00 on 1 June 2006,1059 June 2006, and ``comment_date`` is a date instance for 08:00 on 1 June 2006, 1060 1060 then ``{{ comment_date|timesince:blog_date }}`` would return "8 hours". 1061 1061 django/trunk/docs/testing.txt
r3737 r3883 390 390 When you run ``./manage.py test``, Django looks at the ``TEST_RUNNER`` 391 391 setting to determine what to do. By default, ``TEST_RUNNER`` points to ``django.test.simple.run_tests``. This method defines the default Django 392 testing behavio ur. This behaviour involves:392 testing behavior. This behavior involves: 393 393 394 394 #. Performing global pre-test setup … … 436 436 Creates a new test database, and run ``syncdb`` against it. 437 437 438 ``verbosity`` has the same behavio ur as in the test runner.438 ``verbosity`` has the same behavior as in the test runner. 439 439 440 440 ``Autoclobber`` describes the behavior that will occur if a database with … … 451 451 and restores the value of ``settings.DATABASE_NAME`` to the provided name. 452 452 453 ``verbosity`` has the same behavio ur as in the test runner.453 ``verbosity`` has the same behavior as in the test runner. django/trunk/docs/tutorial03.txt
r3359 r3883 92 92 pattern "captures" the text matched by that pattern and sends it as an argument 93 93 to the view function; the ``?P<poll_id>`` defines the name that will be used to 94 identify the matched pattern; and ``\d+`` is a regular exp eression to match a sequence of94 identify the matched pattern; and ``\d+`` is a regular expression to match a sequence of 95 95 digits (i.e., a number). 96 96
