Ticket #2845: spell.diff
File spell.diff, 7.1 KB (added by , 18 years ago) |
---|
-
docs/tutorial02.txt
354 354 At top level, it displays all available years. Then it drills down to months 355 355 and, ultimately, days. 356 356 357 Now 's also a good time to note that change lists give you free pagination. The357 Now is also a good time to note that change lists give you free pagination. The 358 358 default is to display 50 items per page. Change-list pagination, search boxes, 359 359 filters, date-hierarchies and column-header-ordering all work together like you 360 360 think they should. -
docs/tutorial03.txt
91 91 The ``poll_id='23'`` part comes from ``(?P<poll_id>\d+)``. Using parenthesis around a 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 97 97 Because the URL patterns are regular expressions, there really is no limit on -
docs/api_stability.txt
82 82 That said, these APIs should *not* be considered stable, and are likely to 83 83 change: 84 84 85 - `Forms and validation`_ will most likely be comp eltely rewritten to86 de emphasize Manipulators in favor of validation-aware models.85 - `Forms and validation`_ will most likely be completely rewritten to 86 de-emphasize Manipulators in favor of validation-aware models. 87 87 88 88 - `Serialization`_ is under heavy development; changes are likely. 89 89 … … 91 91 API changes may be necessary. 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 97 97 - The comments framework, which is yet undocumented, will likely get a complete -
docs/admin_css.txt
82 82 .help 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 88 88 put the class on a ``p`` whenever you can. -
docs/faq.txt
499 499 How do I add database-specific options to my CREATE TABLE statements, such as specifying MyISAM as the table type? 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`` 505 505 statements that do what you want to do. The initial data files are executed in -
docs/testing.txt
389 389 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 395 395 #. Creating the test database … … 435 435 ``create_test_db(verbosity=1, autoclobber=False)`` 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 441 441 the same name as the test database is discovered. If ``autoclobber`` is False, … … 450 450 Destroys the database with the name ``settings.DATABASE_NAME`` matching, 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. -
docs/forms.txt
489 489 test *and if the form submission contained data* for that field, all the 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 495 495 This feature is particularly important for models using -
docs/templates.txt
1056 1056 Takes an optional argument that is a variable containing the date to use as 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 1062 1062 timeuntil -
docs/templates_python.txt
817 817 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 823 823 template that is filled with details from the current object. (In the admin's