Commit Graph

3554 Commits

Author SHA1 Message Date
Russell Keith-Magee f3c3aa232c Fixed #10704 -- Resurrected documentation for {% else %} clause on {% ifchanged %}, lost during docs refactor. Thanks to Tarken for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 12:46:15 +00:00
Russell Keith-Magee 163bf995a5 Fixed #10812 -- Corrected typo in aggregation docs. Thanks to uzi for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 12:45:35 +00:00
Russell Keith-Magee a47153c8c1 Fixed #10822 -- Corrected minor typo in i18n docs. Thanks to prairiedogg for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-16 12:45:04 +00:00
Malcolm Tredinnick 1aa0d1b4a6 Fixed #10490 -- Small wording correction in the docs. Thanks, matehat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12 02:00:36 +00:00
Jacob Kaplan-Moss da17a314ca Fixed a silly typo in my bio. How embarrassing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 17:09:09 +00:00
Jacob Kaplan-Moss ec4cf19700 Updated my bio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 16:33:52 +00:00
Jacob Kaplan-Moss c0ad626dca Fixed #10647: intermediary tables between two umanaged models are no longer created.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-09 15:03:31 +00:00
Jacob Kaplan-Moss f8adf99cdb Fixed #9268: pass the "next" param through in the comment preview/post view. Also updated the docs to make this a bit clearer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 19:28:13 +00:00
Simon Willison 37c21ef05d Fixed #10714 - made mod_wsgi recommendation consistent across deployment documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07 00:01:49 +00:00
Simon Willison 7f7606070b Fixed a documentation typo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-06 23:45:56 +00:00
Simon Willison bb182bea1c Removed duplicate modwsgi navigation link
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-06 23:39:26 +00:00
Jacob Kaplan-Moss 07465b635d Fixed a small error in the docs that I missed from [10408].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-06 20:28:55 +00:00
Jacob Kaplan-Moss bb15cee58a Made a bunch of improvements to admin actions. Be warned: this includes one minor but BACKWARDS-INCOMPATIBLE change.
These changes are:

    * BACKWARDS-INCOMPATIBLE CHANGE: action functions and action methods now share the same signature: `(modeladmin, request, queryset)`. Actions defined as methods stay the same, but if you've defined an action as a standalone function you'll now need to add that first `modeladmin` argument.
    * The delete selected action is now a standalone function registered site-wide; this makes disabling it easy.
    * Fixed #10596: there are now official, documented `AdminSite` APIs for dealing with actions, including a method to disable global actions. You can still re-enable globally-disabled actions on a case-by-case basis.
    * Fixed #10595: you can now disable actions for a particular `ModelAdmin` by setting `actions` to `None`.
    * Fixed #10734: actions are now sorted (by name).
    * Fixed #10618: the action is now taken from the form whose "submit" button you clicked, not arbitrarily the last form on the page.
    * All of the above is documented and tested.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-06 20:23:33 +00:00
Jacob Kaplan-Moss c6c25adf6d Fixed a whole bunch of small docs typos, errors, and ommissions.
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528.

Thanks to all the respective authors of those tickets.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 18:30:54 +00:00
Jacob Kaplan-Moss f1c64816bb Fixed #10693: updated params in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 15:32:00 +00:00
Jacob Kaplan-Moss a2dec37c41 Fixed #9908: allow individual app index templates in the admin. Thanks, arne.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 14:13:59 +00:00
Jacob Kaplan-Moss 1f74e3382f Fixed #10031: updated SQLite database docs to more strongly indicate the problems with versions before 3.3.6. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 01:36:44 +00:00
Joseph Kocherhans efd7141d70 Fixed #9452. InlineModelAdmin docs now mention the right default for 'form'.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-01 01:29:30 +00:00
Jacob Kaplan-Moss 4a44498dcf Fixed a silly typo in databases ref. Thanks, Alex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 23:46:37 +00:00
Jacob Kaplan-Moss 516051bfd2 A whole lotta documentation fixes: Fixes #8704, #8826, #8980, #9243, #9343, #9529,
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 23:34:03 +00:00
Jacob Kaplan-Moss 98f5f68463 Reformated the source of the doc index to be more friendly to human readers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 19:43:32 +00:00
Jacob Kaplan-Moss 58298fae71 Fixed #9970: added mod_wsgi docs. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 19:34:25 +00:00
James Bennett 83c6f8d4e2 Fixed #9012: Changed inappropriate title of models documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 18:14:12 +00:00
James Bennett 131de1cf2b Fixed #10367: Added note to generic-relation docs explaining when it's necessary to pass in field names to create a reverse relation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 17:14:10 +00:00
James Bennett 33e87318c0 Fixed #10306: Corrected form action in auth login example.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 17:00:59 +00:00
Gary Wilson Jr 86d772bb2a Fixed #10120 -- Added a `return` to a doc example, patch from andrews.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:49:54 +00:00
Gary Wilson Jr e87e7436e2 Fixed #10266 -- Clarified restart of shell in tutorial, patch from mboersma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:45:41 +00:00
Gary Wilson Jr d8bffb3969 Fixed #10375 -- Added documentation about the default format strings used for the `date` and `time` filters when no format string is passed to the filter, based on patch from kgrandis.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:34:24 +00:00
Gary Wilson Jr b4f5655c86 Fixed #10553 -- Corrected several uses of `URLconf` in documentation and comments, according to the Django style guide. Based on patch from rduffield.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:07:07 +00:00
Gary Wilson Jr f2df3650d6 Fixed #10575 -- Fixed wording in database docs, patch from rduffield.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 15:42:13 +00:00
Gary Wilson Jr 1eccb1c6aa Fixed #10577 -- Fixed doc typo, patch from Zoramite.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 15:39:32 +00:00
Gary Wilson Jr 4a73b603d0 Fixed #10612 -- Removed duplicate word in docs, patch from adamfast.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 15:33:57 +00:00
Gary Wilson Jr 7372ea159a Fixed #10389, #10501, #10502, #10540, #10562, #10563, #10564, #10565, #10568, #10569, #10614, #10617, #10619 -- Fixed several typos as well as a couple minor issues in the docs, patches from timo, nih, bthomas, rduffield, UloPe, and sebleier@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 07:01:01 +00:00
Jacob Kaplan-Moss 184ea1c91f Fixed #8847, #10370: added some missing methods to MultiValueDict after [8399]. Thanks, James Turk and rfk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 06:30:07 +00:00
Gary Wilson Jr 5c9d54344c Fixed #9946 -- Removed redundant mention of needing to define `list_display`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 23:30:33 +00:00
Gary Wilson Jr ef933f1643 Fixed a few class references in the model field docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:54:27 +00:00
Gary Wilson Jr 78cbc3acfa Fixed #10076 -- Documented invalid arguments for `FileField`, based on patch from timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:31:50 +00:00
Gary Wilson Jr 27314a8934 Fixed #9944 -- Fixed a URL in tutorial four that was changed in the "Decoupling the URLconfs" section at the end of tutorial three, patch from programmerq.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:00:33 +00:00
Gary Wilson Jr 1e214534e7 Fixed #9914 -- Fixed field class name in models docs, patch from timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 18:40:59 +00:00
Gary Wilson Jr 8ed6b2b1d1 Fixed #9853 -- Added information to the model date/time fields to note the Python objects used to represent them.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 18:30:44 +00:00
Gary Wilson Jr a61c0b7949 Fixed some long lines and removed trailing whitespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 17:07:43 +00:00
Joseph Kocherhans 9face54bb7 Fixed #9284. Fixed #8813. BaseModelFormSet now calls ModelForm.save().
This is backwards-incompatible if you were doing things to 'initial' in BaseModelFormSet.__init__, or if you relied on the internal _total_form_count or _initial_form_count attributes of BaseFormSet. Those attributes are now public methods.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 15:58:52 +00:00
Justin Bronn 1e082c3873 Fixed #10653 -- Update docs regarding Jython support. Thanks, Leo Soto for ticket & patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 03:32:40 +00:00
Malcolm Tredinnick 6fa30faa79 Fixed #10574 -- Documented interaction between annotations and order_by.
In the future, I'd like to fix this properly, but the current behavior
has the advantage of being consistent across the board (and changing it
everywhere is backwards-incompatible with documented functionality).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-25 09:05:38 +00:00
Russell Keith-Magee cce822c0f5 Fixed #10329 -- Added link target for get_FOO_display, get_next_by_FOO, and get_previous_by_FOO. Thanks to rctay for the report, and timo for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:46:18 +00:00
Russell Keith-Magee 539bebab3f Fixed #10503 -- Clarified docs on the operation of the noop option to {% trans %}. Thanks to liangent for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:44:51 +00:00
Russell Keith-Magee 2aa8890136 Fixed #10434 -- Corrected FastCGI example. Thanks to vithlani.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:43:52 +00:00
Russell Keith-Magee f55aba59d0 Fixed #10437 -- Corrected typo in Widget media example. Thanks to Manuel Saelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:42:34 +00:00
Russell Keith-Magee c4eb2883bc Fixed #10510 -- Added missing versionadded marker for formfield_for_foreignkey docs. Thanks to onno.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:41:37 +00:00
Russell Keith-Magee 01757192e6 Fixed #10570 -- Grammar fix for Manager docs. Thanks to adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:40:12 +00:00
Russell Keith-Magee d379ebdabb Fixed #10591 -- Corrected link to Jython in docs. Thanks to framos.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:38:53 +00:00
Russell Keith-Magee af997a1625 Fixed #10592 -- Corrected typo in initial-data howto. Thanks to Paul Menzel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:37:48 +00:00
Russell Keith-Magee 6cd8e0f608 Added versionadded markers for ModelForm field ordering, added in [10062].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 11:36:58 +00:00
Malcolm Tredinnick e5a8d9e810 A bunch of improvements for conditional HTTP processing.
Fixed some typos in the code (fixed #10586). Added more tests. Made the
tests compatible with Python 2.3. Improved the documentation by putting
the good news and common use-case right up front.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-24 03:01:46 +00:00
Jacob Kaplan-Moss 4246c832b6 Added 1.1 beta release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 23:25:03 +00:00
Luke Plant cdc8c61bc3 Made default MIDDLEWARE_CLASSES same as in project_template.
And updated docs, and also corrected them about middleware by removing
'XViewMiddleware'



git-svn-id: http://code.djangoproject.com/svn/django/trunk@10129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 23:20:40 +00:00
Luke Plant 20f7e51493 Reverted 10094 and 10095 (in favour of solution that will hopefully land for beta 2)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 23:02:46 +00:00
Jacob Kaplan-Moss f22418a6be Oops, added missing file from [10122].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 21:22:31 +00:00
Jacob Kaplan-Moss f0560dfdb2 Fixed #9282: added a generic comment moderation toolkit. See the documentation for details.
This began life as (part of) James Bennett's comment-utils app, and was adapted to be part of Django by Thejaswi Puthraya and Jannis Leidel. Thanks, all!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 21:07:02 +00:00
Jacob Kaplan-Moss 44f3080226 Fixed #10505: added support for bulk admin actions, including a globally-available "delete selected" action. See the documentation for details.
This work started life as Brian Beck's "django-batchadmin." It was rewritten for inclusion in Django by Alex Gaynor, Jannis Leidel (jezdez), and Martin Mahner (bartTC). Thanks, guys!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 20:22:56 +00:00
Luke Plant 4e2533436e Removed erroneous changes to 1.1 alpha 1 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-23 16:37:25 +00:00
Karen Tracey 14b160957e Fixed #8962 -- Consistently support format and input_format in the various (individual, combined, split) date and time form fields and widgets.
Many thanks to Tai Lee for doing all the work here.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@10115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-22 16:13:06 +00:00
Malcolm Tredinnick b203db6ec8 Fixed #5791 -- Added early-bailout support for views (ETags and Last-modified).
This provides support for views that can have their ETag and/or Last-modified
values computed much more quickly than the view itself. Supports all HTTP
verbs (not just GET).

Documentation and tests need a little more fleshing out (I'm not happy with the
documentation at the moment, since it's a bit backwards), but the functionality
is correct.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-22 07:58:29 +00:00
Gary Wilson Jr 10923b42b3 Corrected syntax typos in a couple of versionadded directives.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21 15:28:51 +00:00
Gary Wilson Jr e389234201 Added a versionadded directive to new redirect shortcut (refs #10194).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21 15:26:56 +00:00
Jacob Kaplan-Moss 231a7e0419 Fixed #9958: split the `CommentForm` into a set of smaller forms. This for better encapsulation, but also so that it's easier for subclasses to get at the pieces they might need. Thanks to Thejaswi Puthraya.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21 13:45:31 +00:00
Jacob Kaplan-Moss d7e8127524 Fixed #10194: added `django.shortcuts.redirect`, a do-what-I-mean redirect shortcut. See the docs at topics/http/shortcuts for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-21 13:09:13 +00:00
Malcolm Tredinnick 4eadcf45d4 Added some further clarification to the docs for Meta.managed.
Not sure if any of these are noticed as omissions yet; it's too new.
Primarily trying to head off questions in the future.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-20 23:15:27 +00:00
Luke Plant 4e7a4eda3d Updated all refs to default middleware in docs.
(adding CSRF, removing XView which is no longer a default)



git-svn-id: http://code.djangoproject.com/svn/django/trunk@10095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-19 23:28:16 +00:00
Luke Plant 2d28724730 Added CSRF middleware to default settings and updated docs.
Updated docs to reflect the change, and the fact that using the
two separate middleware is preferred to using the combined one.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@10094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-19 23:14:20 +00:00
Malcolm Tredinnick 729c974e64 Fixed #10546 -- Fixed a docs typo noticed by carljm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-19 22:46:49 +00:00
Malcolm Tredinnick 29050ef999 Fixed #5420 -- Added support for delayed loading of model fields.
In extreme cases, some fields are expensive to load from the database
(e.g. GIS fields requiring conversion, or large text fields). This
commit adds defer() and only() methods to querysets that allow the
caller to specify which fields should not be loaded unless they are
accessed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-19 09:06:04 +00:00
Malcolm Tredinnick 96d5d434fa Added some documentation explaining "managed=False" vs. "proxy=True".
These features look similar, but they're not identical. They can't be merged
into one (without requiring at least two Meta parameters anyway), so we've made
them have APIs that match their natural use-cases most easily.

Anyway, the documentation explains both the details and gives some simple to
follow rules.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-19 09:04:19 +00:00
Russell Keith-Magee ee2f04d79e Fixed #10482 -- Unified access to response.context when inspecting responses from the test client. Thanks to James Bennett for the design, and Julien Phalip for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 10:46:55 +00:00
Malcolm Tredinnick 61a2708c41 Fixed #10356 -- Added pure-Python inheritance for models (a.k.a proxy models).
Large portions of this are needed for #5420, so I implemented it fully.
Thanks to Ryan Kelly for an initial patch to get this started.

Refs #5420.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18 09:47:08 +00:00
Jacob Kaplan-Moss 7bc0878922 Fixed #8939: added a `list_editable` option to `ModelAdmin`; fields declared `list_editable` may be edited, in bulk, on the changelist page. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-17 20:51:47 +00:00
Russell Keith-Magee 0597dea4d0 Fixed #10507 -- Corrected formatting problem in ModelForm docs. Thanks to Paul Menzel for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 11:21:41 +00:00
Gary Wilson Jr b994387d8d Fixed #689 -- Added a middleware and authentication backend to contrib.auth for supporting external authentication solutions. Thanks to all who contributed to this patch, including Ian Holsman, garthk, Koen Biermans, Marc Fargas, ekarulf, and Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 05:54:28 +00:00
Russell Keith-Magee 7be4b9a4c0 Fixed #8164 -- Fields on a ModelForm are now ordered in the order specified in the fields attribute of the ModelForm's Meta class. Thanks to Alex Gaynor for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 05:05:26 +00:00
Malcolm Tredinnick 24b9c65d3f Documented patterns for adding extra managers to model subclasses.
This seems to have been a source of confusion, so now we have some explicit
examples. Fixed #9676.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:42:31 +00:00
Malcolm Tredinnick 292f503845 Clarified and expanded documentation for Manager.use_for_related_fields.
This is for Manager subclasses that are default managers, but only
sometimes.  The general rule is: "don't use it." If you really need it,
read the instructions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-15 03:42:08 +00:00
Adrian Holovaty 957c721594 Made a bunch of edits to docs/topics/cache.txt, mostly based on stuff from the Django Book
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-14 22:51:05 +00:00
Russell Keith-Magee 638dbc3e83 Fixed #6464 -- Added incr() and decr() operations on cache backends. Atomic on Memcache; implemented as a 2 stage retrieve/update on other backends. Includes refactor of the cache tests to ensure all the backends are actually tested, and a fix to the DB cache backend that was discovered as a result. Thanks to Michael Malone for the original patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-11 13:27:03 +00:00
Malcolm Tredinnick 5fb6667036 Fixed #3460 -- Added an ability to enable true autocommit for psycopg2 backend.
Ensure to read the documentation before blindly enabling this: requires some
code audits first, but might well be worth it for busy sites.

Thanks to nicferrier, iamseb and Richard Davies for help with this patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-11 07:06:50 +00:00
Malcolm Tredinnick b4dd4d4bb7 Fixed #3163 -- Add a "Meta.managed" option to models.
This allows a model to be defined which is not subject to database table
creation and removal. Useful for models that sit over existing tables or
database views.

Thanks to Alexander Myodov, Wolfgang Kriesing and Ryan Kelly for the bulk of
this patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09 03:35:02 +00:00
Malcolm Tredinnick 98710a5a28 Made a couple of cross-references in the model fields documentaiton consistent.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09 03:33:54 +00:00
Malcolm Tredinnick 059765fa6c Fixed #9436 -- Updated docs build code to create "new in development version".
Patch from Marc Fargas.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09 01:37:17 +00:00
Malcolm Tredinnick fedea84f3c Changed a few versionadded doc directives from "development" to "1.1".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-09 01:36:53 +00:00
Karen Tracey e8a817d499 Fixed #10433: Corrected typo in test doc. Thanks Matt Doran.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-08 04:31:05 +00:00
Ian Kelly ad6ce1e6f9 Clarified documentation regarding Oracle's treatment of nulls and empty strings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-05 20:21:22 +00:00
Malcolm Tredinnick 7197a4dcb7 Made it explicit if you accidentally override a Field from a parent model.
This was always not working reliably (model initialization and serialization
were two of the problems). Now, it's an explicit error. Also, documented.

Fixed #10252.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 10:39:29 +00:00
Malcolm Tredinnick 5e8ddd59e2 Minor update to documentation for many-to-many filter() calls.
Removed a potential ambiguity when describing how multiple conditions in one
filter() call are handled.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-03 01:40:47 +00:00
Malcolm Tredinnick dfddf129f0 Fixed #9701 -- Added a "safeseq" template filter.
This is like "safe", except it operates on the individual elements of a
sequence, rather than treating the whole argument as a string.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 08:16:33 +00:00
Malcolm Tredinnick a605a8fe08 Small edit to the caching docs.
Turns out, super-lightning is not faster than normal lightning. :-)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-02 05:46:04 +00:00
James Bennett 5fcd75ce14 Fixed #10377: Added clearer warning to database notes for cx_Oracle 5.0.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28 06:03:18 +00:00
Russell Keith-Magee db2a95f6f5 Fixed #5610 -- Added the ability for dumpdata to take individual model names, as well as entire applications. Thanks to David Reynolds for his work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-28 05:35:22 +00:00
Russell Keith-Magee e735fe7160 Fixed #4476 -- Added a ``follow`` option to the test client request methods. This implements browser-like behavior for the test client, following redirect chains when a 30X response is received. Thanks to Marc Fargas and Keith Bussell for their work on this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-27 13:14:59 +00:00
Russell Keith-Magee 86a048b4e0 Fixed #10344 -- Corrected some typos in the aggregation docs. Thanks to ewoudenberg for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 22:51:14 +00:00
Jacob Kaplan-Moss 28605a9c26 Whitespace fix to [9896].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 02:31:09 +00:00
Jacob Kaplan-Moss 17bb750b08 Cleaned up some reST errors in the 1.1 alpha release notes, and made a few minor edits.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 02:21:09 +00:00
James Bennett f3a95d2d14 Add 1.1 alpha 1 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 01:42:45 +00:00
Jacob Kaplan-Moss 4cf1327aa4 Cleaned up some documentation about admin URLs in Django 1.1. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 01:10:26 +00:00
Jacob Kaplan-Moss 63d85a684a Fixed #8630: finished the custom comment app API that was left out of 1.0. This means it's now possible to override any of the models, forms, or views used by the comment app; see the new custom comment app docs for details and an example. Thanks to Thejaswi Puthraya for the original patch, and to carljm for docs and tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-23 22:16:26 +00:00
Russell Keith-Magee 542709d0d1 Fixed #10182 -- Corrected realiasing and the process of evaluating values() for queries with aggregate clauses. This means that aggregate queries can now be used as subqueries (such as in an __in clause). Thanks to omat for the report.
This involves a slight change to the interaction of annotate() and values() clauses that specify a list of columns. See the docs for details.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-23 14:47:59 +00:00
Russell Keith-Magee b2a4377651 Fixed #9066 -- Added Czech localflavor. Thanks to Elvard for the contribution.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 07:51:57 +00:00
Russell Keith-Magee 0c2a5ebe97 Fixed #9347 -- Added an entry in the field reference for the verbose_name option. Thanks to marcoberi for the suggestion, and timo for the eventual patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:10:29 +00:00
Russell Keith-Magee a50a188a62 Fixed #9939 -- Corrected minor error in model fields documentation. Thanks to seemant for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:09:54 +00:00
Russell Keith-Magee af346081e3 Fixed #10007 -- Corrected (and narrowed) a reference to the Python standard library documentation. Thanks to d00gs for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:09:28 +00:00
Russell Keith-Magee 7b9fe15a9f Fixed #10009 -- Corrected a field reference in an example on rendering hidden fields. Thanks to karihre@gmail.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:09:03 +00:00
Russell Keith-Magee f1e8d24e0c Fixed #10030 -- Corrected a typo in a reference to the login_required decorator. Thanks to mk for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:08:13 +00:00
Russell Keith-Magee b1d487e0f8 Fixed #10118 -- Clarified the error message raised when accessing a subclass model that doesn't exist. Thanks to peterbraden@peterbraden.co.uk for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:07:47 +00:00
Russell Keith-Magee b77bf5291a Fixed #10141 -- Added a missing import to the complex Feed example. Thanks to Temoto for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:07:21 +00:00
Russell Keith-Magee 16d67a11ac Fixed #10298 -- Corrected the example for the get_list_or_404 shortcut. Thanks to Dagur for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:06:56 +00:00
Russell Keith-Magee bd658cb814 Fixed #10312 -- Corrected a link to the Reportlab user guide. Thanks to JohnDoe for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-22 06:06:29 +00:00
Adrian Holovaty 28448a53a9 Fixed #10135 -- Added some import statements to docs/ref/forms/fields.txt and docs/ref/forms/widgets.txt to help people understand where the code lives. Thanks, Rob Hudson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 08:45:47 +00:00
Adrian Holovaty 641853331d Fixed #10177 -- Fixed typo in docs/ref/templates/builtins.txt. Thanks, bmjames
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 08:43:35 +00:00
Adrian Holovaty 8ed6a62a3c Fixed #10195 -- Fixed a ReST error in docs/ref/contrib/syndication.txt. Thanks, toxik
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 08:41:04 +00:00
Adrian Holovaty 68d15e94d2 Fixed #10218 -- Reworded serialization.txt sentence to remove awkward quotes. Thanks for bringing this up, thedaniel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-21 08:40:07 +00:00
Russell Keith-Magee 322a6a9d1d Fixed #10303 -- Corrected a contradiction in the docs regarding the capabilities of the .update() clause that was introduced by the documentation for F() expressions. Thanks to gluckj for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-19 22:45:48 +00:00
Russell Keith-Magee e83f81de8c Clarified some documentation on the use of the aggregate() query modifier, following suggestions on IRC. Thanks to Tai Lee for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-17 10:17:29 +00:00
Gary Wilson Jr 88837875f2 Auth-related doc cleanups:
* Added to documentation of missing characters from `allowed_chars` in `make_random_password`.
  * Fixed several long lines and word wraps.
  * Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the `:ref:` directive.
  * Turned a command line code example into a code block.
  * Added attribute reference link for a ``request.META`` mention.
  * Added `code-block:: html` directives for HTML examples.
  * Corrected reference links for all the `auth.views` functions.
  * Added a few function signatures and documentation of optional parameters that were missing for some of the the `auth.views` functions (refs #10272).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-16 05:10:31 +00:00
Gary Wilson Jr f76cb41251 A few minor wording, whitespace, punctuation, and link changes for the middleware documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-15 05:46:00 +00:00
Karen Tracey addd3df3bd Fixed #7672 -- Added a 'week_day' lookup type. Many thanks to Ross Poulton for the proposal and implementation on all built-in database backends..
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-08 05:08:06 +00:00
Luke Plant 9a2e338107 Made CSRF middleware skip post-processing for 'csrf_exempt' decorated views.
This commit also decomposes the decorator into two decorators which can be
used separately, adds some tests, updates docs and fixes some code comments.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@9815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-07 17:47:02 +00:00
Russell Keith-Magee fffade6633 Fixed #10187 -- Added documentation on how to import F() objects. Thanks to trigeek38 for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03 23:13:02 +00:00
Gary Wilson Jr a008b5c9ab Corrected code block in apache auth docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-03 03:13:13 +00:00
Russell Keith-Magee 65ad2132ab Fixed #10142 -- Added docs and an exploding error message to highlight an error present in the implementation of STDDEV_POP and VAR_POP in PostgreSQL 8.2-8.2.4 that will give incorrect answers (the database function mistakenly returns sample, rather than population deviation/variance). Thanks to Vinay Sajip <vinay_sajip@yahoo.co.uk> for the report, and Ian Kelly for pointing out the cause of the problem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-02 12:03:31 +00:00
Karen Tracey b197fa7ece Fixed #10152 -- Fixed typo in porting guide. Thanks eagle-eyed anonymous.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 20:21:43 +00:00
Russell Keith-Magee 9a03c21a18 Fixed #8638 -- Added documentation on how to redirect email to a dummy server for testing purposes. Thanks to Rob Hudson and Marc Fargas for their work on the draft for this change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 12:31:11 +00:00
Russell Keith-Magee cf37e4624a Fixed #7210 -- Added F() expressions to query language. See the documentation for details on usage.
Many thanks to:
    * Nicolas Lara, who worked on this feature during the 2008 Google Summer of Code.
    * Alex Gaynor for his help debugging and fixing a number of issues.
    * Malcolm Tredinnick for his invaluable review notes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-29 10:46:36 +00:00
Russell Keith-Magee ff78aef93b Fixed #10110 -- Added FAQ on how and when to poke the core developers about tickets. Thanks to Graham King for turning a couple of django-dev posts into a good first draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-24 12:07:26 +00:00
Russell Keith-Magee f5ed27cf1f Fixed #10052 -- Added import line for other aggregates used in examples. Thanks to Tyler Brownell <tyler@bluefoxstudio.ca> for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-23 11:12:06 +00:00
Jacob Kaplan-Moss f212b24b64 Cleaned up and refactored `ModelAdmin.formfield_for_dbfield`:
* The new method uses an admin configuration option (`formfield_overrides`); this makes custom admin widgets especially easy.
  * Refactored what was left of `formfield_for_dbfield` into a handful of smaller methods so that it's easier to hook in and return custom fields where needed.
  * These `formfield_for_*` methods now pass around `request` so that you can easily modify fields based on request (as in #3987).

Fixes #8306, #3987, #9148.

Thanks to James Bennet for the original patch; Alex Gaynor and Brian Rosner also contributed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 15:32:31 +00:00
Malcolm Tredinnick d579e716fe Fixed #9997 -- Fixed use of ValuesQuerySets as rvalues in filters.
Previous behaviour was pretty stupid. Let's never speak of it again. New
behaviour both works and is documented.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 10:59:43 +00:00
Karen Tracey 344f16e220 Fixed #8138 -- Changed django.test.TestCase to rollback tests (when the database supports it) instead of flushing and reloading the database. This can substantially reduce the time it takes to run large test suites.
This change may be slightly backwards incompatible, if existing tests need to test transactional behavior, or if they rely on invalid assumptions or a specific test case ordering.  For the first case, django.test.TransactionTestCase should be used.  TransactionTestCase is also a quick fix to get around test case errors revealed by the new rollback approach, but a better long-term fix is to correct the test case.  See the testing doc for full details.

Many thanks to:
* Marc Remolt for the initial proposal and implementation.
* Luke Plant for initial testing and improving the implementation.
* Ramiro Morales for feedback and help with tracking down a mysterious PostgreSQL issue.
* Eric Holscher for feedback regarding the effect of the change on the Ellington testsuite.
* Russell Keith-Magee for guidance and feedback from beginning to end.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 02:30:22 +00:00
Russell Keith-Magee f9f9d703cf Fixed #10042 -- YAADT (Aggregation Docs Typo).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 00:02:35 +00:00
Russell Keith-Magee b3dd0b5dcc Fixed #10039 -- More typos in aggregation docs. Seriously, people, now you're just making me look bad :-) Thanks to ElliottM, and to Erich Holscher for a separate report that I've piggybacked on this checkin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 23:15:32 +00:00
Russell Keith-Magee bf710bd005 Fixed #10035 -- Corrected more typos in the aggregation docs. Thanks to Ivan Sagalaev for his eagle eyes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 22:33:55 +00:00
Russell Keith-Magee d55b361ac4 Corrected another typo in aggregation docs. Thanks to Ivan Sagalaev for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 22:26:00 +00:00
Russell Keith-Magee 14d15093bc Corrected typo in aggregation docs. Thanks to Ivan Sagalaev for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 14:07:53 +00:00
Russell Keith-Magee 79fa78cc80 Corrected a copy-and-paste typo in a heading of the aggregation docs. Thanks to Eivind Uggedal for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 12:35:41 +00:00
Russell Keith-Magee 1a87e01f21 Corrected some ReST problems with the aggregation docs. Thanks to James Bennett for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 12:13:17 +00:00
Russell Keith-Magee cc4e4d9aee Fixed #3566 -- Added support for aggregation to the ORM. See the documentation for details on usage.
Many thanks to:
 * Nicolas Lara, who worked on this feature during the 2008 Google Summer of Code.
 * Alex Gaynor for his help debugging and fixing a number of issues.
 * Justin Bronn for his help integrating with contrib.gis.
 * Karen Tracey for her help with cross-platform testing.
 * Ian Kelly for his help testing and fixing Oracle support.
 * Malcolm Tredinnick for his invaluable review notes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-15 11:06:34 +00:00
Jacob Kaplan-Moss 1f84630c87 Fixed #6470: made the admin use a URL resolver.
This *is* backwards compatible, but `admin.site.root()` has been deprecated. The new style is `('^admin/', include(admin.site.urls))`; users will need to update their code to take advantage of the new customizable admin URLs.

Thanks to Alex Gaynor.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-14 20:22:25 +00:00
Jacob Kaplan-Moss ffeb1d0465 Fixed #9346: fixed comment upgrade SQL in documentation. Thanks, mt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-12 17:31:40 +00:00
Jacob Kaplan-Moss 3990d00f20 Fixed #9959: fixed comment documentation example showing how to get a preview.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-12 17:29:01 +00:00
Gary Wilson Jr 11d382c6c4 Fixed a long line, a typo, and a few misspellings from [9727].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-11 05:47:06 +00:00
Jacob Kaplan-Moss 299e1e814f Fixed #6791: added a write-through cache session backend: session data is written through the cache to the database, but read from the cache for speed. Thanks to jhenry, mcroydon, and jdunck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-10 22:18:14 +00:00
Malcolm Tredinnick d32c290846 Revised r9566 slightly to be backwards compatible with versions 1.0 - 1.0.2.
Also documented the change. We prefer to load directory_index.html for static
directory listings, but if you have the (older style) "directory_index"
template and no .html version, we'll load that. This should stop a bunch of
mysterious breakages when people upgrade to Django 1.0.3 or Django 1.1. Also
keeps the docs in sync with released code.

Fixed #9993.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-09 12:41:07 +00:00
Ian Kelly bde7e79fb3 Refs #9935: Added a note in the documentation to the effect that Django currently requires a 4.X release of cx_Oracle.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 18:22:07 +00:00
Malcolm Tredinnick a9c2f033cd Upgraded included simplejson to 2.0.7.
Also changed importing logic to prefer a system-installed version of
simplejson (unless it's an earlier version that does not contian the C
speedups), then the json module from Python 2.6, then the version
shipped with Django.

Fixed #9266.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 05:13:02 +00:00
Malcolm Tredinnick 3b489b7742 Documented that case-insensitive matching is not supported for non-ASCII
strings in SQLite. Refs #9905.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 03:34:47 +00:00
Malcolm Tredinnick f747b61c20 Nested query support.
This extends previous functionality that allowed passing Query objects as the
rvals to filters. You can now pass QuerySets, which requires less poking at
opaque attributes. See the documentation of the "__in" lookup type for the
details.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-05 11:47:48 +00:00
Russell Keith-Magee ff4b844cb4 Added a link to RKM's blog in the committers file.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 05:04:12 +00:00
Adrian Holovaty 89dc5b894a Added some documentation explaining (1) that it's possible to add users via the Django admin site, and (2) that in order to be able to add users via the admin site, you need to have both 'add user' and 'change user' permissions. Refs #9866
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-25 06:19:14 +00:00
Gary Wilson Jr 7bf9626adb Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:20:49 +00:00
Gary Wilson Jr 05737128de Fixed #9902 -- Corrected misspelling in form validation documentation, thanks zunzun.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 04:13:14 +00:00
Gary Wilson Jr bcae5fc1b3 Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:13:15 +00:00
Gary Wilson Jr c565352954 Fixed #9780 -- Fixed an undefined internal link in the model forms documentation, thanks ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:01:09 +00:00
Gary Wilson Jr d66e63f2dc Fixed #9904 -- Corrected name of storage method in files documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 23:21:32 +00:00
Malcolm Tredinnick 9d13b6ec28 Changed some ReST formatting of headers (in forms/validation.txt).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 04:18:00 +00:00
Karen Tracey 04ed423469 Fixed #9898 -- Added a missing 'e' to 'one'. Thanks gizzywump. Also Americanized specialised while in the area, per contributing's guideline.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:17:46 +00:00
Malcolm Tredinnick b58a260c56 Fixed #9431 -- Added extra validation for VARCHAR-based fields on MySQL.
max_length > 255 and unique=True is not permitted. Based on a patch from
adamnelson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:43:18 +00:00
James Bennett 7030ab9a72 Yet another place where we claim to support 2.3 and up
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 01:52:08 +00:00
James Bennett 280236eacd Another place where we talked about Python versions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 23:05:55 +00:00
James Bennett 626f72733d Clarify install docs to point at new FAQ items about Python 3.0.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:48:23 +00:00
James Bennett adfad3c193 Fixed #9783; clarified install docs and FAQ to explain that Django does not yet work with Python 3.0.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:39:58 +00:00
Malcolm Tredinnick b4364e099e Documented how to handle '%' characters in redirect_to() URL strings (even in
the absence of keyword arguments). Fixed #9773.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:33:08 +00:00
Malcolm Tredinnick 80da07e4b9 The "permanent" parameter to redirect_to (r9594) is new in Django 1.1. Noted as
much in the docs.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:32:28 +00:00
Malcolm Tredinnick 731f6be262 Fixed #9777 -- Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:15:35 +00:00
Malcolm Tredinnick d29b7a14c5 Fixed #9772 -- Fixed a couple of broken links and pointed them to a more
appropriate section. Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:13:49 +00:00
Adrian Holovaty c006ef5746 Did some much-needed rewriting/editing in the formsets section of docs/topics/forms/modelsforms.txt. 'It self' is not two words.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 04:17:14 +00:00
Brian Rosner 6553ddc5b4 Improved the model formset and inline formset documentation to be more explicit and handle some cases that were never addressed before.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 00:31:17 +00:00
Karen Tracey 453d452653 In the release process doc, clarify that the original committer is responsible for backporting trunk fixes to the bug-fix branch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 17:15:56 +00:00
Gary Wilson Jr 235600c3c3 Fixed #9724 -- Added missing import to URLconf example, thanks shacker.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:35:20 +00:00
Gary Wilson Jr ff3e1a7d40 Fixed #9718 -- Removed a reference to oldforms FormWrapper object in the user authentication docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:27:04 +00:00
Adrian Holovaty b76d7c1dec Added a 'permanent' argument the simple.redirect_to() generic view. It's True by default, to match existing behavior. If set to False, the redirect will be a 302 instead of a 301. This is technically backwards-incompatible if you were using the redirect_to generic view with a format-string key called 'permanent', which is highly, highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 04:53:34 +00:00
Adrian Holovaty e9b90d9899 Edited ref/contrib/csrf.txt changes from [9554]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 04:15:19 +00:00
Adrian Holovaty 352efd1893 Edited docs/topics/forms/index.txt changes from [9569] and fixed a typo in the visible_fields() docstring
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 04:07:42 +00:00
Malcolm Tredinnick e8707e068d Fixed #9645 -- Work around a backwards-incompatibility in Sphinx so that
various combinations of released docutils and sphinx versions all work
together. Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 04:00:08 +00:00
Malcolm Tredinnick d1102d63e6 Fixed #9677 -- Fixed a tiny typo in the 1.0.2 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:54:45 +00:00
Malcolm Tredinnick 89ada943ee Fixed #9705 -- Call the Netherlands by their real name in the localflavor
documentation.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:42:25 +00:00
Malcolm Tredinnick 04ff1aff12 Fixed #9712 -- Documented how HTTP headers are converted to request.META keys.
Based on a patch from masklinn.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:41:54 +00:00
Malcolm Tredinnick 84cc008473 Fixed #9731 -- Typo fix in docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:41:23 +00:00
Malcolm Tredinnick bfab9d62ee Added a way to iterate over hidden/visible fields in a form. Useful for manual
form layout.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-05 04:22:00 +00:00
Malcolm Tredinnick 5d7c57f681 Fixed some markup errors in the form validation docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 05:37:37 +00:00
Malcolm Tredinnick 4bdbd1401d Fixed #9735 -- Documentation typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 05:50:46 +00:00
Malcolm Tredinnick 94f4348728 Fixed #9734 -- Typo fix in the custom fields documentation, pointed out by
col16.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 05:50:11 +00:00
Malcolm Tredinnick 1302fe9a35 Fixed #9740 -- Updated and correct usage of max_entries in cache documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 05:49:37 +00:00
Luke Plant 9ec9936413 Updated csrf docs with 'versionadded' info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 00:44:12 +00:00
Luke Plant 9eedc7bd0b New CsrfMiddleware features: automatic exceptions for known AJAX and decorator for manual exceptions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 00:34:18 +00:00
Malcolm Tredinnick 87fc7efda5 Added a note to the SQLite database documentation mentioning that version 3.6.2
is to be avoided like the plague. Fortunately, it was only the latest release
for three weeks, so avoidance is easy (as is upgrading).

Refs #9358.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 05:58:15 +00:00
Malcolm Tredinnick f7a64b341a Added a short note to the modelforms documentation linking between
save(commit=False) and using force_insert or force_update on the Model.save()
call. Refs #8672.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 04:07:43 +00:00
Jacob Kaplan-Moss 4aa97f5c18 Fixed #6398: added an optional `{% empty %}` clause to the `{% for %}` template tag. The contents of this clause are rendered if the list iterated over turns out to be empty. Thanks, Jannis Leidel.
Astute readers will notice that the patch originally called this `default`; after consideration I decided that `empty` is a very slightly better color for this particular bikeshed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 22:01:48 +00:00
Jacob Kaplan-Moss 136c4f8549 Fixed a small reST header glitch in docs/ref/templates/builtins.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 22:01:24 +00:00
Jacob Kaplan-Moss 089ab18c02 Fixed #4924: added support for loading compressed fixtures. Thanks to Lars Yencken and Jeremy Dunck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 20:42:09 +00:00
Karen Tracey 3ac16c0fdd Remove the FAQ answer about a setuptools install error that references running a script 2-years-gone from the source tree.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 17:47:47 +00:00
Karen Tracey 5372508fdf Fixed #9611 -- Noted in the FAQ answer about Python versions that some contrib apps (notably gis) may require a higher Python version. Thansk jamesivanwhite for the report and initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 17:41:08 +00:00
Karen Tracey a5172c3e1f Fixed #9618: Corrected an error in some example code in the forms documentation. Thanks matthijs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 16:25:05 +00:00
James Bennett e5437af89a Forward-port docutils fix from [9497].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:26:31 +00:00
James Bennett 5759f28947 Add 1.0.2 release notes to trunk so they show up online
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:21:58 +00:00
Adrian Holovaty 56c06c835c Greatly refactored the docs index to allow for more efficient use by power users, while staying clean for new users. It no longer takes four clicks to get to the list of default template filters.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 07:33:35 +00:00
Adrian Holovaty 0cfcc72f88 Renamed file-uploads.txt from 'topics-file-uploads' to 'topics-http-file-uploads' to be consistent with directory structure
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 07:32:38 +00:00
Adrian Holovaty e37e57f44a Removed 'Most Web sites wouldn't be complete without a way to upload files' sentence from file-uploads.txt in docs. I beg to differ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 06:35:05 +00:00
Malcolm Tredinnick a573f4c029 Fixed #9472 -- Fixed a couple of URL patterns to be more consistent (and remove
a misleading initial slash). Thanks, daveyjoe.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 09:35:30 +00:00
James Bennett 2246d526b1 One more correction to the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:57:39 +00:00
Malcolm Tredinnick 644ad9073f Fixed #9477 -- Removed and edited a bunch of references to "development
version". Some were replaced with versionadded or versionchanged directives.
Other, more minor ones, were removed altogether.

Based on a patch from James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:51:25 +00:00
James Bennett 1d375e1472 Port [9450] forward to trunk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:36:30 +00:00
James Bennett f5532f7119 Add 1.0.1 release notes to trunk so they'll show up in the online docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:21:37 +00:00
Malcolm Tredinnick 64b56447f3 Fixed #9377 -- Clarified when cmemcached support was included in Django.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 08:02:46 +00:00
Malcolm Tredinnick 26fabdb218 Fixed #9531 -- Fixed some awkward wording in the docs. Thanks, gsf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 08:01:01 +00:00
Malcolm Tredinnick 599852d04d Fixed #9507 -- Correct an example in the admin docs. Thanks, john_scott and
SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:49:51 +00:00
Malcolm Tredinnick 40976e0862 Fixed #9594 -- Typo fix in the testing example.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:38:55 +00:00
Malcolm Tredinnick a0d4749920 Fixed #9468 -- Fixed a misleading FAQ answer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:38:27 +00:00
Karen Tracey 8d28a4c853 Quit being a complete mystery.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 23:43:25 +00:00
Russell Keith-Magee e32299e0bc Fixed #9572 -- Corrected some documentation that misleadingly gave the extension for YAML fixtures as YML. Thanks to django@i-sh.me.uk for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:48:57 +00:00
Russell Keith-Magee 95d8c0619a Fixed #9351 -- Modified the test client to pass on URL encoded parameters to the underlying views. Thanks to sime for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:22:05 +00:00
Karen Tracey 675a4a1067 Fixed #9567 - Removed an extraneous 'are'.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-11 02:57:02 +00:00
Karen Tracey c672e44ea9 Fixed #9556 - typos in syndication docs. Thanks sedden.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-09 19:01:34 +00:00
Russell Keith-Magee fb8a7702a0 Fixed #9518 -- Corrected example JSON snippet in fixture documentation. Thanks to claude@2xlibre.net for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 10:24:24 +00:00
Karen Tracey 834ca580fc Fixed #9499: Corrected self-reference in test client put method doc. Thanks jroes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 21:38:44 +00:00
Karen Tracey c483583023 Fixed #9497 - Doc typos. Many thanks ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 20:43:20 +00:00
Karen Tracey 8a5f2ee912 Fixed #9495 -- Corrected typo in urls doc. Thanks seemant.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 04:17:59 +00:00
Karen Tracey 1f69b11ef5 Fixed #9337 -- Use a link to Jython that actually works. Thanks admackin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:51:54 +00:00
Karen Tracey 2efa5f80d6 Fixed #9374 -- Added missing close paren in serialization doc. Thanks jordy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:14:36 +00:00
Karen Tracey dd9fd80561 Fixed #9441 -- Corrected typo in file upload settings doc. Thanks gsf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:45:03 +00:00
Karen Tracey 021b40a84c Fixed #9412 -- Corrected a couple of typos in the custom model field doc. Thanks carljm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:20:00 +00:00
Karen Tracey d4f4ab8535 Fixed #9487 -- Corrected several links into the Python docs that were broken by the recent Python docs refactor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:02:09 +00:00
Karen Tracey 8955a085a5 Fixed #9491 -- Added a missing 'the' in what to read next. Thanks mh983.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 18:04:36 +00:00
Karen Tracey 2026934600 Fixed #8966 -- Changed is_safe for length_is filter to False, since its return value is a boolean, not a string.
Thanks Thomas Steinacher and carljm.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 19:00:49 +00:00
James Bennett 0503442d2c Minor typo correction from [9279].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 03:10:13 +00:00
James Bennett 2d40c75acf Remove obsolete reference to "development version" in autoescaping docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 03:09:29 +00:00
Malcolm Tredinnick 03fcf19fd2 Fixed #9434 -- Added a note to the mod_python docs regarding requiring
PythonInterpreter in different VirtualHost blocks that share the same server
name. Thanks to Graham Dumpleton for the clarification.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:26:09 +00:00
Malcolm Tredinnick c57fe6c3ec Fixed #9432 -- Revived documentation of ~Q usage.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:25:32 +00:00
Malcolm Tredinnick cbe11c1982 Fixed #9430 -- Fixed documentation references to the HttpResponse classes for
returning HTTP status codes other than 200.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:24:42 +00:00
Malcolm Tredinnick 1dafebaed1 Fixed #9424 -- Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:16:23 +00:00
Malcolm Tredinnick 032b7bc45e Fixed #9420 -- Fixed an exception type in the documentation of Queryset.get().
Based on a suggestion from daveyjoe.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:15:52 +00:00
Malcolm Tredinnick 9900c87161 Fixed #9390 -- Restored some documentation about select_related() that was
accidentally lost in the docs refactor.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:15:07 +00:00
Malcolm Tredinnick 92a6c14291 Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:14:30 +00:00
Brian Rosner 227a5a4ee6 Corrected a typo in the 1.0 porting guide.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 23:35:34 +00:00
Malcolm Tredinnick ede4f94621 Fixed #9239 -- Somebody read my form validation docs from r9177 and found a
typo in them. I guess that was predictable. Thanks, Berry Groenendijk


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:30:54 +00:00
Malcolm Tredinnick 0b7b74432a Fixed #9325 -- Typo fix in the forms documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:19:47 +00:00
Malcolm Tredinnick 72f387d344 Fixed #9215 -- Added a view/template example of using pagination.
Based on a patch from shacker and Matt Dennenbaum.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:51:14 +00:00
Malcolm Tredinnick 08c3ad0cd0 Added a link to the "documentation" documentation in the contributing docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:49:50 +00:00
Malcolm Tredinnick 777aaf0333 Added a note about where custom manager specifications go in a model (for the
style guide).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:48:11 +00:00
Malcolm Tredinnick cd8eeaacf5 Fixed #5888 -- Added methods to the test client to support HEAD, PUT, DELETE
and OPTIONS support. Thanks Scott Barr and Leah Culver.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 09:23:40 +00:00
Malcolm Tredinnick a928c563e9 Added a lot more explanation about form field validation, including expanded
examples. Fixed #5843, #6652, #7428.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:21:11 +00:00
Malcolm Tredinnick 49c61ab1ab Fixed #7011 -- Clarified what User.is_active really means in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:20:15 +00:00
Malcolm Tredinnick 870a6ec20c Fixed #6979 -- Fixed the documentation cross-reference between the TIME_ZONE
setting and manual settings configuration.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:18:30 +00:00
Malcolm Tredinnick 452ba4a8f7 Fixed #8768 -- Clarified that ugettext_lazy() results are unicode proxies and
can't be used as bytestrings.

Still a number of markup changes to be made in this file (and in this
changeset). That's intentional for now, since I'm going to rewrite the file
later this week.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:32:35 +00:00
Malcolm Tredinnick fa63f1642d Fixed #8975 -- Added a note to the documentation for reverse() that all views
must be importable for URL reversing to work correctly.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:31:32 +00:00
Malcolm Tredinnick cddece2db1 Fixed #9254 -- Added information to the porting guide about the removal of
"core" and the new methods on model file- and image-fields.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:30:02 +00:00
Malcolm Tredinnick 8cbf5d102c Fixed #8688 -- Added a note about using a settings variable for the static
media viewer with the development server. Based on a suggestion from trodrigues.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:29:05 +00:00
Malcolm Tredinnick e0a09b7dac Fixed a couple of markup errors in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:28:18 +00:00
Malcolm Tredinnick a011a49457 Fixed #9047 -- Marked up django.core.urlresolvers.reverse() properly in the
docs. It now appears in the index.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:27:24 +00:00
Karen Tracey 5d3b222a59 Fixed #9212: Added code to check the xgettext version, and if it is lower than 0.15, undo an incorrect encoding to utf-8 done by xgettext. This bug was fixed in xgettext 0.15, but the most-easily-installed Windows gettext binaries are older (0.13.1), so we work around it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 01:36:35 +00:00
James Bennett b131462d76 Add note to 1.0 porting guide about removal of dictionary access to HTTP request objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 16:03:58 +00:00
Malcolm Tredinnick 806ea3a1de Changed the "write your own settings" recommendation to mention that Django
uses tuples, but not making it a recommendation. That might head off the endless
tuples vs. lists debates.

Fixed #8846.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 08:58:17 +00:00
Malcolm Tredinnick 0995b63b77 Fixed #8964 -- Added a note that MyISAM may not necessarily be the default
storage engine for MySQL. Some packagers seem to like causing confusion.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:56:15 +00:00
Malcolm Tredinnick 5cd7af58c9 Fixed a typo and clarified how django.core.mail.outbox works in the testing framework. Fixed #9237.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:39:26 +00:00
Malcolm Tredinnick 7e4d2778e6 Added django.contrib.markup to the docs contents page. Thanks, Marc Fargas.
Refs #9237.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:38:59 +00:00
Malcolm Tredinnick e466d2ea53 Fixed #9257 -- Fixed a small mismatch in text in part 2 of the tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:19:06 +00:00
Malcolm Tredinnick 514fba5b92 Fixed #9291 -- Tweaked a piece of example code slightly to set a good example
for others (now uses an encoding that is guaranteed to work for XML consumers).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:18:41 +00:00
Malcolm Tredinnick 93aec4e44a Fixed #9301 -- Correct a markup typo in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:18:08 +00:00
Malcolm Tredinnick d3c6093645 Fixed #9300 -- Typo fix in docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:17:29 +00:00
Russell Keith-Magee 8d98e70e42 Promoted --verbosity to be a top level option for all management commands. Also added -v as a consistent short form of --verbosity. This is mostly to save Malcolm's poor arthritic fingers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-02 12:57:13 +00:00
James Bennett 73c0db8e42 Fixed #9255: Removed now-obsolete warning about the old semantics of __exact=None vs. __isnull=True
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 22:29:58 +00:00
Adrian Holovaty 97087962b1 Rewrote bits of the cycle tag documentation, which was confusing -- it implied 'rowvar' was required
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 17:45:58 +00:00
Malcolm Tredinnick e9f647e11f Fixed #9234 -- Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-29 04:09:39 +00:00
Malcolm Tredinnick 4eb26b1659 Restored documentation about pickling QuerySets (and how to only pickle the
details for the query, rather than the results) from r7499.

These were accidentally nuked in the docs refactor. We know who the offenders
were. They will be made to sit in the corner on the naughty mat for a while.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 03:08:30 +00:00
Malcolm Tredinnick edabc4aca1 Fied #9169 -- Fixed a typo in a docs example. Thanks, jeremyb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-27 03:25:42 +00:00
Russell Keith-Magee 48d41cf78e Fixed #8371: Added a note warning Windows users about the use of forward slashes when specifying the DATABASE_NAME setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 11:10:39 +00:00
Russell Keith-Magee 54f962c0bf Fixed #8967: Added documentation for the 'through' option on a many-to-many field in the fields reference documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 11:07:35 +00:00
James Bennett 1b733aa10d Fixed #9149: Fixed reST error in syndication docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21 07:43:58 +00:00
Jacob Kaplan-Moss af68a0ccd8 Fixed heading levels in docs/internals/committers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-19 19:45:54 +00:00
Jacob Kaplan-Moss de9acabf12 Updated contributing documentation to contain the new release process and updated information about branches using DVCSes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-19 19:44:10 +00:00
Russell Keith-Magee 7faa23d69c Fixed #9121: Corrected markup in the form preview docs. Thanks to Jarek Zgoda for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18 15:57:47 +00:00
Russell Keith-Magee 7976817a59 Fixed #8955: Modified the sphinx configuration to generate LaTeX documentation. Thanks to simonb for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18 15:46:20 +00:00
Malcolm Tredinnick 11e29c887a Fixed some misordered markup for the ROOT_URLCONF setting in the docs.
Fixed #9098.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 07:59:05 +00:00
Adrian Holovaty 7a80a9fa7d Fixed #8546 -- Fixed error in request-response.txt where we were incorrectly listing HttpResponse.content() in the 'Methods' section instead of the 'Attributes' section. Thanks, schmichael
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 05:18:41 +00:00
Adrian Holovaty c1bed37715 Fixed #9103 -- Added django.contrib.admin to the docs modindex (I think)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 04:52:25 +00:00
Adrian Holovaty 78999f24ee Fixed #9035 -- Reworded 'File uploads' link in docs index.txt to be clearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:58:53 +00:00
Adrian Holovaty 1fcf33095f Fixed #9091 -- Rephrased Variable() documentation. Thanks, telenieko
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:42:11 +00:00
Adrian Holovaty 772639c692 Edited some recent docs changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:31:00 +00:00
Adrian Holovaty 3b0bf9805d Fixed #9097 -- Fixed typo in tutorial04.txt. Thanks, zhe
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:30:48 +00:00
Adrian Holovaty fdd3cb4930 Edited forms/index.txt changes from [9030]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:22:08 +00:00
Simon Willison fe3a560768 Added mention of inclusion tags to reusable form templates documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 15:44:59 +00:00
Russell Keith-Magee b8ba0154b8 Fixed #9085: Modified some example form HTML to be XHTML, consistent with Django default rendering. Thanks to Jarek Zgoda for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 12:14:31 +00:00
Simon Willison 7617e73c8c Added documentation on creating reusable form templates; thanks for the suggestion, oggie rob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 09:30:05 +00:00
Simon Willison 6fcdcbd456 Clarified the wording of the section on customizing form.errors within a field loop
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 00:13:25 +00:00
Simon Willison 5389c0d2af Added documentation of the Form class's custom __iter__ method to the forms API reference as well
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 00:07:13 +00:00
Simon Willison 7ac86d17c8 Added documentation for looping over a form's fields in a template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 23:55:09 +00:00
Russell Keith-Magee e820b54401 Fixed #9044: Corrected mistake in a closing tag in an example template. Thanks to Rick Vanderzwet for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 13:10:36 +00:00
Russell Keith-Magee 47091ab5b5 Fixed #9032: Corrected some minor typos in the admin docs. Thanks to rduffield for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 12:59:39 +00:00
Russell Keith-Magee c9f0dd1ed6 Fixed #9075: Added a call to close() in the example file upload handler. Thanks to Brendan (bmsleight) for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 10:32:04 +00:00
Russell Keith-Magee ea0fe604d8 Fixed #9078: Added commas to the example URLconf lines so that they can be easily copied and pasted. Thanks to mo.longman@gmail.com for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 09:39:04 +00:00
Russell Keith-Magee 83d2cb79cb Fixed #9077: Modified the database installation notes to point to somewhere useful, rather than initd.org's rant page about Trac. Thanks to velo for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 09:34:31 +00:00
Russell Keith-Magee e600d00b44 Fixed #9067: Added a note that you can register a model with the admin without providing a ModelAdmin object. Thanks to Rob Hudson for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:58:16 +00:00
Russell Keith-Magee 7ab3285f64 Fixed #9060: Clarified some language in the description of modelformset_factory. Thanks to gsf for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:36:58 +00:00
Russell Keith-Magee 7931da87ec Fixed #9059: Corrected some markup in tutorial 4 that incorrectly identified a template variable as a function. Thanks to zen for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:28:55 +00:00
Russell Keith-Magee a8d2810be5 Fixed #9048: Corrected markup typo in tutorial 4. Thanks to gkelly for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:15:22 +00:00
Russell Keith-Magee bc75e912a4 Fixed #9046: Corrected a typo in the m2m intermediate docs. Thanks to djoume for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 07:52:45 +00:00
Russell Keith-Magee 5a4feb9ec2 Fixed #9052: Corrected typo in file handling docs. Thanks to KiWiB0RG for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 06:49:28 +00:00
Brian Rosner 2d8d69f9ae Fixed #9050 -- Fixed a typo in the 1.0 porting guide in the admin section. Thanks ahebert.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 16:56:09 +00:00
Brian Rosner 9ee0b0d384 Fixed #9027 -- Corrected the documentation about can_delete default value. Thanks gsf for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 16:52:28 +00:00
Brian Rosner 1a2296267d Fixed #9056 -- Corrected a typo in topic/forms/modelforms.txt documentation. Thanks drozzy for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 15:52:39 +00:00
Adrian Holovaty 1b58b77f0d Edited docs changes from [9010] and [9011]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 03:32:28 +00:00
Adrian Holovaty 8c6f5c6f05 Edited i18n.txt changes from [9009]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 03:28:49 +00:00
Simon Willison 868748e196 Fixed #9018
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:59:11 +00:00
Simon Willison bc5cddc5c5 Clarified the bit in the tutorial about creating your first admin.py - fixes #8891
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:57:31 +00:00
Simon Willison 1c78bf4b98 Small documentation tweaks, fixes #9000 - thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:43:32 +00:00
Simon Willison b0da050b83 Clarified i18n docs concerning verbose_name and verbose_name_plural - fixes #7102
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:32:59 +00:00
Simon Willison 11fd9f2d84 Fixed #8858 by correcting typo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 00:30:31 +00:00
Simon Willison f17f2bfd1f Re-added docs for QuerySet reverse() and all() methods, refs #9000 - thanks ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 00:24:02 +00:00
Adrian Holovaty 33c29736bb Fixed #9010 -- Fixed typo in custom-file-storage.txt. Thanks, rduffield
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 15:09:53 +00:00
Adrian Holovaty 665f9342d3 Reworded a bunch of the links on the docs index to be consistent
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 05:04:24 +00:00
Adrian Holovaty 78cb60ab07 Changed the 'Getting help' section of the docs index.txt to have consistent trailing punctuation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 04:53:44 +00:00
Adrian Holovaty 8be80c2380 Fixed #8996 -- Fixed small typo in documentation.txt. Thanks, rduffield
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 04:04:57 +00:00
Adrian Holovaty 1aa8449fb7 Fixed #9003 -- Fixed awkward wording in querysets.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 03:57:52 +00:00
Adrian Holovaty 568b8637bf Fixed #8958 -- Fixed typo in cache.txt. Thanks, benwalton@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 19:53:57 +00:00
Adrian Holovaty 2dd4b949f5 Fixed #8986 -- Fixed typo in install.txt. Thanks, rduffield
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 19:09:05 +00:00
Adrian Holovaty 646c12f0d4 Fixed #8985 -- Removed two FAQ questions that have been outdated by the 1.0 release, including 'When will you release Django 1.0?' Good riddance!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 02:33:14 +00:00
Adrian Holovaty 8f78d7f940 Fixed #8983 -- Removed a funky character from faq/general.txt. Thanks, Fernando Correia
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:56:01 +00:00
Adrian Holovaty 74f386dba2 Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:54:20 +00:00
Adrian Holovaty 834a041e67 Fixed #8982 -- Removed funky character from whatsnext.txt. Thanks, Fernando Correia
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:43:17 +00:00
Adrian Holovaty a5e0c5b182 Fixed #8580 -- Hyperlinked some module names in settings.txt. Thanks, msaelices
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 23:08:01 +00:00
Adrian Holovaty 908f0a66e3 Small wording improvements to sitemaps.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 22:56:03 +00:00
Adrian Holovaty 571f4639a9 Small wording improvements to cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 22:55:31 +00:00
Gary Wilson Jr acf2600a4c Fixed #8911 -- Several corrections for the 1.0 porting documentation, thanks arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 19:15:41 +00:00
Gary Wilson Jr 165b55828a Fixed #8924 -- Corrected a couple typos in queries documentation, thanks arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 18:46:11 +00:00
Adrian Holovaty e97ec4d142 Fixed #8919 -- Fixed typo in signals.txt. Thanks, jbalogh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 06:18:59 +00:00
Adrian Holovaty 756fa95bd2 Fixed #8727 -- Fixed broken link to Italian SSN page in localflavor.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 23:44:42 +00:00
Adrian Holovaty c402e3b977 Fixed #8858 -- Fixed typo in SQLite version information. Also reworded it to be a bit more future-compatible. Thanks, adamv
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 16:54:25 +00:00
Adrian Holovaty a0875bcc89 Fixed #8883 -- Fixed some glitches in model reference. Thanks, arien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 16:51:24 +00:00
Adrian Holovaty 83dd70fddb Fixed #8909 -- Fixed typo in contenttypes docs. Thanks, arien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 16:49:31 +00:00
Adrian Holovaty 5f83e0488a Fixed #8894 -- Fixed typo in modelforms.txt. Thanks, koblaid@web.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 00:09:17 +00:00
Simon Willison 698dbb63e0 I am not a lolcat
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-05 17:40:30 +00:00
Luke Plant 7982519477 Added bio for myself
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-05 15:39:58 +00:00
Luke Plant a5bf0af67c Fixed typo in my name
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-05 14:07:17 +00:00
Adrian Holovaty 6008485b80 Made a bunch of edits and typo corrections to 1.0-porting-guide.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-05 00:48:34 +00:00
James Bennett 3239849174 Correct bad target in middleware documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-04 09:50:45 +00:00
James Bennett 36b120c23a Fixed #8867: Corrected a couple typos in the signals documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-04 07:29:27 +00:00
James Bennett ca422fd89b Now that the 1.0 release is finalized, we can fill in the revision number for it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-04 05:26:09 +00:00
Jacob Kaplan-Moss 58fad7f9fd Added the last notes about 1.0, including the inevitable (short!) list of known issues.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 23:10:07 +00:00
Jacob Kaplan-Moss 7c2e2d2b5e Added a note about queryset.query being opaque.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 21:47:57 +00:00
Simon Willison c19d2dd8f7 Cleaned up some whitespace
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 21:22:49 +00:00
Simon Willison 00dcd49ffb I'm not working for the Guardian just yet - not until October
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 21:21:24 +00:00
Jacob Kaplan-Moss d7e37b661c Added a note about SQLite versions before 3.3.6. Refs #7570. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 21:10:42 +00:00
James Bennett cdffe90c8a And now we don't need that redundant extra sentence
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:57:46 +00:00
James Bennett d6f94676cb Fix my bio
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:56:26 +00:00
Jacob Kaplan-Moss 7b0b992a87 Fixed #8849: added some more "new in 1.0" flags. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:55:04 +00:00
Jacob Kaplan-Moss ee28ee9311 Fixes #8847 - a bunch of cleanups to the i18n docs. Thanks, ramiro!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:52:20 +00:00
Malcolm Tredinnick 8df158048c Typo fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:41:21 +00:00
Brian Rosner dd75469d4f Added my location to the committer details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:35:31 +00:00
Brian Rosner 26dd79c8aa Updated my entry on the committers documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:30:52 +00:00
Jacob Kaplan-Moss 62fc155343 Fixed #8848: clarified custom file storage backend docs in light of the more clear code comments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:27:54 +00:00
Jacob Kaplan-Moss 5697f87914 Fixed #8701, a couple of bad links in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:23:18 +00:00
Russell Keith-Magee d302be429b Corrected some minor typos in the committers details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:21:31 +00:00
James Bennett c5d56be365 Fixed a small typo in docs/internals/committers.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:14:57 +00:00
Jacob Kaplan-Moss e62ab77054 A collection of improvements and cleanups to the 1.0 release notes and porting guide.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 19:58:34 +00:00
Jacob Kaplan-Moss 9d5e77d26d Cleaned up the list of authors/contributors so that people actually working on Django get some props.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 19:58:21 +00:00
Simon Willison cd5a00b4e4 Fixed #8838 - two typos in model field docs. Thanks, arien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 15:35:58 +00:00
Malcolm Tredinnick fd1d986bb1 Fixed #8802 -- Documented MySQL's usage of 1/0 instead of True/False for model
BooleanFields.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 06:14:13 +00:00
James Bennett aea34087ef Fixed #8811: Corrected URL example in tutorial part 2
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 04:43:57 +00:00
James Bennett a92d511a17 Fixed #8804: corrected URL example in sitemaps docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 04:42:49 +00:00
James Bennett 87da9cd759 Fixed #8829: Corrected typo in docs/topics/forms/index.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 04:40:52 +00:00
Malcolm Tredinnick d8b56ecbf6 Added a stability note about template tag names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:09:52 +00:00
Malcolm Tredinnick c30494b616 Added two items (django.utils.translation and django.utils.http) to the API
stability document and removed a duplicate mention of django.utils.encoding.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:09:45 +00:00
Jacob Kaplan-Moss ecb5f4c693 Fixed the documentation HTML writer to not apply smartypants to literal blocks. Fixes #8696; thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:49:23 +00:00
Jacob Kaplan-Moss b13276b1ff Fixed another typo in 1.0 notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:45:06 +00:00
Jacob Kaplan-Moss 0a7e454fa2 Fixed a typo in 1.0 notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:34:20 +00:00
Jacob Kaplan-Moss f6a3652eb2 Fixed #8788: fixed a few typoes in [8805]. Thanks, Matthew Flanagan and mir.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:33:56 +00:00
Jacob Kaplan-Moss e997a1c3df Rough draft of 1.0 release notes. Not in any way finished.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:19:20 +00:00
Brian Rosner 6656642d36 Use a lower case 's' in URLS in the 1.0 porting guide.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:08:31 +00:00
Brian Rosner 5ff51f6bb3 Corrected a minor typo in the 1.0 porting guide.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:04:33 +00:00
Jacob Kaplan-Moss 58e3ef76db Updated API stability document for 1.0.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 18:45:33 +00:00
Simon Willison e00aa16e24 Fixed spelling typo in porting guide and added __str__ to __unicode__ to the model example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 18:38:55 +00:00
Brian Rosner a658d45a6c Improved the docs even more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:57:18 +00:00
Brian Rosner 7163fe4d96 Added some docs on model formsets in views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:57:02 +00:00
Jacob Kaplan-Moss bc768e2b47 A bunch of cleanups to file documentation. Along the way some references to the old file methods were removed - thanks, varikin.
Fixes #8642.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:33:51 +00:00
Brian Rosner c1de41f4d2 Fixed #7973 -- Added exclude to BaseModelAdmin to make everything consistent with the form/formset factories. Refs #8071 to make it easier to get at exclude. Thanks julien for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:26:24 +00:00
Jacob Kaplan-Moss 24d7b49849 Fixed #8496: added a note about admindocs to the project template and the tutorial. Thanks, ericvw.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:52:42 +00:00
Jacob Kaplan-Moss b1f5ed00cb Fixed #7943: added documentation on overriding admin templates. Thanks, mwdiers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:47:45 +00:00
Jacob Kaplan-Moss 23f012dbfa Cleaned up a bunch of minor doc stuff:
* Removed flatpages/redirects README; no other contrib apps have those.
  * Cleaned up top-level README to be more readable.
  * Removed outdated references to old docs (Fixes #8701)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:42:13 +00:00
Jacob Kaplan-Moss 1156db790a Added a rough draft of the 1.0 porting guide, and an obviously incomplete placeholder for the 1.0 release notes. Thanks to daonb, patrickf, and ramiro for contributions to this porting guide. Refs #8438.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:27:47 +00:00
Malcolm Tredinnick f31425e8e2 Fixed #7154 -- Inherit all model managers from abstract base classes.
Also added documentation describing how manager inheritance works (and when
manager aren't inherited). Based on some patches from sebastian_noack and
emulbreh.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 09:04:54 +00:00
Jacob Kaplan-Moss 64a9469127 Fixed #8753: converted "new in ..." callouts to proper Sphinx "versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 03:40:42 +00:00
James Bennett c7a10b677d Fixed #8786: Moved phone number field docs to localflavor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:26:28 +00:00
James Bennett a47bffad17 Fixed #8757: Corrected formatting of inclusion tag example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:57:55 +00:00
Brian Rosner 502fc3ae56 Fixed #8759 -- Corrected a typo in example code. Thanks James Tauber for the find.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:06:39 +00:00
Jacob Kaplan-Moss 3a18002bbd Fixed #8210 and #8664: moved `USStateField` and `PhoneNumberField` to `django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:15:35 +00:00
Jacob Kaplan-Moss ea05e61b2b Fixed #8209: `ModelForm`s now validate unique constraints. Alex Gaynor did much of this work, and Brian Rosner helped as well.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:08:08 +00:00
James Bennett a72eae0be7 Fixed #8728: Corrected some broken links in the documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:45:30 +00:00
James Bennett 82e2f9bb98 Fixed #8698: Updated overview docs for cache middleware to show that it's been split into two classes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:42:15 +00:00
James Bennett f88fb967bd Fixed #8705: Corrected some formatting issues in models documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:35:07 +00:00
James Bennett b085ccce6c Fixed #8730: Incorporated (with minor changes) additions/enhancements to one-to-one docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:32:41 +00:00
Jacob Kaplan-Moss 4ae746b574 Added a `TypedChoiceField` which acts just like `ChoiceField`, except that it
returns a value coerced by some provided function. Refs #6967.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:10:50 +00:00
Malcolm Tredinnick a63a83e5d8 A rewrite of the reverse URL parsing: the reverse() call and the "url" template tag.
This is fully backwards compatible, but it fixes a bunch of little bugs. Thanks
to SmileyChris and Ilya Semenov for some early patches in this area that were
incorporated into this change.

Fixed #2977, #4915, #6934, #7206.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 11:11:20 +00:00
James Bennett 84ef4a9b1d Fixed #8641: Documented the fact that file-saving methods must receive a File instance
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:37:44 +00:00
James Bennett ce24a1f81d Fixed #7654: Documented the fact that file upload handlers must be modified before reading request.POST
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:23:36 +00:00
James Bennett 78ca7a6c07 Fixed #8533: restored model inheritance docs, and updated one-to-one docs to match
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:13:32 +00:00
James Bennett f2c80f93d9 Fixed #8658: Added cross-references to signals docs from Model.save() docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 09:03:18 +00:00
James Bennett 6ba55eee30 Fixed #8679: use full signature of Model.save() in docs and remove no-longer-used 'raw' argument
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 08:55:08 +00:00
James Bennett 5e26fceb83 Fixed #8721: Clarification in docs for form previews
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 07:54:31 +00:00
James Bennett d73c9a5671 Fixed #8639; documented the fact that the "startproject" command is invalid when fed an existing project's settings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 08:59:37 +00:00
James Bennett 0a11c13acf Fix inadvertent formatting introduced in [8732]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 06:02:14 +00:00
James Bennett b02d2aba1c Fixed #8700: Corrected example in localflavor docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:39:34 +00:00
James Bennett 5f3a182357 Fixed #8693: Fixed formatting of the "null" argument for model fields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:38:07 +00:00
James Bennett ac418c979f Fixed #8581: Corrected example of "grep" to search docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:35:18 +00:00
James Bennett 8af2831f5b Fixed #8603: Corrected typo in cross-reference to PDF-generation docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:34:04 +00:00
James Bennett 3fc6b10a0e Fixed #8516: Corrected typos in UK localflavor documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:32:28 +00:00
James Bennett 2c1166e66d Fixed #8545: Corrected typo in request/response docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:30:44 +00:00
James Bennett 3a7fc0c797 Fixed #8247: Added explanation to admin docs to point out that AdminSite can be subclassed and instantiated like any other Python class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:29:19 +00:00
Malcolm Tredinnick c0b53b3dcc Removed the need for ROOT_URLCONF in settings when running Django's core tests
(via runtests.py). It was embarrassing having to explain the need for it to
people, since we ignore whatever setting is passed in.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:09:03 +00:00
Jacob Kaplan-Moss c068bc184c Merge branch 'url-tag-asvar'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:28:03 +00:00
Brian Rosner c113133dad Fixed #7893 -- Gave `fieldsets` dictionary options a better visual display to set aside from other options in the ModelAdmin due to some name clashing causing confusion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:02:06 +00:00
Malcolm Tredinnick 6ebbf7ac96 Fixed #8638 -- Show by example that the File.name attribute includes the upload
directory as well as the filename. Patch from Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 05:15:49 +00:00
Malcolm Tredinnick 2dba41056f Revived a bunch of missing documentation that got lost in the docs-refactor.
This describes values_list(), the new cross-model order_by() syntax and the
effects of distinct(), values() and order_by() on each other.

Fixed #8634.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 05:04:26 +00:00
Malcolm Tredinnick d22ee35ee9 Fixed #8662 -- Fixed the documentation of Model.save() to match the real
signature so that people overriding it will use the right signature.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 01:44:15 +00:00
Jacob Kaplan-Moss 52914fbf5a Fixed #8656: added a note about iterating over `UploadedFile` only understanding `\n`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 21:39:17 +00:00
Malcolm Tredinnick c181734fa1 Changed create() and get_or_create() to force an insert (not update an existing value).
Backwards incompatible if you are using manually-specific primary key values
and relying on the previously documented behaviour that the new values would
always exist in the database (i.e. it would update the existing entry).

Fixed #8419.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 17:18:05 +00:00
Jacob Kaplan-Moss 79348d4018 Removed doc references to obsolete removed forms stuff.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 16:33:11 +00:00
Jacob Kaplan-Moss 2e7a87c53c Fixed a typo in comments upgrade guide.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 16:27:19 +00:00
Russell Keith-Magee f53596d59f Fixed #8407: Corrected some output in the Paginator docs. Thanks to arien for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 13:44:50 +00:00
Russell Keith-Magee 5c43a0a43f Fixed #8406: Corrected some expected output to use repr format. Thanks to arien for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 13:40:20 +00:00
Russell Keith-Magee 71615dbc70 Fixed #8531: Corrected a typo in a sample YAML fixture. Thanks to amiroff for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 12:49:11 +00:00
Russell Keith-Magee 3f13fa398c Fixed #8578: Corrected a typo in a shell example in the testing docs. Thanks to Manuel Saelices for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 12:22:33 +00:00
Russell Keith-Magee 369b4270fa Fixed #8581: Updated the suggested command for a low-tech documentation search. Thanks to Manuel Saelices for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:46:34 +00:00
Russell Keith-Magee 545cd6d6f0 Fixed #8583: Modified the migration SQL described in the comments upgrade docs to account for a problem found with freecomments using Postgres. Thanks to rajeshd for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:43:54 +00:00
Russell Keith-Magee ab28e72f31 Fixed #8590: Added clarification that you need to install the new comments system before trying to port data. Thanks to julien for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:39:27 +00:00
Russell Keith-Magee 3442821836 Fixed #8595: Removed a note about possible changes to the syntax of the {% url %} template tag. Thanks to julien for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:29:00 +00:00
Russell Keith-Magee f1ab8b4342 Fixed #8600: Corrected example URLConf to match new comments framework. Thanks to julien for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:27:17 +00:00
Jacob Kaplan-Moss ff420b4364 Fixed #8454: added a FILE_UPLOAD_PERMISSIONS setting to control the permissoin of files uploaded by the built-in file storage system. Thanks, dcwatson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 22:21:14 +00:00
Brian Rosner e704559e56 Fixed #8435 -- Documented the `prefix` option on formsets.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 16:44:52 +00:00
James Bennett a20cf7f974 Small typo in notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 11:50:02 +00:00
James Bennett 236ceea87f 1.0 beta 2 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 11:49:42 +00:00
Gary Wilson Jr c2ba59fc1d Removed oldforms, validators, and related code:
* Removed `Manipulator`, `AutomaticManipulator`, and related classes.
 * Removed oldforms specific bits from model fields:
   * Removed `validator_list` and `core` arguments from constructors.
   * Removed the methods:
     * `get_manipulator_field_names`
     * `get_manipulator_field_objs`
     * `get_manipulator_fields`
     * `get_manipulator_new_data`
     * `prepare_field_objs_and_params`
     * `get_follow`
   * Renamed `flatten_data` method to `value_to_string` for better alignment with its use by the serialization framework, which was the only remaining code using `flatten_data`.
 * Removed oldforms methods from `django.db.models.Options` class: `get_followed_related_objects`, `get_data_holders`, `get_follow`, and `has_field_type`.
 * Removed oldforms-admin specific options from `django.db.models.fields.related` classes: `num_in_admin`, `min_num_in_admin`, `max_num_in_admin`, `num_extra_on_change`, and `edit_inline`.
 * Serialization framework
   * `Serializer.get_string_value` now calls the model fields' renamed `value_to_string` methods.
   * Removed a special-casing of `models.DateTimeField` in `core.serializers.base.Serializer.get_string_value` that's handled by `django.db.models.fields.DateTimeField.value_to_string`.
 * Removed `django.core.validators`:
   * Moved `ValidationError` exception to `django.core.exceptions`.
   * For the couple places that were using validators, brought over the necessary code to maintain the same functionality.
 * Introduced a SlugField form field for validation and to compliment the SlugField model field (refs #8040).
 * Removed an oldforms-style model creation hack (refs #2160).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 07:19:44 +00:00
Malcolm Tredinnick 9de848cec9 Fixed #8544 -- Some more documentation markup fixes from Thejawsi Puthraya.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:57:27 +00:00
Malcolm Tredinnick 5577b96ae4 Fixed #8526 -- Corrected the default value for the SESSION_FILE_PATH documentation. Thanks, Piotr Lewandowski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:57:10 +00:00
Malcolm Tredinnick 4091e6525d Fixed #8518 -- Fixed some markup problems in the widget documentation. Thanks,
Thejawsi Puthraya.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 05:56:57 +00:00
Jacob Kaplan-Moss 52c3c3a349 Fixed an error in comment upgrade SQL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 19:59:54 +00:00
Jacob Kaplan-Moss e3fad41859 A noble spirit no longer embiggens the smallest function signatures.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 19:38:27 +00:00
Jacob Kaplan-Moss 471533fb93 Added signals docs to doc index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 19:38:19 +00:00
Jacob Kaplan-Moss c5cc26ff99 Fixed some Sphinx markup in signals docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 19:23:59 +00:00
Jacob Kaplan-Moss 6f29ad31b5 Fixed #8326: added signals documentation.
Thanks to MercuryTide's signal whitepaper from 2006 (http://www.mercurytide.co.uk/whitepapers/django-signals/) for inspiration and ideas for organization, and to the folks who got the Signals wiki page together for some of the content.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 19:04:52 +00:00
Brian Rosner 05a4439581 Fixed #8560 -- Corrected a typo in a comment of docs/intro/tutorial02.txt to be consistent with the change in [8432]. Thanks ramiro for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 17:44:04 +00:00
Malcolm Tredinnick c849fcc66d Fixed #8558 -- Removed a stray line in tutorial 2 left over from when it was
rewritten for the new admin.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 16:55:37 +00:00
Jacob Kaplan-Moss 30de7331d4 Fixed #8326: added documentation about running Django on Jython. Docs originally written by Leo Soto, and then cleaned up a bit by me.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 15:52:21 +00:00
Jacob Kaplan-Moss c5c61b261e Fixed #8555: corrected `get_comment_form` tag documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 15:23:02 +00:00
Malcolm Tredinnick 3111d7f60b Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-aware
times. Patch from Jeremy Carbaugh.

This is backwards incompatible in the sense that previously, if you tried to
compare timezone-aware and timezone-naive values, you got an incorrect result.
Now you get an empty string. So your previously incorrect code returns a
different incorrect result.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 08:08:55 +00:00
Malcolm Tredinnick af83b650be Fixed #8150 -- Updated a reference to creating an admin class in the overview
document. Based on a patch from mk.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 07:11:14 +00:00
Gary Wilson Jr 47ed499a5d Corrected references that aren't `Field` attributes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 06:43:04 +00:00
Malcolm Tredinnick f2b389b354 Added documentation to explain the gains and losses when using utf8_bin
collation in MySQL. This should help people to make a reasonably informed
decision. Usually, leaving the MySQL collation alone will be the best solution,
but if you must change it, this gives a start to the information you need and
pointers to the appropriate place in the MySQL docs.

There's a small chance I also got all the necessary Sphinx markup correct, too
(it builds without errors, but I may have missed some chances for glory and
linkage).

Fixed #2335, #8506.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 01:59:25 +00:00
Gary Wilson Jr b2c2c3a2ed A few fixes for the testing documentation:
* Removed an extra semicolon that was preventing the rendering of a Sphinx class directive for the `Client()` class.
 * Indented `Client` class's methods.
 * Added linebreaks after attribute directives of `Response` class so Sphinx rendenders them correctly.
 * Removed trailing whitespace.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 00:52:55 +00:00
Malcolm Tredinnick b47c25ef91 Removed a stray reference to mysql_old in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 00:09:29 +00:00
Jacob Kaplan-Moss 6abe0460c8 Fixed a silly typo in comment settings doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 22:34:27 +00:00
Jacob Kaplan-Moss cba91997a2 Refactored Django's comment system.
Much of this work was done by Thejaswi Puthraya as part of Google's Summer of Code project; much thanks to him for the work, and to them for the program.

This is a backwards-incompatible change; see the upgrading guide in docs/ref/contrib/comments/upgrade.txt for instructions if you were using the old comments system.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 22:14:22 +00:00
Jacob Kaplan-Moss 018057d8d1 Fixed a bad link in topics/db/models.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 19:29:10 +00:00
Jacob Kaplan-Moss a169884505 Fixed #8539: fixed PEP references. Thanks, carljm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 19:28:57 +00:00
Jacob Kaplan-Moss f964a6e472 Fixed #5591: corrected info about variables in `trans` tag. Thanks, idangazit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 19:28:41 +00:00
Jacob Kaplan-Moss 7e06b69a3d Removed outdated "adminindex" command -- the same behavior is now far easier and better done in a template, or perhaps a custom `AdminSite.index` function. Refs #5500.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 18:53:18 +00:00
Jacob Kaplan-Moss e3df35478d Converted some images in the docs that claimed to be PNGs, but weren't.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 16:24:41 +00:00
Jacob Kaplan-Moss 97bc872755 Fixed a handful of typo/markup problems in the docs. Patch from Daniel Roseman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 15:51:13 +00:00
Russell Keith-Magee 06d49768bd Fixed #7743: Reverted [8483], which was itself a reversion of [8481], after confirmation from Malcolm. Corrected a long standing mistake in the timesince/timeuntil filters when using a parameter for 'now'. Thanks to Andrew Shearer <ashearerw@shearersoftware.com> for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 12:31:10 +00:00
Russell Keith-Magee 1ab16c7302 Fixed #7243: Corrected some example code in the custom model fields documentation. Thanks to Norman Harman for the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 09:25:19 +00:00
Russell Keith-Magee ac858a2a61 Fixed #7996: Added a note that you need to register your site with Google in order for the ping_google command to work. Thanks to Jason Broyles (issya) for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 09:19:18 +00:00
Russell Keith-Magee 27371e3286 Fixed #8486: Corrected some file attribute names in the request/response docs. Thanks to mrsanders for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 09:01:50 +00:00
Russell Keith-Magee e822fd703b Fixed #8401: Added a note on the fact that DEBUG=False is forced during test execution. Thanks to rishi for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 08:09:27 +00:00
Russell Keith-Magee 6447582b85 Corrected some formatting in the testing docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 08:04:06 +00:00
Russell Keith-Magee 87170c72f9 Fixed #8475 -- Corrected typo in example code in syndication docs. Thanks to bernd for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 07:45:35 +00:00
James Bennett 829a5c1352 Fixed #8512: Corrected typo in form validation documentation. Thanks for the catch, Karen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 07:22:30 +00:00
Jacob Kaplan-Moss 97cb07c3a1 Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 22:25:40 +00:00
James Bennett 324befc477 Fixed #8388: Corrected documentation for SortedDict use in extra()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 05:04:59 +00:00
Brian Rosner 5061970b76 Fixed #8040 -- SlugField now returns a proper formfield to deal with validation. Thanks Daniel Pope for the ticket and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 04:59:25 +00:00
Malcolm Tredinnick 2c4b13cbe7 Changed the (internal) way extra(select=.., select_params=...) handling is done
so that parameters stay with their select items. This means that merging and
trimming of those items is handled correctly.

Refs #7957, #7961. Fixed #8191.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-17 20:07:59 +00:00
Brian Rosner 4ecdbc52af Fixed #8373 -- Corrected a bad link in the admin.txt documentation. Thanks jarrow for catching my mistake.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-17 05:19:40 +00:00
Malcolm Tredinnick f505bd6e41 Documented that GenericForeignKey fields can't be used transparently in
filters. Refs #3006. Patch from rmyers.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-16 22:44:42 +00:00
Malcolm Tredinnick 7c6071861e Fixed #8132 -- Updated tutorial 2 to describe the current way to customise the
main admin page. Based on a patch from julien.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-16 22:25:20 +00:00
James Bennett 6bcb4935f2 Fixed #8007: removed mention of admin options in models from docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-16 14:41:28 +00:00
James Bennett df284da44f Fixed #8267: Corrected documentation for default value of DEFAULT_FILE_STORAGE setting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-16 14:35:17 +00:00
James Bennett ceb8fc56af Fixed #6915: Documented the fact that QuerySet.delete() may not call delete() methods of individual objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-16 10:17:46 +00:00
Brian Rosner 8edb4f97c7 Fixed #8299 -- Clarified the ModelAdmin.form option. Also added an inner Meta class to the ModelForm example in adding custom validation to the admin. Thanks jarrow for the report and initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 21:37:34 +00:00
Brian Rosner 6a71c768bc Fixed #8352 -- Corrected a typo in the contenttypes.txt documentation. Thanks cjs for the ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 21:14:22 +00:00
Gary Wilson Jr 01dd602150 Fixed a ReST error in cache docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 14:17:24 +00:00
Gary Wilson Jr a44439e880 Fixed #8137 -- Replaced an outdated link in the transactions docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 13:44:43 +00:00
James Bennett 6564bfec85 Fixed #6551: clarify the meaning of ``DATABASE_NAME`` for SQLite in docs/tutorial01.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 12:16:10 +00:00
James Bennett 57aa1fd351 Fixed #6765: Changed docs/model-apit.txt to better indicate what's expected of initial SQL files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 12:12:29 +00:00
James Bennett d8bfabe98d Fixed #8154: Added note to docs/db-api.txt indicating that reverse() is only useful when the QuerySet has some prior ordering
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 12:02:24 +00:00
James Bennett 188f131813 Fixed #8262: Corrected typo in docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 11:53:20 +00:00
James Bennett b92b1791e9 Fixed #8234: Corrected typo in docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 11:52:18 +00:00
James Bennett e149bee93e Fixed #8277: corrected minor typo in docs/forms.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 11:50:22 +00:00
Russell Keith-Magee ece6e166e2 Fixed #8337 -- Corrected typo introduced in [8365]. Thanks to julien for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 08:48:06 +00:00
Russell Keith-Magee 7eb44e32dc Refs #8319 -- Added documentation note on the limitations of limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 07:55:41 +00:00
James Bennett 8683468007 One more minor typo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 04:14:26 +00:00
James Bennett 5f373b380b And one more typo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 03:59:46 +00:00
James Bennett 002ab38636 reST fix in release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 03:59:32 +00:00
James Bennett c3af31c84d Fix small typo in release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 03:58:35 +00:00
James Bennett 3dc745918b 1.0 beta 1 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15 03:56:48 +00:00
Brian Rosner b2ec6473c0 Fixed #7503 -- Allow callables in list_display. This also does a lookup on the ModelAdmin for the method if the value is a string before looking on the model. Refs #8054. Thanks qmanic and Daniel Pope for tickets and patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-14 20:12:19 +00:00
Malcolm Tredinnick 97a7dab2b1 Fixed #6941 -- When logging a user out, or when logging in with an existing
session and a different user id to the current session owner, flush the session
data to avoid leakage. Logging in and moving from an anonymous user to a
validated user still keeps existing session data.

Backwards incompatible if you were assuming sessions persisted past logout.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-14 03:58:00 +00:00
Malcolm Tredinnick 5e8efa9a60 Implemented a flush() method on sessions that cleans out the session and
regenerates the key. Used to ensure the caller gets a fresh session at logout,
for example.

Based on a patch from mrts. Refs #7515.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-14 03:57:46 +00:00
Malcolm Tredinnick 31ec68c5d9 Added a clear() method to sessions. Patch from mrts. Refs #7515.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-14 03:57:30 +00:00
Jacob Kaplan-Moss cb1368bbc6 Fixed #8189, another use of get_FOO_url() missed in the docs after filestorage.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12 23:34:45 +00:00
Jacob Kaplan-Moss bfac0b7385 Updated docs/index with new documents. Fixes #7725.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12 23:29:09 +00:00
Jacob Kaplan-Moss 3d1795d87a Clarified a bit of the {% url %} documentation. Fixes #7714.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12 23:22:26 +00:00
Brian Rosner c4d07d4d50 Corrected a documentation error. Thanks sk1p for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12 13:41:40 +00:00
Malcolm Tredinnick 6294fc7179 Changed "exact" matches in MySQL to use the database's native collation.
This effectively reverses the change in [7798]. It was proving too difficult to
successfully manage all the side effects here and provide a satisfactory
solution for everybody. Many thanks to arne, Martin von Löwis and, particular,
Karen Tracey, for doing a lot of research and proto-patches here to establish what was possible and practical.

This is backwards incompatible if you were relying on the behaviour after
[7798]. The docs have been updated to indicate the solution.

Refs #2170, #7789, #8102.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12 07:52:33 +00:00
Jacob Kaplan-Moss 942e5246ac Added a number of callbacks to SyndicationFeed for adding custom attributes and elements to feeds. Refs #6547.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-11 22:22:26 +00:00
Brian Rosner 8ad96b4d29 Added back save_model that was removed from [8273] to allow for both pre- and post- operations around save in ModelAdmin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-11 17:20:47 +00:00
Gary Wilson Jr 12c7918a45 Fixed #8224 -- Corrected link in files documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-11 13:52:09 +00:00
Russell Keith-Magee 9dc4ba875f Fixed #5461 -- Refactored the database backend code to use classes for the creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-11 12:11:25 +00:00
Gary Wilson Jr ef48a3e69c Fixed #7830 -- Removed all of the remaining, deprecated, non-oldforms features:
* Support for representing files as strings was removed. Use `django.core.files.base.ContentFile` instead.
 * Support for representing uploaded files as dictionaries was removed. Use `django.core.files.uploadedfile.SimpleUploadedFile` instead.
 * The `filename`, `file_name`, `file_size`, and `chuck` properties of `UploadedFile` were removed. Use the `name`, `name`, `size`, and `chunks` properties instead, respectively.
 * The `get_FIELD_filename`, `get_FIELD_url`, `get_FIELD_size`, and `save_FIELD_file` methods for Models with `FileField` fields were removed. Instead, use the `path`, `url`, and `size` attributes and `save` method on the field itself, respectively.
 * The `get_FIELD_width` and `get_FIELD_height` methods for Models with `ImageField` fields were removed. Use the `width` and `height` attributes on the field itself instead.
 * The dispatcher `connect`, `disconnect`, `send`, and `sendExact` functions were removed. Use the signal object's own `connect`, `disconnect`, `send`, and `send` methods instead, respectively.
 * The `form_for_model` and `form_for_instance` functions were removed. Use a `ModelForm` subclass instead.
 * Support for importing `django.newforms` was removed. Use `django.forms` instead.
 * Support for importing `django.utils.images` was removed. Use `django.core.files.images` instead.
 * Support for the `follow` argument in the `create_object` and `update_object` generic views was removed. Use the `django.forms` package and the new `form_class` argument instead.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10 21:10:47 +00:00
Brian Rosner 94e8f4fb35 Fixed #8211 -- Corrected a misspelt word in docs/add_ons.txt. Thanks Piotr Lewandowski for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10 18:17:20 +00:00
James Bennett 2e08591403 Fix typo in docs/files.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10 10:19:21 +00:00
Russell Keith-Magee 7610983bb2 Fixed #8201 -- Corrected typo in files docs. Thanks Julien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10 08:19:21 +00:00
Brian Rosner 02cc59187b Fixed #4667 -- Added support for inline generic relations in the admin. Thanks to Honza Král and Alex Gaynor for their work on this ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10 04:03:01 +00:00
Malcolm Tredinnick f6670e1341 Added a return value to the add() method for caches. It's now possible to tell
if a call to add() ended up storing something in the cache.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10 03:52:21 +00:00
Brian Rosner 65be56816f Fixed #5780 -- Adjusted the ModelAdmin API to allow the created/updated objects
to be passed to the formsets prior to validation.

This is a backward incompatible change for anyone overridding save_add or
save_change. They have been removed in favor of more granular methods
introduced in [8266] and the new response_add and response_change nethods.
save_model has been renamed to save_form due to its slightly changed behavior.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 20:52:40 +00:00
Malcolm Tredinnick dc14b29fb3 Added the ability to force an SQL insert (or force an update) via a model's
save() method.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 17:19:23 +00:00
Jacob Kaplan-Moss 88639e9b2a Fixed silly whitespace error in cache docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 15:11:11 +00:00
Jacob Kaplan-Moss 7526590376 Split CacheMiddleware up into two parts -- an update-cache and a fetch-from-cache middleware. This lets you run each half of the cache middleware at the correct time to avoid bad interactions between the cache middleware and other middleware that must modify the cache key (like the locale middleware).
CacheMiddleware itself is still around for backwards-compatibility and as a hook point for the cache decorator, but the documentation has been updated to point people towards the two-part caching middleware.

Refs #730.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 15:07:45 +00:00
Jacob Kaplan-Moss 6a06db0491 Fixed a typo in files documentation. Fixes #8180.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-09 14:17:54 +00:00
Jacob Kaplan-Moss b30ee21dc1 Fixed #7820: MiddlewareNotUsed is finally documented somewhere else besides my brain.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08 22:36:17 +00:00
James Bennett 2e01d59887 1.0 alpha 2 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08 22:00:25 +00:00
Jacob Kaplan-Moss 7899568e01 File storage refactoring, adding far more flexibility to Django's file handling. The new files.txt document has details of the new features.
This is a backwards-incompatible change; consult BackwardsIncompatibleChanges for details.

Fixes #3567, #3621, #4345, #5361, #5655, #7415.

Many thanks to Marty Alchin who did the vast majority of this work.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08 20:59:02 +00:00
Brian Rosner c49eac7d4f Fixed #8069 -- Corrected the inconsistent case with BaseInlineFormset. It has been renamed to BaseInlineFormSet. Backward incompatible for anyone who used BaseInlineFormset directly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08 20:27:48 +00:00
Brian Rosner 6d4b143786 Fixed #8166 -- Corrected a typo in the admin documentation. Thanks d00gs for the hawk eyes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08 20:02:10 +00:00
Malcolm Tredinnick 3735f27660 Fixed #5463 -- Allow alternate file extensions on files that are translated.
Patch from Jannis Leidel.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08 16:41:55 +00:00
Malcolm Tredinnick 169b889486 Fixed #7546 -- Fixed an incorrect example in the docs that was misleading some
people. Patch from Dan Watson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08 16:00:26 +00:00
Jacob Kaplan-Moss 9b4ff7c1ad Fixed reST formatting from [8212].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-05 16:14:23 +00:00
Jacob Kaplan-Moss 593810a501 Fixed #7904: added support for a "use_for_related_fields" property on managers. If True, the manager will be used for related object lookups instead of the "bare" QuerySet introduced bu [8107]. Patch from Justin Bronn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-05 16:13:28 +00:00
Brian Rosner 8be1a43093 Fixed #7942 -- Added a note to the admin ordering option documentation about the admin only respecting the first element. Thanks mwdiers for the report and MattBowen for the original patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-04 19:51:06 +00:00
Brian Rosner 40cd410955 Clarified the intermediary models admin documentation and a minor clean-up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-04 19:37:47 +00:00
Brian Rosner ac69520890 Added the missing form option to the ModelAdmin options section. Also added a section for custom validation in the admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-04 19:29:33 +00:00
Gary Wilson Jr 56d901edcc Fixed a few long lines and removed trailing whitespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 21:02:59 +00:00
Gary Wilson Jr d4b8da2745 Removed two-year-old note about serialization framework being under heavy development.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 21:01:25 +00:00
Gary Wilson Jr daa6b38f35 Fixed #8092, #3828 -- Removed dictionary access for request objects so that GET and POST data doesn't "overwrite" request attributes when used in templates (since dictionary lookup is performed before attribute lookup). This is backwards-incompatible if you were using the request object for dictionary access to the combined GET and POST data, but you should use `request.REQUEST` for that instead.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 19:55:26 +00:00
Gary Wilson Jr 71b2e01ec2 Removed trailing whitespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 19:04:32 +00:00
Gary Wilson Jr cca261325a Removed "forms and validation" link reference that is not used since [5818].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 18:51:18 +00:00
Gary Wilson Jr cd3def1e4e Removed notes about legacy Paginator object in the generic view docs (refs #7830).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 02:52:46 +00:00
Gary Wilson Jr 1b1b8d0971 Used definition lists to be consistent with other docs. Also used 3rd-level headings instead of bold text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 02:47:10 +00:00
Gary Wilson Jr 52b877eef0 Fixed #7781 -- Documented the `per_page` argument/attribute for `Paginator` objects. Also documented `Paginator`'s other arguments and made use of ReST definition lists. Thanks to hiukkanen for the
report.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-03 01:33:43 +00:00
Gary Wilson Jr 351a3ca154 Removed several deprecated features for 1.0 (refs #7830):
* "simple" cache backend
 * `ObjectPaginator`
 * `edit_inline_type` argument for `ForeignKey` fields
 * `QOperator`, `QNot`, `QAnd` and `QOr`
 * `maxlength` argument 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-02 04:56:11 +00:00
Gary Wilson Jr a500ade891 Removed two-year-old note about testing framework being under development.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-02 00:40:05 +00:00
Brian Rosner b5c5e8b4c0 Reverted [8182]. Accidently committed from the wrong branch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 22:47:45 +00:00
Brian Rosner 9d3c921857 Initial admin template docs. Needs more work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 22:46:09 +00:00
Brian Rosner 2904c1d4b3 Clarified the raw_id_fields documentation and added it to InlineModelAdmin options section. Added examples as well. Fixes #7905. Thanks Matthew Flanagan for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 19:47:26 +00:00
Brian Rosner e7508a456e Fixed #7983 -- Added fields to the ModelAdmin section in the admin documentation. Thanks julien for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 19:29:37 +00:00
James Bennett 74927cd87e Clarify the m2m intermediary docs a bit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 04:38:55 +00:00
Russell Keith-Magee 8880fdd9ee Fixed #7935 -- Corrected typo in template docs, plus slightly clarified the language. Thanks to jturnbull for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 12:37:38 +00:00
Russell Keith-Magee a98d12b1b2 Fixed #7998 -- Corrected typo. Thanks to ElliotM for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 11:11:44 +00:00
Russell Keith-Magee 4454bde3c1 Fixed #7999 -- Slightly changed the overview example to disambiguate the use of 'article'. Thanks to Kaell <joshalto@hotmail.com> for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 10:08:12 +00:00
Malcolm Tredinnick ea45a932d3 A couple of small typo fixes in the settings docs. Fixed #8032.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-30 03:19:31 +00:00
Malcolm Tredinnick ab07a9b19f Added a clarification to the docs about filtering across nullable intermediate
models with a NULL entry. I'm not brilliantly happy with the description
(it's too long for such an edge case, for a start), but it gets the intent across. Refs #8025.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 23:09:54 +00:00
Russell Keith-Magee 174641b9b3 Fixed #6095 -- Added the ability to specify the model to use to manage a ManyToManyField. Thanks to Eric Florenzano for his excellent work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 12:41:08 +00:00
Malcolm Tredinnick b6fe483bf5 Fixed #1157 -- Added some text to i18n.txt to explain how to install the
necessary gettext tools on Windows (relevant to translators only). Thanks,
Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 06:02:47 +00:00
Malcolm Tredinnick b3b71a0922 Fixed #7560 -- Moved a lot of the value conversion preparation for
loading/saving interactions with the databases into django.db.backend. This
helps external db backend writers and removes a bunch of database-specific
if-tests in django.db.models.fields.

Great work from Leo Soto.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-29 05:09:29 +00:00
James Bennett 4b6766cd6b Remove the last remaining references to manipulators outside of oldforms docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:51:07 +00:00
James Bennett de9e2ae5bb Removing another mention of manipulators
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:27:16 +00:00
James Bennett fdff91ac2d Remove a couple mentions of manipulators (which are no longer relevant) from docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:23:49 +00:00
Gary Wilson Jr 9a5301ccbc Made the Paginator class a bit more backwards compatible with the lecacy `ObjectPaginator` class by using the `ObjectPaginator`'s `_get_count` method. Instead of explicitly checking for an instance of `QuerySet`, this now allows any object with a `count()` or `__len__()` method defined to be passed to Paginator. For one, this is useful when you have custom `QuerySet`-like classes that implement a `count()` method but don't inherit from `QuerySet` explicitly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 23:01:55 +00:00
Gary Wilson Jr 7d1c147bb4 Fixed #7320 -- For `object_list` generic view, the `page` argument can also be the string "last", thanks Ubercore.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 22:09:12 +00:00
Malcolm Tredinnick 82a85fdbae Fixed #6427 -- Added some more features to the Austrian localflavor.
Thanks, Horst Gutmann.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:54:56 +00:00
Gary Wilson Jr 156b21a339 Removed trailing whitespace in admin docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:36:08 +00:00
Gary Wilson Jr b1c0dc5a01 Normalized the use of "JavaScript" in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:34:21 +00:00
Gary Wilson Jr 633ed5c4c9 Fixed #7986 -- Added to the documentation the purpose of the `prepopulated_fields` `ModelAdmin` option now that its no longer just a parameter for `SlugField` fields, thanks frasern.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-27 18:27:56 +00:00
Malcolm Tredinnick e29aece743 Fixed #4534 -- Added an "else" option to the "ifchanged" template tag.
Patch from SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 22:09:43 +00:00
Russell Keith-Magee 8099bc536b Fixed #7963 -- Corrected reference to deprecated properties in UploadedFile documentation. Thanks to Marty Alchin for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 15:06:42 +00:00
Malcolm Tredinnick badde8a7e5 Fixed #7793 -- Handle sitemaps with more than 50,000 URLs in them (by using
pagination). Patch from Julian Bez.

The docs patch here could probably do with some rewording.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 05:07:16 +00:00
Malcolm Tredinnick a26ba33111 Fixed #7686 -- Added an Austrian localflavor. Thanks, bernd.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 04:25:42 +00:00
Malcolm Tredinnick 4ec2b8904b Fixed #7948 -- Fixed a typo in the linebreaks filter documentation, pointed out
by Joel Kitching.

While I was in the neighbourhood, made one other example a little more
consistent.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 03:08:53 +00:00
Russell Keith-Magee cdc6415fdf Fixed #7962 -- Corrected typo in testing docs. Thanks to cgod for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 01:12:46 +00:00
Gary Wilson Jr a1fda7e1b0 Fixed #7896 -- Corrected a couple typos in fastcgi docs, thanks Thomas Steinacher.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-26 00:26:51 +00:00
Malcolm Tredinnick 7c33cc7f5e Fixed #7398 -- Allow for custom cache-backends to be used.
Based on a patch from Lau Bech Lauritzen and Brenton Simpson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 18:51:32 +00:00
Luke Plant 7c0cf545ef Standardised documentation of the Field help_text option and ModelAdmin.fields 'description' option.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 14:47:35 +00:00
Russell Keith-Magee 3898af2f51 Fixed #7937 -- Corrected typo in layout of db docs. Thanks to John Scott for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 11:32:06 +00:00
Russell Keith-Magee ecdd071794 Fixed #7951 -- Corrected typo in FAQ. Thanks to vulcan_eager for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 11:21:21 +00:00
Brian Rosner 9237466bee Removed a colon that was rendering the bullet-point list below it as code in docs/admin.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 22:39:41 +00:00
Brian Rosner 4e723f9571 Fixed #7897 -- Corrected some spelling and grammatical errors in the InlineModelAdmin objects documentation. Thanks arthurk and Karen Tracey for catching these.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 22:30:25 +00:00
Adrian Holovaty c51d000c37 Fixed #7870 -- Fixed typo in docs/forms.txt. Bad form, whoever originally wrote that
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:44:48 +00:00
Adrian Holovaty f5328f4c38 Fixed #7841 -- Fixed typo in docs/forms.txt. Thanks, msaelices
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:31:05 +00:00
Adrian Holovaty cf2a05952e Fixed #7868 -- Updated FAQ 'When will you release 1.0' to have an actual, valid answer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:10:05 +00:00
Adrian Holovaty bfcecfee91 Fixed #7814 -- Fixed a number of style inconsistencies in the docs. Thanks, uzi and programmerq
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:01:21 +00:00
Adrian Holovaty ca98003390 Fixed spaces vs. tabs issue in docs/contenttypes.txt from [7976]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:57:14 +00:00
Gary Wilson Jr 459a7965dd Changed "each" to "ease" and made several edits from Adrian.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:33:16 +00:00
Malcolm Tredinnick cee642bcb8 Fixed a few formatting errors and typos, courtesy of the proofreaders in #django-dev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:02:40 +00:00
James Bennett 2ba74aeb89 1.0 alpha release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 01:27:16 +00:00
Brian Rosner 1ef86fdf2b Fixed #7869 -- Removed a reference to an inner Admin class in docs/contributing.txt. Thanks John Scott.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:39:22 +00:00
Gary Wilson Jr fb51608332 It's time for the "newforms" documentation to arrive:
* Removed the "more coming soon" section from bottom of "newforms" docs.
 * Removed note on "oldforms" docs that "we have begun to document" newforms.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:13:41 +00:00
Jacob Kaplan-Moss 3a2686a70d Added a link to admin docs in add_ons.txt. Refs #7829.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:12:15 +00:00
Jacob Kaplan-Moss ba6d7e1bae Improved the bit of the tutorial that explains how to enable the admin. Fixes #7824.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:10:33 +00:00
Jacob Kaplan-Moss 882ffc0569 Fixed reST error in [8024].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:04:59 +00:00
Jacob Kaplan-Moss f2c31535a0 Tweaked forms/oldforms docs to better represent the current state of things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:00:59 +00:00
Gary Wilson Jr 8b1684e676 Corrected link to ModelForm doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:57:50 +00:00
Gary Wilson Jr ce3bdc86d4 Refs #7864 -- Corrected more instances of "newforms" in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:56:52 +00:00
Ian Kelly 4dd242bdeb Corrected the privileges needed to run the test suite under Oracle
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:50:04 +00:00
Gary Wilson Jr 24aa08f486 Refs #7864 -- Updates to documentation for the oldforms/newforms switch.
* Moved forms.txt to oldforms.txt
 * Moved newforms.txt to forms.txt
 * Updated links and most references to "newforms" (there are a few sections that need a more significant rewrite).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:38:54 +00:00
Malcolm Tredinnick bfcecbffd3 Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or
equivalents). Basically, URL resolving will only use the PATH_INFO and the
SCRIPT_NAME will be prepended by reverse() automatically. Allows for more
portable development and installation. Also exposes SCRIPT_NAME in the
HttpRequest instance.

There are a number of cases where things don't work completely transparently,
so mod_python and fastcgi users should read the relevant docs.

Fixed #285, #1516, #3414.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 07:57:10 +00:00
Brian Rosner c2ee295f50 Fixed #7850 -- Added adding django.contrib.admin to INSTALLED_APPS to the steps to activating the Django admin site. Thanks dacort for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 18:20:54 +00:00
Malcolm Tredinnick 55ebc2b594 Modified [7999] based on some feedback from Marty Alchin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:50:06 +00:00
Malcolm Tredinnick e942636fbe Added a cavaet to the use of get_FOO_filename() and get_FOO_url(). This
constraint has always existed, but it's very hard to fix in the current code,
so better to work around it for now.

Refs #5619


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:26:46 +00:00
Malcolm Tredinnick 8ac9cbee2f Fixed #7763 -- Added a Romanian localflavor. Thanks, MihaiD.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:22:44 +00:00
Brian Rosner 67eeb72e26 Fixed #7838 -- Corrected an invalid class name the 'classes' usage in the tutorial. Thanks kratorius for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 15:51:48 +00:00
Brian Rosner 4729e3836e Fixed #7839 -- Corrected admin documentation and tutorial to reflect that 'classes' should be a list and not a string. Thanks Jan Rademaker for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 15:37:28 +00:00
Russell Keith-Magee c819252bf5 Fixed #7832 -- Corrected a formatting error in the newforms docs. Thanks to omat@gezgin.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 11:27:55 +00:00
Russell Keith-Magee 649463dd34 Fixed #4412 -- Added support for optgroups, both in the model when defining choices, and in the form field and widgets when the optgroups are displayed. Thanks to Matt McClanahan <cardinal@dodds.net>, Tai Lee <real.human@mrmachine.net> and SmileyChris for their contributions at various stages in the life of this ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 07:53:02 +00:00
Russell Keith-Magee b5b0febc4c Fixed #7785 -- Added a note in the contenttypes documentation that GenericRelations must share a common field type for primary keys. Thanks to Rudolph for the suggestion and initial draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 02:46:12 +00:00
Russell Keith-Magee 39af2738fd Fixed #7782 -- Corrected documentation to refer to chunks(), rather than the deprecated chunk().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 01:07:17 +00:00
Brian Rosner a19ed8aea3 Merged the newforms-admin branch into trunk.
This is a backward incompatible change. The admin contrib app has been
refactored. The newforms module has several improvements including FormSets
and Media definitions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:54:34 +00:00
Gary Wilson Jr 5735e161a2 Refs #6086 -- Changed settings docs to reflect deprecation of "simple" cache backend in [6822].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:46:10 +00:00
Malcolm Tredinnick 5f6b08fc6b Fixed #7685 -- fixed a typo in French localflavor documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:02:06 +00:00
Jacob Kaplan-Moss 7997133a3d Fixed #3639: updated generic create_update views to use newforms. This is a backwards-incompatible change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 19:45:00 +00:00
Malcolm Tredinnick c681f4070c Removed the mysql_old backend. It smells bad and has no friends.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 17:38:53 +00:00
Russell Keith-Magee b4cc77c73d Fixed #7605 -- Added a note about SQLite database creation to Tutorial 1. Thanks to pfctdayelise for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13 12:16:11 +00:00
Russell Keith-Magee bba79ce4b4 Fixed #7534 -- Added a note about TEST_DATABASE_CHARSET in the contribution documentation. Thanks to Peter Melvyn for the suggestion and initial draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13 11:47:09 +00:00
Russell Keith-Magee 502e9a5ab4 Fixed #7737 -- Corrected a comment in the testing docs to be PEP257 compliant. Thanks to msas@telia.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13 08:45:17 +00:00
Russell Keith-Magee 4aa6c57251 Fixed #7583 -- Corrected the testing docs that referred to the defunct headers attribute of the response. Added a test case to validate (and document) the new behavior. Thanks to Malcolm for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-12 06:16:42 +00:00
Malcolm Tredinnick 88c17b5821 Documented that the update() method on querysets is a direct SQL call, not the
same as looping over the queryset and calling save() on each item (which is
less efficient). Fixed #7447.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-11 10:03:04 +00:00
Adrian Holovaty a724fff300 Fixed #7307 -- Split InvalidPage exception into two subclasses, PageNotAnInteger and EmptyPage, for granular exception catching. Thanks for the idea, miracle2k
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-08 02:20:48 +00:00
Adrian Holovaty cb70c99537 Fixed #7569 -- Improved a link in docs/generic_views.txt to link to the new pagination docs. Thanks, Carl Karsten
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-08 02:11:09 +00:00
Adrian Holovaty 4406d283e1 Fixed #7478 -- Rolled QuerySetPaginator into the Paginator class, to simplify things. QuerySetPaginator still exists as an alias, for backwards compatibility. Thanks for the suggestion, batiste@dosimple.ch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-08 02:08:33 +00:00
Jacob Kaplan-Moss 33666ef829 Fixed #7638, a small typo in uploading files docs. Thanks, Horst Gutmann.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-07 23:36:53 +00:00
Jacob Kaplan-Moss a28b75b0ba Fixed #7614: the quickening has come, and there now is only one UploadedFile. On top of that, UploadedFile's interface has been improved:
* The API now more closely matches a proper file API. This unfortunately means a few backwards-incompatible renamings; see BackwardsIncompatibleChanges. This refs #7593.
  * While we were at it, renamed chunk() to chunks() to clarify that it's an iterator.
  * Temporary uploaded files now property use the tempfile library behind the scenes which should ensure better cleanup of tempfiles (refs #7593 again).

Thanks to Mike Axiak for the bulk of this patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-07 23:16:00 +00:00
Malcolm Tredinnick e2740dd400 Fixed #7630 -- Slight tweak to the custom form widget exampleto avoid any
confusion. Based on a patch from Christian Tanzer.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 11:00:58 +00:00
Malcolm Tredinnick 3cfa3cbd07 Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py.
They are now called  "makemessages", "compilemessages" and "cleanup". This is
backwards incompatible for make-messages.py and compile-messages.py, although
the old executables still exist for now and print an error pointing the caller
to the right command to call.

This reduces the number of binaries and man pages Django needs to install.

Patch from Janis Leidel.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 06:39:44 +00:00
Malcolm Tredinnick c71686489b Fixed #7061 -- Fixed a small inaccuracy in the i18n docs. Thanks akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-06 04:08:13 +00:00
Malcolm Tredinnick 31b61d57d5 Fixed #7626 -- Fixed a typo in the newforms docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-05 02:34:37 +00:00
Jacob Kaplan-Moss 45404bea18 Fixed a few typos in upload handling docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-02 20:34:29 +00:00
James Bennett b0a38160ca Fix a small typo in docs/upload_handling.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 16:37:28 +00:00
Jacob Kaplan-Moss d725cc9734 Fixed #2070: refactored Django's file upload capabilities.
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.

This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 15:10:51 +00:00
Malcolm Tredinnick ef76102e89 Fixed #7185 -- Added a "ping_google" management command to
django.contrib.sitemaps. Thanks, Pete Shinners.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 12:25:59 +00:00
Malcolm Tredinnick a75de3f342 Changed a documentation example that wasn't wrong to stop complaints.
Fixed #7544.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 02:17:24 +00:00
Malcolm Tredinnick 4b93eed185 Fixed #4081 -- Allow empty content in flatpages.
Patch from ctrochalakis and Matt Croydon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 13:05:47 +00:00
Russell Keith-Magee 415bd694f9 Fixed #7521 -- Added the ability to customize ROOT_URLCONF for the duration of a TestCase. Thanks to Mark Fargas (telenieko) for his work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 12:34:29 +00:00
Malcolm Tredinnick 61898d8627 Fixed #6612 -- Updated Apache auth recipe for Apache 2.2. Thanks, trbs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 12:25:03 +00:00
Malcolm Tredinnick 6d5c868e86 Fixed #7543 -- Typo fix. Thanks, James Turnbull.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 06:42:50 +00:00
Malcolm Tredinnick 5da47e43c7 Fixed #7314 -- Changed the way extra() bits are handled when QuerySets are merged.
Also added a section to the documentation to indicate why it's probably not a
good idea to rely on this feature for complex stuff. Garbage in, garbage out
applies even to Django code.

Thanks to erik for the test case for this one.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 06:24:21 +00:00
Adrian Holovaty 82d09948ae Fixed #7482 -- Fixed an awkward wording in docs/model-api.txt. Thanks, cbmeeks <cbmeeks@gmail.com>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 05:21:29 +00:00
Adrian Holovaty 74f0408fa2 Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 04:54:10 +00:00
Adrian Holovaty 65437a95e1 Improved our tests so that they don't raise an error if setuptools isn't installed, hence ridding the test suite of all dependencies. Also updated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 04:25:40 +00:00
Adrian Holovaty 31ee551057 Various documentation edits
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 03:59:15 +00:00
Russell Keith-Magee dce557b9e7 Fixed #6891 -- Clarified modelform usage documentation. Thanks to Eric Holscher for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 12:57:11 +00:00
Russell Keith-Magee 5fc7dd7d28 Removed some cruft from the [7718] checkin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:26:12 +00:00
Russell Keith-Magee 5e4e04befb Fixed #7513 -- Added a note on the dependencies that need to be installed when running the Django system tests. Thanks to Peter Melvyn for the original report, and Ramiro Morales for the original draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:20:42 +00:00
Russell Keith-Magee d9c3e0a36a Fixed a minor typo in some sample SQL. Thanks for the report, Glen Jarvis <glenjarvis.com@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 04:43:05 +00:00
Luke Plant 5efb9652d7 Added docs about urls.py and testing views for contrib apps
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 17:18:58 +00:00
Luke Plant ddcf51a0ba Updated information about unit tests, contrib apps in particular.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 15:34:51 +00:00
Luke Plant 9cf3048b08 Fixed #3774 - primary_key=True does not, in fact, imply blank=False
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 12:10:13 +00:00
Russell Keith-Magee 090aeee399 Fixed #6719 -- Added a --traceback option to syncdb to provide a stack trace when custom SQL loading fails. Also added documentation for the --traceback option. Thanks to guettli for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 13:24:39 +00:00
Russell Keith-Magee a7f6faaa81 Fixed #7059 -- Added a note to the settings documentation reminding users that when DEBUG=True, Django keeps a log of queries. Thanks for the suggestion, simonb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 12:13:43 +00:00
Gary Wilson Jr f410de010d Refs #7216 -- Corrected typo, removed comma, trimmed trailing whitespace, and fixed reST link in [7678].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 15:46:59 +00:00
Russell Keith-Magee 6d242ccc63 Fixed #7216 -- Added a description on how to use named URLs with a permalink. Thanks, masklinn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:56:10 +00:00
Russell Keith-Magee cd0f7b9a39 Fixed #7200 -- Added newforms documentation for the FloatField. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:47:17 +00:00
Russell Keith-Magee c6f277f972 Fixed #7174 -- Corrected the default setting for TEMPLATE_LOADERS described in the settings docs. Thanks, pbx.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:37:31 +00:00
Russell Keith-Magee b3653db4f0 Fixed #7292 -- Removed reference to form_for_model in the form_preview docs. Thanks to programmerq for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:22:03 +00:00
Russell Keith-Magee e4fc327890 Fixed #7470 -- Corrected typo in template docs. Thanks to cbmeeks@gmail.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:19:08 +00:00
Adrian Holovaty 3859314d4a Fixed #6944 -- Fixed a small typo in docs/model-api.txt. Thanks, julien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:04:24 +00:00
Adrian Holovaty 96b1d0f966 Fixed #6830 -- Changed the docs/tutorial01.txt reference to the IRC channel to lower the expectation slightly on how much help you'll receive
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:03:25 +00:00
Adrian Holovaty d339b2b65e Fixed #6777 -- Made some text in docs/sessions.txt into internal links. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:01:33 +00:00
Adrian Holovaty fbeec87b62 Fixed #6993 -- Fixed a grammar error in docs/templates.txt. Thanks, Ionut Ciocirlan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:38:43 +00:00
Adrian Holovaty 1b92483ae5 Fixed #6980 -- Removed duplicate stuff in docs/django-admin.txt. Thanks, Evan Jones
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:37:57 +00:00
Adrian Holovaty 167409e24e Fixed #6898 -- Fixed some typos in docs/templates_python.txt. Thanks, djoume
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:35:50 +00:00
Russell Keith-Magee 42668dcc79 Fixed some stale documentation that was advising against the use of OneToOneFields. Post queryset refactor, that warning is no longer required.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-14 14:19:28 +00:00
Russell Keith-Magee 363e46b22c Fixed #6320 -- Clarified a few issues in the contribution docs surrounding the triage process. Thanks to telenieko, Edgars Jekabsons and Marc Fargas for their input.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-14 13:44:49 +00:00
Russell Keith-Magee b9113ca81f Fixed #7327 -- Added documentation and test case for defining subqueries. Thanks, Sebastian Noack.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 13:19:37 +00:00
Adrian Holovaty 0fd41d63e2 Fixed #7194 -- Fixed typo in django-admin.txt. Thanks, jhlywa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 03:56:41 +00:00
Adrian Holovaty daab1f0681 Various documentation edits from the past few changesets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 03:36:48 +00:00
Russell Keith-Magee 9c50495464 Fixed #7254 -- Added an '--exclude' option to dumpdata, allowing specific applications to be removed from the dump output. Thanks to Carl Karsten for the idea and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-11 14:01:35 +00:00
James Bennett 5e202f5acf Fixed #7397: corrected order of command names in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-11 04:34:03 +00:00
Russell Keith-Magee 88a6fa5a07 Fixed some linking errors in the FAQ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-10 02:52:16 +00:00
Russell Keith-Magee 12716794db Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems:
* Serializers were including all superclass fields in their output. Now only local fields are included.
 * Implicit OneToOne primary keys were not correctly added to the metamodel, so they were always marked to be serialized, even though they were primary
 * Model saving was too aggressive about creating new parent class instances during deserialization. Raw save on a model now skips saving of the parent class.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-09 14:03:35 +00:00
Jacob Kaplan-Moss 1426c24517 Added a note about manage.py createsuperuser requiring django.contrib.auth. Thanks, Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 18:38:36 +00:00
James Bennett 8198bfecee Move "createsuperuser" docs down one slot to maintain alphabetical ordering of commands
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 07:24:00 +00:00
James Bennett 87c2423d34 Add documentation for the creatsuperuser target (added in [7590]) to doc/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 07:23:05 +00:00
Russell Keith-Magee 8df7ac93a1 Added some new entries to the FAQ regarding the mailing lists and reporting security issues.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 05:53:22 +00:00
Jacob Kaplan-Moss 5675ae4443 Fixed #5614: added 'manage.py createsuperuser'. Thanks, programmerq.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 05:31:16 +00:00
Jacob Kaplan-Moss 8d4f79a799 Fixed #2548: added get/set_expiry methods to session objects. Thanks, Amit Upadhyay and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07 20:28:06 +00:00
Russell Keith-Magee 5b9d907ae8 Fixed #7382 -- Added a reference to Pisa HTML2PDF in the PDF output docs. Thanks for the suggestion, perenzo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 15:27:21 +00:00
Russell Keith-Magee 08401959d8 Fixed #7165 -- Added an assertNotContains() method to the test client. Thanks for the suggestion and implementation, J. Pablo Fernandez <pupeno@pupeno.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 13:50:02 +00:00
Russell Keith-Magee 812d8d40bd Fixed #7191 -- Removed leading slashes in description of the patterns that a URLconf checks when GET data is present. Thanks, andrews.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 12:02:11 +00:00
Russell Keith-Magee 6b39dd6977 Fixed #7260 -- Corrected the description of the exception returned by get() when multiple objects match the search criteria. Thanks, leotr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 11:56:32 +00:00
James Bennett bd73eaf952 Big glaring warning in docs/flatpages.txt to remind people how response middleware works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-28 20:31:03 +00:00
Russell Keith-Magee 331768681f Fixed #7300 -- Corrected description of YAML in the serialization docs. Thanks for the report, Allan Douglas <allandouglas@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-24 05:15:21 +00:00
Luke Plant 23e474510a Reverted mistaken r7545
r7545 was a mistake due to not accounting for r7078 
Thanks Ramiro Morales for catching this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-22 19:24:25 +00:00
Luke Plant 5b33adeafc Fixed documentation of 'description' option of Admin.fields to reflect actual behaviour
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-22 17:34:02 +00:00
Luke Plant 2411a92fad Fixed title underline length
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-17 00:05:13 +00:00
Luke Plant 8c9fceebb1 Added DEBUG_PROPAGATE_EXCEPTIONS setting that helps testing under e.g. twill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-16 23:24:36 +00:00
Adrian Holovaty 1dee309198 Added 'Setting headers' and 'Telling the browser to treat the response as a file attachment' sections to docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-30 00:03:45 +00:00
Malcolm Tredinnick a97f690e5d Added the ability to pickle and unpickle QuerySets and Query classes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-28 14:14:41 +00:00
Adrian Holovaty 6d98636018 Edited some docs/db-api.txt changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-28 00:59:09 +00:00
Malcolm Tredinnick f0bc9426b4 Made a bunch of spelling corrections.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 11:55:47 +00:00
Malcolm Tredinnick 9c52d56f6f Merged the queryset-refactor branch into trunk.
This is a big internal change, but mostly backwards compatible with existing
code. Also adds a couple of new features.

Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 02:50:16 +00:00
James Bennett aad5e791ea Fixed #6982; added an import statement to example in docs/modelforms.txt for the ModelForm class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 04:05:37 +00:00
Russell Keith-Magee bd3a1c0067 Fixed #6998 -- Corrected typo in Tutorial 4. Thanks, Peter Upfold.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 00:26:12 +00:00
James Bennett 1972f0522a Another typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:35:37 +00:00
James Bennett 25c0908ffd Fix a minor typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:28:50 +00:00
James Bennett 38d30e9691 Fixed #6927: Corrected documentation describing when and why the auth application creates default permissions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 13:35:12 +00:00
James Bennett 502f0c18b0 Remove an extraneous comma that I left behind in [7386], and clean up the wording a bit more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:23:54 +00:00
James Bennett b8110ed537 Clean up some awkwardness and confusion in the docs for ``ModelChoiceField``
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:21:50 +00:00
Gary Wilson Jr a3747f23be Fixed #6890 -- Removed duplicate instruction to rename the `polls/detail.htm` template in tutorial part 4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 15:48:13 +00:00
Jacob Kaplan-Moss 4c3fcbc4bc [docs] OK, I give up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:14:57 +00:00
Jacob Kaplan-Moss 905b246dad [docs] And even more svn:keywords fooling. Sorry about the timeline spam.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:13:05 +00:00
Jacob Kaplan-Moss 95665c403b [docs] Added svn:keywords to docs/index.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:05:40 +00:00
Jacob Kaplan-Moss 7dd4be581b Added the basics needed to build Django's docs using [http://sphinx.pocoo.org/ Sphinx]. If you've got Sphinx installed (the latest version) along with [http://docutils.sf.net docutils], you should be able to easily build the docs locally using {{{sphinx-build}}} or the included {{{Makefile}}}. This use a basic (and pretty crappy) index for the documentation and the built-in Sphinx styles (which are actually quite nice).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:03:52 +00:00
Jacob Kaplan-Moss d5cb46f412 Tiny reST fix to testing.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 14:15:00 +00:00
Malcolm Tredinnick c30a050e41 Removed the ado_mssql database backend.
It has not been maintained, contains bugs, and improved versions are available
externally(e.g. django-mssql and django-pyodbc at Google code).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-26 08:25:48 +00:00
Adrian Holovaty 0e552e5cd6 Edited some docs changes from the past few days
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25 04:42:21 +00:00
Malcolm Tredinnick a9a70bfe55 Fixed #6859 -- Greatly cleaned up the section on i18n pluralization in
Javascript. With new example code and everything! Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-24 13:35:27 +00:00
Malcolm Tredinnick 8f9e7035a9 Changed the indenting level on a couple of subsections, since they're not
children of the "pk lookup shortcut" section.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 12:44:34 +00:00
Malcolm Tredinnick c0537a961f Fixed #6616 -- Added an is_ajax() method to HttpRequest that uses the de facto
standard header for detecting an XmlHttpRequest call. Thanks, Daniel Lindsley.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 07:16:16 +00:00
Malcolm Tredinnick b3b8422363 Fixed #6445 -- Allow model instances to be used as a default for ForeignKeys
(via a callable). Also updates the documentation of the "default" attribute to
indicate a callable can be used. Thanks, Philipe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:56:23 +00:00
Malcolm Tredinnick 9e47cc2e51 Fixed #5507 -- Use a more portable way to get at the system's tmpdir (fixes a
problem with the default on Windows). Thanks, Philippe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:43:58 +00:00
Malcolm Tredinnick 6417f5247b Merged the tests and documentation from #4720 to support the changes in [7295].
Thanks, Andy Gayton. Fixed #4720. Refs #5855.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:35:53 +00:00
Jacob Kaplan-Moss 649cdf907d Fixed #4620: you can now easily add custom labels to ModelChoiceFields via subclassing. Thanks, PhiR.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 23:10:45 +00:00
Jacob Kaplan-Moss 4457ba002d Fixed #5894: added FilePathField to newforms. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 22:29:11 +00:00
James Bennett 7d74376aab Fixed #6659: explained where "forloop.counter" comes from
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 23:38:59 +00:00
James Bennett 39b1f1dd80 Fixed #6245: Added note about watching Django development when using the development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 23:18:52 +00:00
James Bennett 33d7fbd82d Fixed #4783: Added a note that "admin media" means "media used by the admin app", and that ADMIN_MEDIA_PREFIX and MEDIA_URL should not be the same value.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 22:36:30 +00:00
Adrian Holovaty edb3381c7a Added docs/pagination.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 22:36:14 +00:00
Adrian Holovaty 6c06f8f10f Improved docs/generic_views.txt to note the new template context for the object_list generic view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 21:58:31 +00:00
James Bennett 855bc7b09d Fixed #6266: Added note to docs/modelforms.txt pointing out that they're just standard forms and have all the same methods as standard forms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 21:13:12 +00:00
James Bennett cc083724c1 Fixed #6382: Documented request.urlconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 20:58:39 +00:00
James Bennett 41d101e9ce Fixed #6541: Corrected documentation of how the admin chooses a default manager. Refs #6538.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:55:21 +00:00
James Bennett ebf3cdea73 Fixed #6759: Corrected example of get_db_prep_save() in docs/custom_model_fields.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:13:41 +00:00
James Bennett 57ddcdb0c8 Fixed #6683: corrected some typos in docs/newforms.txt. Thanks PJCrosier for the patch, and Atul Varma for spotting the errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:02:24 +00:00
James Bennett df225aee18 Fixed #6166: Improved example of autoescaping with template inheritance. Based on a patch from PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 18:41:52 +00:00
James Bennett 75617ef69f Fixed #6120: First stab at documenting newforms field types which handle relationships.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 18:20:45 +00:00
Adrian Holovaty e5342282cc Edited docs/templates.txt changes from [7276]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 04:21:08 +00:00
Jacob Kaplan-Moss 8e14a4e6d7 Fixed #6351: added more examples to template filters. Thanks, David Tulig and atlithorn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 00:14:41 +00:00
Adrian Holovaty 5794111afa Fixed #6795 -- Added some translation info to docs/contributing.txt. Thanks, Karderio and vegpuff
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 17:29:10 +00:00
Adrian Holovaty ba3d5272b5 Added section to docs/form_wizard.txt about extra_context. Thanks, Honza
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 17:26:02 +00:00
Adrian Holovaty d0aa7c820b Fixed the inevitable ReST errors in docs/form_wizard.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 16:56:05 +00:00
Adrian Holovaty 642f42bf71 Added docs/form_wizard.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 16:53:20 +00:00
Gary Wilson Jr dd69bdcf94 Fixed #6455 -- Updated link to The Django Book in authentication docs, thanks ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-14 18:17:08 +00:00
Malcolm Tredinnick af5f07897c Added a "new in development version" marker that I randomly realised I'd forgotten.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-14 00:07:01 +00:00
Adrian Holovaty 2b8c2c49e7 Edited settings.txt and i18n.txt changes from [7185]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13 20:26:08 +00:00
Adrian Holovaty b448b678e8 Fixed a typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13 20:23:06 +00:00
Gary Wilson Jr 79abd052e7 Fixed #6753 -- Corrected typo in authentication docs, thanks piem@piem.org and PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-12 06:42:09 +00:00
Russell Keith-Magee cb4a018c35 Fixed #6757 -- Corrected typo in newforms docs. Thanks, Atul Varma <varmaa@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 23:09:44 +00:00
James Bennett a74299fb61 Another minor grammatical fix in docs/modelforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 06:49:36 +00:00
James Bennett 866d7fa961 Correct an example in docs/modelforms.txt, and fix some reST formatting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 06:40:50 +00:00
Adrian Holovaty a128ce785f Fixed #6742 -- Fixed numbering error in docs/flatpages.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 21:59:09 +00:00
Adrian Holovaty e3e2fb3ff0 Fixed #6716 -- Fixed typo in docs/faq.txt. Thanks, AdamG
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 19:41:21 +00:00
Adrian Holovaty 1f0de0312e Fixed #6740 -- Documented in docs/flatpage.txt that the flatpages app requires the sites framework. Thanks, mail@dirkmeister.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 19:40:31 +00:00
Gary Wilson Jr 444b7b2849 Fixed #6732 -- Added missing word "must" in `templates_python.txt` docs, thanks Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:19:52 +00:00
Malcolm Tredinnick c3d873fc3e Added a note that cleaned_data is new in the development release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-06 17:10:04 +00:00
Gary Wilson Jr 6bc499f03c Fixed #6721 -- Fixed a typo in `templates_python.txt` documentation, thanks Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-06 00:54:14 +00:00
Malcolm Tredinnick efed04b634 Fixed #5603 -- Allow customization of the language cookie name. Thanks, moe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-29 18:38:44 +00:00
Jacob Kaplan-Moss 00f0519859 Added documentation about the "app.Model" relation syntax introduced by [7185]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-26 21:18:34 +00:00
Malcolm Tredinnick 3eec925f73 Fixed a few errors in the documentation. Thanks, Matthew Flanagan, panni@fragstore.net and adamv.
Fixed #6411, #6426, #6524, #6555.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-18 23:43:12 +00:00
Malcolm Tredinnick d69f3ccfdb Fixed #6316 -- Updated FAQ link for one of our Python on Windows links.
Thanks, Marc Fargas.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-18 23:08:28 +00:00
Adrian Holovaty 8b3f36029f Made a bunch of small doc rewordings from changes over the past couple of weeks
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-16 05:15:09 +00:00
Malcolm Tredinnick d9a3c1b9fc Made a bunch of tiny documentation formatting and typo fixes.
Thanks, quicklizard, adamv, Gary Wilson, superjudge and David Pretty.

Fixed #6554, #6573 ,#6592, #6595, #6608.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-15 11:38:53 +00:00
Malcolm Tredinnick 1159791cd5 Modified [7112] to make things behave more in line with Python subclassing when subclassing ModelForms.
Meta can now be subclassed and changes on the child model affect the fields
list. Also removed a block of error checking, since it's harder to mess up in
unexpected ways now (e.g. you can't change the model and get the entirely wrong
fields list), so it was a level of overkill.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 17:38:05 +00:00
Malcolm Tredinnick 37962ecea7 Fixed #6337. Refs #3632 -- Fixed ModelForms subclassing, to the extent that it can be made to work.
This ended up being an almost complete rewrite of ModelForms.__new__, but
should be backwards compatible (although the text of one error message has
changed, which is only user visible and only if you pass in invalid code).

Documentation updated, also.

This started out as a patch from semenov (many thanks!), but by the time all
the problems were hammered out, little of the original was left. Still, it was
a good starting point.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 12:56:49 +00:00
Russell Keith-Magee 5078010a31 Fixed #6600 -- Corrected typos in contenttype documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 05:26:52 +00:00
Malcolm Tredinnick 7d7119897c Updated the documentation for patterns() to note Python's 255 argument limit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-14 04:54:03 +00:00
Russell Keith-Magee ad23fff759 Fixed #6597 -- Corrected spelling mistake. Thanks for the report, Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-13 23:17:55 +00:00
Malcolm Tredinnick 6674718213 Fixed #6278 -- Documented that the 404 template is passed a RequestContext and the 500 handler is not. Thanks, Rob Hudson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-04 01:48:53 +00:00
Malcolm Tredinnick c03b5c1091 Fixed #6224 -- Small doc fixed for Argentinean localflavor. Thanks, Ramiro
Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03 04:44:00 +00:00
Malcolm Tredinnick 6183e0cb20 Clarified that filter arguments are passed as a single string to the translation support. Refs #6326.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03 01:49:34 +00:00
Gary Wilson Jr 0e81ad4e66 Refs #5474 -- Removed a hyperlink target that ended up not getting used in [6234].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-31 22:51:22 +00:00
Gary Wilson Jr d3d5861ac2 Fixed #6502 -- Documented `context_instance` argument of `render_to_response`, thanks `SmileyChris`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-31 22:49:14 +00:00
Gary Wilson Jr 3fd5b5d6a8 Fixed #6265 -- Added an example of overriding a form field's default widget in the modelforms docs, based on patch from programmerq.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28 03:12:28 +00:00
Gary Wilson Jr b24ad9a06b In the modelforms docs, made the "Field types" text a link to the section.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28 02:56:35 +00:00
Gary Wilson Jr fab7535806 In the modelforms docs, made the "Overriding the default field types" text a link to the section.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28 02:51:40 +00:00
Gary Wilson Jr 93c8e94bd6 Fixed another typo in templates docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 19:07:14 +00:00
Gary Wilson Jr 7cbbada662 Fixed typo in templates docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 18:50:59 +00:00
Gary Wilson Jr ff0ccc611f Fixed #6360 -- Updates to the distributions docs for Ubuntu and Gentoo, thanks tvrg.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 03:38:22 +00:00
Gary Wilson Jr 9d18adde00 Fixed #6367 -- Fixed link to zen of Python, thanks N00ne and dtulig.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13 02:14:21 +00:00
Malcolm Tredinnick 3760e7a1e0 Fixed #6345 -- Django supports week numbers all the way up to 53, not just 23.
Thanks, djoume.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-09 07:32:05 +00:00
Malcolm Tredinnick f0b14067db Fixed #6331 -- Fixed some typos in shortcuts.txt. Thanks, Herbert Poul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-09 07:19:56 +00:00
Malcolm Tredinnick 421b03af2c Fixed #6341 -- Added missing link for text introduced in [6946].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-09 06:52:42 +00:00
Gary Wilson Jr 8775c17930 Fixed #6330 -- Fixed reST error in templates documentation, thanks `SmileyChris`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-06 22:09:16 +00:00
Malcolm Tredinnick a7da12d320 Fixed #5567 -- Added a "last" filter. Based on a patch from darkpixel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-06 03:53:33 +00:00
Adrian Holovaty f6336737a0 Fixed #6291 -- Fixed error in CASocialInsuranceNumberField documentation and error message. Thanks, jeff+django@ivany.org and arien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:23:21 +00:00
Adrian Holovaty aa728422bc Fixed #6247 -- Added CsrfMiddleware to docs/middleware.txt. Thanks, Uninen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:13:46 +00:00
Adrian Holovaty 8bb07998ca Fixed #6252 -- Clarified the --settings option in docs/django-admin.txt. Thanks, whiskybar
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:08:25 +00:00
Adrian Holovaty 8abd63f450 Fixed #6287 -- Fixed typos in docs/sites.txt. Thanks, arien and Horst Gutmann
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-02 05:01:54 +00:00
Adrian Holovaty 0a348bb269 Fixed #6249 -- Fixed error in docs/syndication_feeds.txt example. Thanks, darugar
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-21 03:16:03 +00:00
Adrian Holovaty 6e94b56044 Edited docs/testing.txt changes from [6929]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 04:09:19 +00:00
Adrian Holovaty 76f3856039 Edited docs/middleware.txt changes from [6852]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:55:10 +00:00
Adrian Holovaty 48a5898f24 Edited docs/localflavor.txt changes from [6849]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:52:13 +00:00
Adrian Holovaty 81b9b7fb55 Added note to docs/form_for_model.txt (from [6844]) explaining this is deprecated in favor of ModelForms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:39:21 +00:00
Adrian Holovaty fde7e1c861 Added 'New in Django development version' note to docs/sessions.txt setdefault() change from [6831]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-19 03:29:16 +00:00
Malcolm Tredinnick 133aa5eb4b Fixed #6119 -- Documented HttpRequest.get_host(). Thanks, PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 12:50:06 +00:00
Malcolm Tredinnick 24cb41b8c7 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 11:11:34 +00:00
Malcolm Tredinnick 3edf2ebd94 Fixed #6155 -- Fixed dumpdata to work with the default model manager (necessary
for the rare cases when the 'objects' manager might not even exist). Based on
a  patch from Michael Trier.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 09:09:08 +00:00
Malcolm Tredinnick 06482d4aa4 Fixed #6136 -- Updated the localflavor documentation. Patch from Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 08:58:29 +00:00
Malcolm Tredinnick 14ed0efec9 Fixed #6134 -- Allow an on-disk SQLite database to be used for tests, if required. Patch from jdetaeye.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 08:50:50 +00:00
Malcolm Tredinnick 8ecff6b91c Split up the documentation of the test database and the test output.
Refs #6134.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 08:50:32 +00:00
Malcolm Tredinnick 4d7aa81a70 Fixed #5561 -- Added link to the contenttypes documentation into the add_ons document. Pointed out by Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 07:39:24 +00:00
Malcolm Tredinnick 54457043ad Fixed #6174 -- Documentation fix for [6912]. Pointed out by Russell Cloran.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 07:01:17 +00:00
Malcolm Tredinnick 5d6f91e415 Small typo fixes. Thanks, jdetaeye, Ionut Ciocirlan, David Reynolds and adamv.
Fixed #6123, #6133, #6179, #6194.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-17 06:59:01 +00:00
Joseph Kocherhans e415eff0ea Fixed #6162. ModelForm's __init__ signature now matches Form's. This is a backwards incompatbile change. Based largely on a patch by ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-13 02:48:04 +00:00
Gary Wilson Jr f9410dc40d Fixed #6151 -- Added some code formatting to the `floatformat` template filter doc section. Thanks, adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-11 06:55:25 +00:00
Gary Wilson Jr 8540731dc4 Fixed #6164 -- `field.label_tag` already displays the label so don't display it again. Thanks, arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-11 04:44:48 +00:00
Malcolm Tredinnick b3c01b389c Tweaked the custom field documentation so that people reading about to_python() get a big hint to look at the SubfieldBase metaclass.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-09 08:10:09 +00:00
Jacob Kaplan-Moss b65fce6595 Fixed #4131: added an "escapejs" filter for use in JavaScript strings, and updated the documentation on addslashes to point to the new ticket. Featuring contributions from Ned Batchelder, Jeremy Dunck, and Andy Durdin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 21:08:29 +00:00
Adrian Holovaty 803b95c6a4 Edited docs/request_response.txt changes from [6808]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:16:28 +00:00
Adrian Holovaty 5d7a18bd2e Edited docs/authentication.txt changes from [6805]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:14:45 +00:00
Adrian Holovaty e5e75b0c52 Edited various doc changes from [6801]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:13:56 +00:00
Adrian Holovaty 166aa3ec46 Edited docs/contributing.txt changes from [6795]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:10:51 +00:00
Adrian Holovaty 140e60e540 Edited docs/install.txt changes from [6794]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:07:44 +00:00
Adrian Holovaty ece222ade5 Edited docs/add_ons.txt changes from [6788]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:05:28 +00:00
Adrian Holovaty b34b1a89b2 Removed some 'behaviour's from the docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 06:01:00 +00:00
Adrian Holovaty 3c654625f1 Edited docs/syndication_feeds.txt changes from [6741]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-04 05:58:43 +00:00
Joseph Kocherhans ed74763750 Fixed #6114. Fixed a typo in the modelforms docs. Thanks, Martin Conte Mac Donell.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-03 16:18:23 +00:00
Malcolm Tredinnick 1f629bff99 Fixed #3228 -- Added new APPEND_SLASH handling behaviour in the common middleware. Makes customisation a bit easier. Thanks, Mihai Preda and Andy Gayton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 23:25:55 +00:00
Malcolm Tredinnick cb350d72ab Fixed #3883 -- Added initial localflavor documentation. Thanks, Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 20:57:53 +00:00
Joseph Kocherhans ab75953bbb Fixed in typo in modelforms docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 20:43:38 +00:00
Malcolm Tredinnick 51dc4ecf94 Fixed #6042 -- ModelForms implementation from Joseph Kocherhans. Still might
need a little tweaking as people start to use it, but this is mostly complete.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 19:29:54 +00:00
Malcolm Tredinnick 805c364fcf Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 18:21:07 +00:00
Malcolm Tredinnick 9075ac4b76 Fixed #685 -- archive_index() and object_list() generic views allow empty
result sets by default now. Thanks, Gary Wilson and Matt Croydon.

This is a backwards incompatible change.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:43:35 +00:00
Malcolm Tredinnick 81832f594d Fixed #5743 -- Tweaked the exceptions raised when importing settings so that we
cooperate with Python's standard help() function. Patch from ionut_bizau and
Ben Slavin.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:27:44 +00:00
Malcolm Tredinnick 49da9ab57e Fixed #6087 -- Added setdefault() support to the Session object. Thanks, Ben
Slavin.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:27:29 +00:00
Malcolm Tredinnick f610269006 Fixed #6070 -- Fixed the documentation about running Django's core tests, since SITE_ID is no longer required (it was removed in [6814]). Thanks, beorn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:17:21 +00:00
Malcolm Tredinnick 04a20c0226 Fixed #6097 -- Fixed some broken RST markup. Thanks, Simeon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 15:03:36 +00:00
Malcolm Tredinnick 0c1ba467ae Documented that the simple cache backend was deprecated in [6822].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 04:54:34 +00:00
James Bennett b6a6f665cc img/doc/tutorial -> img/doc/tutorial-trunk in docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 22:36:45 +00:00
James Bennett 6875fd6389 Fixed #3483: Documented AUTH_PROFILE_MODULE and custom user profiles
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:45:05 +00:00
James Bennett b063bbc838 Correcting some awkward wording/spelling in docs/request_response.txt while I'm in there
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:12:44 +00:00
James Bennett 7fbe014197 Fixed #5550: Documented the context used by the default view for 404 and 500 errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:11:55 +00:00
James Bennett f3d5372340 Fixed #5860: Documented the correct order in which the syndication framework tries methods for generating item links.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 20:08:45 +00:00
James Bennett 1087dc31fb Fixed #4819: documented the need to call authenticate() before login(), based on a patch from Davd Krauth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:52:53 +00:00
Adrian Holovaty 0e464d5d5c Edited docs/newforms.txt changes from [6740]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:31:53 +00:00
Adrian Holovaty 5e06c129c6 Edited docs/newforms.txt changes from [6733]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:26:51 +00:00
Ian Kelly bbc3a95557 Fixed #6007: Added DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE
options to global_settings.py


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:23:49 +00:00
Adrian Holovaty 4a3084f3fc Edited templates.txt and templates_python.txt auto-escaping changes from [6671]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 18:38:12 +00:00
Malcolm Tredinnick 32e0852fa0 Documented the new Someday/Maybe triage status.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 18:10:10 +00:00
James Bennett 5f49d67427 Fixed #5776: Added an explanation of when and why Django might need ALTER TABLE privileges to docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:44:59 +00:00
Adrian Holovaty b3b8a2e9b3 Edited docs/custom_model_fields.txt from [6652]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:29:45 +00:00
James Bennett 0aa26dacac Fixed #6079: Added AUTHENTICATION_BACKENDS to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:27:44 +00:00
James Bennett 56b1b7d30b Fixed #5870: documented the "fail_silently" argument to EmailMessage.send().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:20:19 +00:00
James Bennett 14da40f545 Correct a typo in [6788]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:10:12 +00:00
James Bennett aa8febb3f1 Fixed #5940: added sessions and webdesign cross-references to docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:07:32 +00:00
Adrian Holovaty a73588aa58 Edited docs/serialization.txt changes from [6645]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 16:58:52 +00:00
Adrian Holovaty e7bc0f10ac Edited docs/newforms.txt changes from [6625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 16:52:49 +00:00
Adrian Holovaty 275cffaab1 Edited docs/cache.txt changes from [6580], removing a gross exclamation point usage in the process
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:34:04 +00:00
Adrian Holovaty 9e762f4407 Edited docs and docstring changes from [6572] (new cache add() method)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:30:43 +00:00
Adrian Holovaty 7ea174ef14 Edited docs/syndication_feeds.txt changes from [6570]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:27:49 +00:00
Adrian Holovaty 85acb388ee Edited docs/settings.txt changes from [6545]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:22:35 +00:00
Adrian Holovaty a1476fbca2 Edited docs/modpython.txt changes from [6536]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:20:27 +00:00
Adrian Holovaty bfa742b6ea Edited docs/templates.txt changes from [6533]. Let's not smash people over the head with an only marginally important piece of information in the very first paragraph of the document.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:18:57 +00:00
Adrian Holovaty e0e084e017 Edited docs/newforms.txt changes from [6532]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:16:51 +00:00
Adrian Holovaty 71dd90b25d Edited docs/unicode.txt change from [6463] -- Americanized 'behavior'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:09:49 +00:00
Adrian Holovaty 53a5fa9928 Small edit to docs/i18n.txt from [6461]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:08:26 +00:00
Adrian Holovaty efc1ff2004 Edited docs/databases.txt Oracle changes from [6432]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:03:32 +00:00
Malcolm Tredinnick 8f97d96238 Fixed #6046 -- Correct an obvious blunder in setting the PYTHONPATH. Pointed
out by Richard Worth.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 20:09:48 +00:00
Malcolm Tredinnick 0cae3d55b6 Fixed #6006 -- Typo fixing in the description of verbosity. Pointed out by
NorbertK.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 19:30:42 +00:00
Malcolm Tredinnick e2b03bd0c2 Fixed #5955 -- Made a bunch of ReST fixes. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 18:15:38 +00:00
Malcolm Tredinnick f86e54e3b0 Added better error handling in the basic feed class example. Refs #5855
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 17:41:35 +00:00
Malcolm Tredinnick d94ed44c5d Fixed #5854 -- Added an example to the newforms documentation showing how to
highlight required fields (which should also provide enough clues for
accessing other attributes on newforms.Field subclasses. Thanks,
christobzr@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 17:30:01 +00:00
Malcolm Tredinnick 5cd153b7c8 Fixed #5777 -- Recommend using a symbolic link on Linux, OSX, etc for
django-admin.py so that subversion updates keep it up to date. Patch from arien.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:57:20 +00:00
Malcolm Tredinnick f2f6e70b08 Fixed #5813 -- Taught the CacheMiddleware to respect any max-age HTTP header
when setting the expiry time. Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:57:18 +00:00
Malcolm Tredinnick d0f5a58fbd Fixed #4653 -- Improved the logic to decide when to include (and select as
initial value) the blank choice for a model field with choices. Thanks to
Ilya Semenov for persisting with this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:32:18 +00:00
Gary Wilson Jr 1607acee40 Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of an empty tuple and removed some code that was checking for its existance in settings before accessing it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19 05:59:58 +00:00
Gary Wilson Jr 331d4bba97 Fixed link to settings documentation in the i18n docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19 04:36:09 +00:00
Malcolm Tredinnick 86ca11dd6d Rewrote the section about writing autoescaping-aware filters, based on feedback
from Ivan Sagalaev.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-18 07:19:11 +00:00
Malcolm Tredinnick 0928fa5566 Fixed #5945 -- Treat string literals in template filter arguments as safe
strings for auto-escaping purposes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-17 12:11:26 +00:00
Malcolm Tredinnick d0f3c4386e Fixed #5898 -- Updated docs for r6662, as pointed out by arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15 09:26:57 +00:00
Malcolm Tredinnick 84c1e78551 Fixed #5892, #5930 -- Fixed some typos pointed out by ars@iki.fi and nickl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15 09:21:36 +00:00
Malcolm Tredinnick 3322521cd6 Documented the time-saver in flatpages: title and content are marked as safe
strings.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 21:30:18 +00:00
Malcolm Tredinnick bdb0b903c2 Content coming via {{ block.super }} is always going to be correctly escaped
already. We mark it as safe so that template authors don't need to.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 21:07:27 +00:00
Malcolm Tredinnick 356662cf74 Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359
See documentation in templates.txt and templates_python.txt for how everything
works.

Backwards incompatible if you're inserting raw HTML output via template variables.

Based on an original design from Simon Willison and with debugging help from Michael Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 12:58:53 +00:00
Malcolm Tredinnick af256a02f9 Fixed #5890 -- Fixed a ReST markup error. Thanks, arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-11 04:44:11 +00:00
Malcolm Tredinnick 8216abe748 Documentation for creating custom model fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-05 13:59:52 +00:00
Gary Wilson Jr 6f7fd897bc Added pretty tables for `floatformat` documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 02:48:44 +00:00
Malcolm Tredinnick 75efa2811d Fixed #5868 -- Provided an example of how to extend simplejson to serialize
lazy translation objects for those who want to use it directly.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 02:08:24 +00:00
Gary Wilson Jr 0e59bf42cf Fixed #5869 -- Corrected documentation for `now` template tag's "r" format character. Thanks, xavier.morel@masklinn.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 01:14:58 +00:00
Gary Wilson Jr 39f28512b9 Fixed #5842 -- Marked cache template tag as "New in development version", thanks `SmileyChris`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-31 01:46:32 +00:00
Gary Wilson Jr 0709c23046 Fixed #5832 -- Removed unneeded import in testing documentation, thanks Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 23:00:57 +00:00
Gary Wilson Jr 9a30ed5cd5 Fixed #5834 -- Fixed import in `formtools` documentation, thanks telenieko.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:57:46 +00:00
Gary Wilson Jr b237537e00 Changed name of `PythonInterpreter` so as not to get confused with the use of `DJANGO_SETTINGS_MODULE mysite.other_settings`
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:50:42 +00:00
Gary Wilson Jr ff2cb88325 Fixed #5838 -- Fixed typo in email documentation, thanks huddlej@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:35:15 +00:00
Gary Wilson Jr 26ea06b0ab Fixed #3457 -- Allow overridding of error messages for newforms Fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-28 05:40:26 +00:00
Adrian Holovaty cb6ecfe9d6 Edited docs/django-admin.txt changes from [6400]. (I'm behind on editing!)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-23 19:11:15 +00:00
Malcolm Tredinnick 0a4e4d5993 Tweaked the caching docs to be consistent about the format for database caches
(and fixed a formatting error).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 19:10:10 +00:00
Malcolm Tredinnick 6fbf653aa5 Fixed #1065 -- Added a "cache" template tag. Thanks, Ian Maurer and, particularly, Nick Lane.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 15:48:40 +00:00
Malcolm Tredinnick 1671fc48ab Changed the default form presentation of datetime values to not include the
fractional second values (they usually aren't going to be needed). Based on
patches from yi.codeplayer@gmail.com, andrews and Wiliam Alves de Souza. Fixed #4428, #4487


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 14:50:47 +00:00
Malcolm Tredinnick d79c6a0125 Fixed #5013 -- Corrected the documentation about which how further middleware
processing is done after request or view middleware returns something. Thanks,
Jason Yan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 12:24:37 +00:00
Malcolm Tredinnick 4c3586582d Fixed #4493 -- Noted that the LocaleMiddleware's placement w.r.t
CacheMiddleware is important. Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 12:12:45 +00:00
Malcolm Tredinnick 714c09b8bd Fixed #4831 -- Added an "add" cache key method, for parity with memcached's
API. This works for all cache backends. Patch from Matt McClanahan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 15:16:34 +00:00
Malcolm Tredinnick b678601df3 Fixed #4123 -- Changed the firstof template tag to correctly handle a literal
string as its last argument. Thanks, Wesley Fok and Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 15:01:31 +00:00
Malcolm Tredinnick 8a3cf46e60 Fixed #3502 -- Added TTL support for RSS (not Atom) feeds. Patch from
jason.sidabras@gmail.com and Thomas Kerpe.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 14:54:38 +00:00
Malcolm Tredinnick d1efe9b2f7 Fixed #4944 -- Added a note about Model.save() raising IntegrityError is a
'unique' constraint is violated. Patch from PhiR.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 12:35:10 +00:00
Malcolm Tredinnick 3742e35df3 Updated the new default value for BooleanFields, clarified the behaviour of
'required' for those fields and updated the examples to use required=False so
that people get the hint. Refs #5104.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 12:21:16 +00:00
Malcolm Tredinnick 22ee68961a Added a section to the template documentation to clarify the arbitrary Python
code should not be expected to work. The might help balance expectations.
Thanks, James Bennett. Fixed #5125.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 11:05:15 +00:00
Malcolm Tredinnick c858efe912 Fixed #5512 -- Added a note about a common MySQLdb upgrade problem. Thanks,
Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:47:57 +00:00
Malcolm Tredinnick 233d76cf25 Fixed #5601 -- Point out the existence of pep8.py for people wanting some extra
help checking for consistency. Thanks, simeon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:41:56 +00:00
Malcolm Tredinnick 2f17153c02 Fixed #5637 -- Clarified that nothing extra is required when using SQLite and
Python 2.5. Based on a patch from Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:37:32 +00:00
Malcolm Tredinnick aa320700d2 Added "new in development version" marker for [6545].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 06:30:44 +00:00
Malcolm Tredinnick e172e7be57 Fixed #4724 -- Added support for configurable session cookie paths. Helps with
multiple Django installs under the same hostname. Thanks, frej and Graham
Dumpleton.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 05:13:56 +00:00
Malcolm Tredinnick 3ea87fb9c0 Fixed #5782 -- Fixed a small typo spotted by obeattie.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:16:40 +00:00
Malcolm Tredinnick ad91f6889d Fixed #4854 -- Recommended the use of forward slashes even in Windows configuration, to avoid having to worry about double-escaping issues. Based on a patch from adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:21:51 +00:00
Matt Boersma 50b824d2b1 Fixed #5633, refs #5626: Change "Max OS X" to "Mac OS X" in tutorial01.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 15:43:45 +00:00
Malcolm Tredinnick 3375ed1128 Added default value for LOCALE_PATHS from [6530].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 06:53:30 +00:00
Gary Wilson Jr 40f1c923e2 Fixed #5658 -- Added a note to the top of the "for template authors" template documentation that states the scope of the document, along with a link to the "for Python programmers" documentation. Removed the link to the "for Python programmers" documentation at the bottom since it would be redundant.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 05:07:47 +00:00
Gary Wilson Jr 5c8b26df15 Fixed #5666 -- Documented the `prefix` keyword argument for newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 04:47:07 +00:00
Gary Wilson Jr a1723aba3b Fixed #5747 -- Added missing file extension in flatpage documentation. Thanks, Rob Hudson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:20:15 +00:00
Gary Wilson Jr 433cbba512 Fixed #5750 -- Documented `LOCALE_PATHS` setting, with a link to the internationalization documentation. Thanks, jdetaeye and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:18:15 +00:00
Russell Keith-Magee b053177555 Fixed #5723 -- Fixed typo in request response docs. Thanks, derelm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-10 02:20:32 +00:00
Malcolm Tredinnick 381453da91 Documented the strings_only param to smart_unicode() and force_unicode().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:32 +00:00
Malcolm Tredinnick 7ab381972e Fixed an RST formatting typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:27 +00:00
Malcolm Tredinnick a0102fccfd Fixed the note about charset encoding in PO files. It must be UTF-8 since [5708].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:22 +00:00
Adrian Holovaty 0397e63a19 Corrected broken link to newforms unit tests in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 22:50:06 +00:00
Ian Kelly dad9bae585 Fixed #5656: Added a note about needing CREATE TRIGGER privileges
to run syncdb under Oracle. Thanks, jbronn.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-02 15:26:39 +00:00
Ian Kelly 632a424db7 Added a link in install.txt to the Oracle backend notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 19:35:50 +00:00
Ian Kelly e70ecc93ff Fixed #5627: Added documentation and caveats about using the oracle
backend.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 19:25:50 +00:00
James Bennett 4b4ecb6d66 Fixed #5615: Corrected a typo in docs/email.txt. Thanks, raprasad@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 03:07:36 +00:00
Russell Keith-Magee 4edecaeae9 Fixed #2603 -- Fixed a typo and added a helpful example reference to the generic view pagination docs. Thanks, Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-23 06:18:49 +00:00
Russell Keith-Magee 4d30be23dc Fixed #5364 -- Clarified the warning regarding saving form_for_model forms with missing fields. Thanks to PhilR for the initial draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-23 05:59:12 +00:00
James Bennett 694323ec74 Fixed #5565: Corrected small reST error in docs/db-apit.txt. Thanks, gkelly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-22 04:58:26 +00:00
Russell Keith-Magee 302eeaf190 Fixed #5516 -- Added the ability for applications to define their own management commands. Pieces of this patch taken from a contribution by Todd O'Bryan. Thanks Todd.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-21 16:19:20 +00:00
Jacob Kaplan-Moss 2570954a9a Fixed #3453: introduced a new template variable resolution system by Brian Harring (thanks!). The upshot is that variable resolution is about 25% faster, and you should see a measurable performance increase any time you've got long or deeply nested loops.
Variable resolution has changed behind the scenes -- see the note in templates_python.txt -- but template.resolve_variable() still exists. This should be fully backwards-compatible.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-21 04:00:32 +00:00
Russell Keith-Magee 75e462099b Fixed #5556 - Minor typo in settings docs. Thanks for the eagle eyes, jleedev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 23:56:54 +00:00
Gary Wilson Jr 2fea878213 Made the links to settings consistent with the others by not including the word "setting" in the link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 07:19:10 +00:00
Gary Wilson Jr bf6effdfaf Fixed #5148 -- Added link to `DEFAULT_FROM_EMAIL` setting in email documentation. Thanks, mcroydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 07:13:32 +00:00
Adrian Holovaty 24588afe6d Fixed #5525 -- Fixed typo in docs/request_response.txt. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 02:02:54 +00:00
Russell Keith-Magee 6306400102 Fixed #5544 -- Fixed another typo in documentation, introduced as a result of the changes in [6333] and [6365]. Thanks for the report, xiaolianyi@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 02:02:21 +00:00
Adrian Holovaty 31a07e8cf9 Fixed errors in docs/model-api.txt changes from [6378]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 01:48:47 +00:00
Jacob Kaplan-Moss 980fa8b827 Fixed #231: all fields that should take max_length now do. Thanks, Don Spaulding.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 23:33:57 +00:00
Russell Keith-Magee d022e2581d Fixed #5544 -- Fixed typo in documentation, introduced as a result of the changes in [6333] and [6365]. Thanks for the report, xiaolianyi@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 23:32:53 +00:00
Adrian Holovaty 5c55cc83a7 Made some small edits to docs/authentication.txt changes from [6375]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 20:54:46 +00:00
Jacob Kaplan-Moss f857e37776 Fixed $5457 - the auth system now delegates permission checking to auth backend(s). As an added bonus, the auth backends now have some unit tests! Thanks, Florian Apolloner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 16:50:30 +00:00
Gary Wilson Jr 66203fc9ee Fixed #2675 -- Changed the `timeuntil` and `timesince` template filters to display "0 minutes" when passed a past or future date respectively instead of "-1 years, 12 months". Thanks to nickefford for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-17 04:50:12 +00:00
Adrian Holovaty 4541a4d3a9 FIxed #5376 -- Fixed typo in testserver docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 16:01:25 +00:00
Matt Boersma cb02d34376 Fixed fat-finger typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 15:57:15 +00:00
Matt Boersma da903a3be4 Updated Oracle python drivers link to atuining's new SF site.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 15:56:19 +00:00
Malcolm Tredinnick c012b8964e Fixed #4067 -- Fixed validation of IPAddressFields in newforms. Thanks to neils and the team in the Copenhagen sprint group.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 11:38:32 +00:00
Malcolm Tredinnick 748e55b1da Fixed #4975 -- Allow the default label suffix character to be configured. Thanks, Vincent Foley.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 04:38:20 +00:00
James Bennett 23f95c9dfa Fixed #5503 -- corrected a small typo in email example. Thanks, trey@ktrl.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 03:57:33 +00:00
Malcolm Tredinnick 8ccf2028c2 Fixed #3955 -- Added the ability to traverse LOCALE_PATHS when compiling PO files. Thanks, semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 03:17:48 +00:00
James Bennett d0f4e52abf Fix a couple of typos from [6309]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 02:01:06 +00:00
Malcolm Tredinnick e2409750f8 Fixed #3703 -- Added pk property to models. Thanks, Collin Grady and jeromie@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 01:57:25 +00:00
Adrian Holovaty 1de4bf0b66 Edited docs/settings.txt changes from [6316]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:39:51 +00:00
Adrian Holovaty b448593432 Edited docs/sessions.txt changes from [6333]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:36:53 +00:00
Adrian Holovaty c079d52fe7 Small wording fix in docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:36:43 +00:00
Jacob Kaplan-Moss bcf7e9a9fe Fixed #2066: session data can now be stored in the cache or on the filesystem. This should be fully backwards-compatible (the database cache store is still the default). A big thanks to John D'Agostino for the bulk of this code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:29:14 +00:00
Jacob Kaplan-Moss 07447a0f56 Fixed #5454: settings.DATABASE_BACKEND may now refer to an external package (i.e. one located outside the Django source. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 19:25:20 +00:00
Jacob Kaplan-Moss 201a6cc192 One more tweak to [6309] - sorry for the noise.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:56:18 +00:00
Jacob Kaplan-Moss 8a48d490a1 Small reST tweak to [6309].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:54:31 +00:00
Jacob Kaplan-Moss fc478a0fe8 Fixed #4437: added notes to the modpython auth handler documentation about using the handler with Apache 2.2. Thanks to Paul Bissex for the beginnings of the patch, and Graham Dumpleton for the rest of the info.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:52:29 +00:00
Adrian Holovaty 41e622e170 Fixed #5284 -- Documented never_cache decorator. Thanks, xbito
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:43:49 +00:00
Adrian Holovaty d3c2dd30d6 Fixed #5484 -- Documented render_to_string. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:39:44 +00:00
Adrian Holovaty 0639474d01 Fixed #5449 -- Noted in docs/model-api.txt that the admin date selection always starts on a Sunday. Thanks, flother
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:33:03 +00:00
Adrian Holovaty fb288d9557 Fixed #5275 -- Documented QuerySet.iterator(). Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:31:50 +00:00
Adrian Holovaty e90eb41a4a Fixed #4234 -- Added docs/contenttypes. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:29:09 +00:00
Malcolm Tredinnick 388182b622 Fixed #3032 -- Added some useful methods and attributes so that AnonymousUser can proxy for a User a bit more logically. Patch from semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:01:29 +00:00
Adrian Holovaty bf3c1cf7bf Fixed #4888 -- Fixed small confusion in docs/authentication.txt. Thanks, Piotr Lewandowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:48:59 +00:00
Adrian Holovaty 061ed82b22 Fixed #5430 -- Improved docs for running Django's own unit tests in docs/contributing.txt. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:44:14 +00:00
Adrian Holovaty b7e90a0abd Fixed #5495 -- Made some organization / spelling / grammar changes to docs/i18n.txt. Thanks, Axis_of_Entropy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:32:53 +00:00
Adrian Holovaty 7b172de6fa Fixed #5267 -- Documented that order_by('?') queries can be slow
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:30:23 +00:00
Adrian Holovaty 951ecbf7e6 Edited docs/newforms.txt changes from [6273]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 15:17:18 +00:00
Malcolm Tredinnick 8e970f4835 Fixed #5492 -- Removed some bad markup. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 14:46:41 +00:00
Russell Keith-Magee ff25059ffb Fixed #5357 -- Added documentation on the 'page' argument to generic object_list views. Thanks, mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 11:19:35 +00:00
Malcolm Tredinnick f0cd172cd0 Fixed #5387 -- Added is_multipart method to forms. Original patch from Petr Marhhoun. Tests and documentation from Murkt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:12:05 +00:00
Malcolm Tredinnick 32ed883861 Fixed #5489 -- Updated docs to reflect the changes in [6177]. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:11:26 +00:00
Malcolm Tredinnick 8a17181b58 Fixed #5477 -- Added links from the markup filters to the more extensive documentation in the add-ons file. Patch from mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 09:51:57 +00:00
Adrian Holovaty 16906ea793 Fixed #5024 -- Fixed potential error in docs/databases.txt related to MySQL 'passwd'. Thanks, ispivey@gmail.com and ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 05:00:21 +00:00
Adrian Holovaty a604896042 Fixed #4692 -- Documented required database privileges. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:58:41 +00:00
Adrian Holovaty 4ed5eafe87 Fixed #5482 -- Fixed ReST error in docs/generic_views.txt. Thanks, ubernostrum and nickefford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:53:35 +00:00
Adrian Holovaty bdba94d78f Fixed #5264 -- Specified Flup version in docs/fastcgi.txt. Thanks, akaihola and Nis Jorgensen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:30:15 +00:00
James Bennett ce53de47a2 Correcting inadvertent typo from [6224]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 01:02:45 +00:00
Adrian Holovaty 92e55fe8b1 Fixed #5432 -- Added docs/form_preview.txt. Thanks, ryankanno
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:15:40 +00:00
Adrian Holovaty 71796410ba Fixed #5474 -- Improved docs/shortcuts.txt. Thanks, minarets and EyePulp
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:33:06 +00:00
Adrian Holovaty 8cf9a6d64b Fixed #4245 -- Added documentation about permission error on OS X. Thanks, jacob@gridface.com and ubernostrum and others
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:48:50 +00:00
Adrian Holovaty cadc6e8c9f Fixed #4658 -- Improved documentation of linebreaks and linebreaksbr. Thanks, ubernostrum and Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:46:38 +00:00
Adrian Holovaty e259b8712a Added stub of docs/shortcuts.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:09:38 +00:00
Adrian Holovaty 9cccf59db5 Fixed #5460 -- unique_together now accepts a single tuple for convenience. Thanks, Deryck Hodge
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 20:36:53 +00:00
Adrian Holovaty 55d6aebfec Fixed #5394 -- REDIRECT_FIELD_NAME is now configurable. Thanks, Petr Marhoun, DavidReynolds and effbot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:25:37 +00:00
Adrian Holovaty 0d52d2b2f9 Fixed #5342 -- Added max_length parameter to EmailField. Thanks, donspaulding and gwilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:22:43 +00:00
Adrian Holovaty fe78237a22 Fixed #5376 -- Added --addrport option to the 'testserver' command. Thanks, toddobryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:17:15 +00:00
Jacob Kaplan-Moss 74b816ae9c Fixed #4061: added docs on how to limit access to databrowse. Thanks, Nick Efford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 18:59:20 +00:00
Adrian Holovaty 9f83beb372 Fixed #5464 -- Fixed typo in docs/newforms.txt. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 18:25:22 +00:00
Russell Keith-Magee 4b9148ac19 Fixed #5455 -- Fixed some backticks, quotes and typos in the settings documentation. Thanks, akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 16:40:42 +00:00
Adrian Holovaty f7e1047b08 Edited docs/install.txt changes from [6178]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 15:33:42 +00:00
Adrian Holovaty 7ed3196536 Added 'New in Django development version' note to docs/request_response.txt change from [6164]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 15:21:30 +00:00
Malcolm Tredinnick 0f03d9b6cb Fixed #5340 -- Fixed a broken link. Thanks, Justin Lilly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 10:11:02 +00:00
Russell Keith-Magee fa5e935af0 Fixed #5280 -- Minor typo in modpython docs. Thanks for the attention to detail, nsteinmetz@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:49:02 +00:00
Malcolm Tredinnick 36396fb430 Fixed #3766 -- Added in-memory caching for the sites framework. Will speed up all the "current site" lookups. Thanks, Matt Riggott.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:37:09 +00:00
Russell Keith-Magee bc21612012 Fixed #4544 -- Updated docs for allowed field types in an admin list_filter. Thanks to Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:29:51 +00:00
Malcolm Tredinnick 518bc15b21 Fixed #3902 -- Added some excellent notes about installing Django on Windows. Thanks, nick@efford.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:04:07 +00:00
Malcolm Tredinnick e70d7e6064 Fixed #987 -- Convert relative URI portions into absolute URIs in HTTP Location headers. Based on a patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 05:28:00 +00:00
Adrian Holovaty dc785104b8 Fixed #5341 -- Clarified docs/db-api.txt docs about params in extra(). Thanks, Paul Smith
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:55:09 +00:00
Russell Keith-Magee e336722fd1 Added documentation notes for new feature added in [6149].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:24:58 +00:00
Adrian Holovaty 4d25f8655b Added 'New in Django development version' note to docs/generic_views.txt change from [6157]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:15:55 +00:00
Adrian Holovaty 6767849212 Edited docs/request_response.txt change from [6155]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:12:02 +00:00
Adrian Holovaty e86d35879f Edited docs/templates_python.txt change from [6143]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:04:51 +00:00
Russell Keith-Magee 2bec822ff3 Fixed #3895 -- Added ability to customize the context variable in the archive_index generic view. Thanks to marco.giusti@gmail.com and toke-django@toke.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 03:54:28 +00:00
Malcolm Tredinnick 813c48e6eb Fixed #4726 -- Added a note about the exception raised by QuerySet.__getitem__.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 03:17:46 +00:00
Russell Keith-Magee 09145d2e5f Fixed #208 -- Modernized the syntax of the cycle tag to allow for spaces and variables in cycle values. Thanks to SmileyChris and Chris McAvoy for their work on this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 02:49:21 +00:00
Russell Keith-Magee d14c756b5e Fixed #4919 -- Added 'last' marker on paginators. Thanks to patrick@vonautomatisch.atfor the idea, and nick@efford.org for the patch and docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:52:10 +00:00
Malcolm Tredinnick 62fe5cf138 Fixed #3922 -- Added a warning that fields passed to form_for_model callback function should not be modified. It's bad for your health. Thanks, Philippe Raoult.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:45:26 +00:00
Malcolm Tredinnick 1e94ef85bf Fixed #4360 -- Corrected where HTTP headers are in the test response. Also noted that it is an extension of HttpResponse, not a simpler object. Thanks, John Shaffer for the first part.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:21:34 +00:00
Russell Keith-Magee 87e77ffca0 Fixed #1795 -- Added page_range to paginators in generic list views. Thanks to polarcowz@gmail.com and Marc Fargas <telenieko@telenieko.com> for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:01:02 +00:00
Malcolm Tredinnick 4fd2b0ca77 Fixed #2319 -- Added a note that the sites framework is used by admin's view-on-site functionality. Based on a patch from David Reynolds.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 00:52:39 +00:00
Malcolm Tredinnick 1b0e588118 Fixed #4793 -- Tweaked custom filter documentation a little to possibly reduce some confusion. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 23:30:26 +00:00
Malcolm Tredinnick ce249d4366 Fixed #4752 -- Make default ErrorList customisable in newforms display. Based on a patch from michal@logix.cz and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 23:09:40 +00:00
Adrian Holovaty 28d27a77e8 Fixed #5409 -- Fixed logic error in docs/db-api.txt. Thanks, David Paccoud
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 14:41:38 +00:00
Adrian Holovaty ed5a91f428 Fixed #5397 -- Fixed typo in docs/newforms.txt example. Thanks, zhaoz@u.washington.edu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 14:38:25 +00:00
Adrian Holovaty ced74d582a Added 'Claiming tickets' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 14:38:47 +00:00
Adrian Holovaty db6093641c Fixed #5406 -- Fixed spelling error in docs/model-api.txt. Thanks, Andrew Shearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 13:11:51 +00:00
Adrian Holovaty 4453f65c78 Combined two paragraphs in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:43 +00:00
Adrian Holovaty 49e4e4f9ce Attempted to bold part of docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:06 +00:00
Adrian Holovaty b82a44d270 Added 'How to document new features' to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:42:33 +00:00
Adrian Holovaty 3a3669e010 Fixed #5336 -- Altered an example in docs/fastcgi.txt. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:48:25 +00:00
Adrian Holovaty 5e19019bca Added bullet to docs/contributing.txt about creating diffs from the top-level trunk directory
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:10:47 +00:00
Adrian Holovaty 84f6182494 Fixed broken link in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:01:33 +00:00
Adrian Holovaty c853973110 Improved 'Examples of using different ports and addresses' section in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:00:30 +00:00
Adrian Holovaty 71504127fd Fixed #5369 -- Refactored the django-admin.py help system, allowing each subcommand to register its own options. Thanks for the patch, Todd O'Bryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 21:57:59 +00:00
Adrian Holovaty 6f0bc3d02b Fixed #5280 -- Fixed typo in docs/modpython.txt. Thanks, nsteinmetz@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:21:36 +00:00
Adrian Holovaty 9b07806aa1 Fixed #5340 -- Linked docs/templates.txt to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:18:36 +00:00
Gary Wilson Jr a047f6a8fe Fixed #5346 -- Fixed a couple typos in the model-api docs. Thanks, David Paccoud.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 19:30:16 +00:00
Russell Keith-Magee e4342b7d28 Refs #5343 -- Reverted [6047]. Loading custom commands was causing the settings file to get read before the options could be processed to determine if a --settings option was present. Back to the drawing board (again)...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-05 14:01:31 +00:00
Adrian Holovaty faaf2dad36 Updated docs/cache.txt section on 'dummy caching' to use the same example format as the other backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 22:44:35 +00:00
Russell Keith-Magee 9515b953f8 Fixed #5334 -- Added installation instructions for FreeBSD, and sorted the existing instructions by name. Thanks, Paul Bissex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 13:09:59 +00:00
Russell Keith-Magee f25b8cdbcd Fixed #5212, #5222 -- Added the ability for users to register their own commands with django-admin. A previous attempt at this was introduced in [5923]-[5925], and rolled out in [5929].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 12:59:49 +00:00
Russell Keith-Magee 853f9c7db9 Fixed #5271 -- Fixed documentation reference to using the application name as an argument to manage.py validate. The recent management.py refactor exposed this error; it was silently ignored previously.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 13:13:10 +00:00
Russell Keith-Magee 3bf4ef0c77 Fixed #4988 -- In the test client, Added tracking of the client and request that caused a response so that the assertRedirects check can use the correct client when following a redirect. Well spotted, alex@gc-web.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 11:21:40 +00:00
Adrian Holovaty 8e3507cd3e Fixed #4923 -- Fixed error in docs/authentication.txt. Thanks, djangotrac.20.skel@spamgourmet.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 06:16:47 +00:00
Adrian Holovaty a07c1c5aa6 Fixed #5303 -- Fixed incorrect statement about PythonPath directive in docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02 17:09:27 +00:00
Russell Keith-Magee 5ad08583e1 Fixed #4968 -- Added assertRedirects handling for paths with GET data. Thanks for the patch, Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 11:37:28 +00:00
Adrian Holovaty 33ab65dd1e Made negligible capitalization fix to docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 04:30:20 +00:00
Gary Wilson Jr 4ea2afa4d5 Fixed #5257 -- Fixed typo in tutorial from [6006]. Thanks, Collin Grady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26 01:16:19 +00:00
Gary Wilson Jr 1a1a58c9f8 Fixed #3184 -- Changed the `unordered_list` template filter to use a more simple format, while maintaining backwards compatibility with the old format. `unordered_list` now works with a simple list of items. Thanks for the patch, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26 01:11:20 +00:00
Adrian Holovaty 32c729be10 Added note to docs/django-admin.txt section on 'testserver' that the server does not detect changes to Python code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 23:56:33 +00:00
Adrian Holovaty 132605d889 Fixed #5086 -- The 'flush' and 'sqlflush' management commands no longer touch tables that Django is not aware of (tables that are not in INSTALLED_APPS and/or do not have associated models. Thanks for bringing this up, shaun@cuttshome.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 19:32:30 +00:00
Adrian Holovaty de2881f9f2 Removed incorrect link that slipped in docs/db-api.txt in [6010]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:59:59 +00:00
Adrian Holovaty b189e266ef Fixed #5068 -- Fixed error in docs/db-api.txt. Thanks, Collin Grady and SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:58:36 +00:00
Adrian Holovaty f8e26f5c2c Fixed #5169 -- Fixed error in docs/settings.txt "404 errors" section. Thanks, rokclimb15@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:51:32 +00:00
Adrian Holovaty eb2ce98b29 Fixed #5170 -- Made FileField a link in the ImageField section of docs/model-api.txt -- assuming the ReST gods are smiling on me today
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:48:32 +00:00
Adrian Holovaty ce207949f3 Fixed #5195 -- Added notes to docs/tutorial01.txt about max_length and __unicode__() changes and 0.96 vs. development version. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:43:32 +00:00
Adrian Holovaty 62329dca05 Fixed #5209 -- Removed link to outdated screencast in docs/faq.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:37:43 +00:00
Adrian Holovaty b3103feead Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt example. Thanks, trey@ktrl.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:29:26 +00:00
Adrian Holovaty a3a07af910 Fixed #5221 -- Fixed typo in docs/testing.txt. Thanks, derelm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21 02:35:01 +00:00
Malcolm Tredinnick c06524bc2d Fixed #4572 -- Added an example of form_for_instance usage in a full-fledged view. Based on a patch from toddobryan@mac.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 14:15:40 +00:00
Malcolm Tredinnick 14b5e074ba Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki Pulliainen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 08:50:08 +00:00
Adrian Holovaty 77a9b0cb1d Edited docs/templates.txt change from [5938]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 21:02:36 +00:00
Malcolm Tredinnick 0a49719e7a Used the url() function when adding a named URL pattern, mostly as an example of good practice and to introduce the function. Fixed #4908 (although it wasn't a bug).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:48 +00:00
Malcolm Tredinnick d1892edc9f Added documentation of the arguments for the url() function.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:21 +00:00
Malcolm Tredinnick e0c1ca7ef0 Fixed #5180 -- Added man pages for remaining files under django/bin/. We still need to rename some binaries before they can be safely installed, I suspect, so these aren't installed by default yet, but the groundwork is there now. Excellent job, Nick Efford!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 11:59:20 +00:00
Malcolm Tredinnick 0a2337c9e3 Added links from any reference to the url template tag to the appropriate place in the template tag documentation. Fixed #5198.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 10:15:11 +00:00
Malcolm Tredinnick 79801f504f Added a note that the development version supports named URL patterns in the url template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 10:14:58 +00:00
Malcolm Tredinnick cfd5b184fb Clarified that urlize and urlizetrunc should only be applied to plain text. Refs #5202.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 08:50:51 +00:00
Malcolm Tredinnick 8b115c7fb8 Fixed #5154 -- Minor wording tweak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 06:52:05 +00:00
Malcolm Tredinnick 24081d9959 Fixed #5166 -- Fixed a validation problem in one of the examples. Thanks, o.ekanem@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 06:13:15 +00:00
Russell Keith-Magee 04c77db2c3 Rolled out [5923]-[5925] due to breaking call_command().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:58:59 +00:00
Malcolm Tredinnick 3b9b87792a Fixed #5187 -- Minor doc tweaks. Thanks, Daniel Hahler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:43:38 +00:00
Russell Keith-Magee d743ccbc4b Added some initial documentation on adding customized commands to django-admin.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:10:31 +00:00
Russell Keith-Magee 8dff1cd91d Fixed #5189 -- Added logout method to test Client. Thanks, Jakub Wisniowski <restless.being@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-17 14:20:25 +00:00
Adrian Holovaty 9c55bbdef7 Added 'django-admin.py testserver' command and docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 23:05:00 +00:00
Adrian Holovaty 49c438fd21 Changed django.test.utils.create_test_db to return the name of the test database that was created
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 22:46:00 +00:00
Adrian Holovaty dc44e50e5d Fixed #5181 -- Fixed typo in example in docs/testing.txt. Thanks, hayley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 15:12:37 +00:00
Luke Plant c568792e81 Added a reference for the claim in CSRF docs that GET requests
should be side-effect free.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 14:09:41 +00:00
Malcolm Tredinnick 7f06e44f99 Typo fix from [5896].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:29:15 +00:00
Malcolm Tredinnick 3835d8afec Fixed #4296 -- Added more explanation around the PythonPath directory setting. Based on contributions from a cast of thousands (Simon Greenhill, Paul Bissex, Graham Dumpleton, ...). Thanks, all.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:25:21 +00:00
Adrian Holovaty 4f62b0a193 Fixed some ReST errors in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:30:23 +00:00
Adrian Holovaty 3bfda4fa62 Removed stray tabs mistakenly added to docs/testing.txt in [5889]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:28:29 +00:00
Adrian Holovaty 1ba9012d87 *Finally* edited docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:24:18 +00:00
Russell Keith-Magee 543ab12c11 Fixed #5158 -- Minor typo in newforms docs. Thanks, hayley <djangocode@vortex.cx>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 00:19:53 +00:00
Adrian Holovaty 6aae9b2aa4 Changed django.contrib.auth.views.login to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use this view. See also [5654]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14 22:08:11 +00:00
Malcolm Tredinnick 56e28b4e8f Fixed #5085 -- In generic views, set the default name for the slug field to 'slug'. Thanks, Trevor Caira.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 12:59:41 +00:00
Malcolm Tredinnick c050b6a25a Fixed #4946 -- Added some small improvements to Gzip middleware. Thanks, colin@owlfish.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 12:29:25 +00:00
Malcolm Tredinnick 9aa81c5401 Fixed #4942 -- Added an explanation that we see tickets as they are filed, automatically. Based on a suggestion from Nicola Larosa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:47:10 +00:00
Malcolm Tredinnick 84bc65e137 Fixed #4941 -- Changed imports for interactive portion of the example to be consistent with the source code file, at the expense of slightly more typing required. This might help reduce some confusion. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:37:56 +00:00
Malcolm Tredinnick a564adb8e1 Fixed #4914 -- Documented the Session.modified attribute for forcing session saves. Thanks, Thomas Güttler and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:24:21 +00:00
Russell Keith-Magee 3d012a18ce Added documentation for widgets in newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 06:25:05 +00:00
Adrian Holovaty dd0f5d9284 Fixed #4818 -- Improved 'Step 2' example in docs/databrowse.txt. Thanks, kevin@berndtgroup.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:59:09 +00:00
Adrian Holovaty d1bef59905 Fixed #5110 -- Made a small clarification in docs/model-api.txt. Thanks, Jarek Zgoda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:01:37 +00:00
Malcolm Tredinnick 20e3ae5222 Fixed #4987 -- Added documentation for newforms.DecimalField. Based on a patch from james_027@yahoo.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 12:10:23 +00:00
Malcolm Tredinnick 1d4a0054e3 Fixed #4762 -- Corrected an example. Thanks, Collin Grady and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:06:14 +00:00
Malcolm Tredinnick aca2761faf Fixed #4611 -- Removed "new in development version" annotation for the permission_required decorator. It was in 0.96. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:05:59 +00:00
Malcolm Tredinnick 9864c9d8bf Added "new in development version" annotation to HttpRequest.encoding documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:52 +00:00
Malcolm Tredinnick df1f76ac02 Documented the encoding attribute on the HttpRequest class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:38 +00:00
Malcolm Tredinnick 0afbca9c60 Fixed #3526 -- Added content_type as an alias for mimetype to the HttpResponse constructor. It's a slightly more accurate name. Based on a patch from Simon Willison. Fully backwards compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:37:42 +00:00
Adrian Holovaty f1edb8c2b3 Fixed #5097 -- Made various updates and corrections to the documentation. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:33:11 +00:00
Adrian Holovaty 404bf3b188 Fixed #5105 -- Fixed two ReST errors in docs/newforms.txt. Thanks, Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:18:36 +00:00
Russell Keith-Magee 16cf24393f Added note that FileField and ImageField are only in development version. There are also some minor backwards compatibility issues with the changes introduced in [5819] - see the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 14:17:10 +00:00
Russell Keith-Magee fbd1a6277e Fixed #3297 -- Implemented FileField and ImageField for newforms. Thanks to the many users that contributed to and tested this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 13:58:56 +00:00
Adrian Holovaty e471f42ba1 Fixed #4980 -- Removed 'forms' from the 'not considered stable and will be rewritten' section of docs/api_stability.txt. They've already been rewritten.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:37:17 +00:00
Adrian Holovaty 3e2fa60df2 Fixed #4985 -- Clarified location of HttpResponse in docs/request_response.txt. Thanks for raising the issue, rainer.mansfeld@romulo.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:34:45 +00:00
Adrian Holovaty d4623df463 Added note to docs/model-api.txt about help_text not being escaped in the admin interface
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:33:18 +00:00
Adrian Holovaty b304ebb906 Added a closing </p>' to a code example in docs/email.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:27:58 +00:00
Adrian Holovaty 9a090b2c1f Fixed #5053 -- Added 'action' attribute to <form> tags that didn't have that attribute in docs/newforms.txt examples. Perfectionism appreciated, trickyb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:16:35 +00:00
Adrian Holovaty 89977a6e16 Fixed #5064 -- Fixed potentially confusing sentence in docs/authentication.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:13:06 +00:00
Adrian Holovaty 89d4a56594 Edited docs/newforms.txt changes from [5804]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 04:52:14 +00:00
Adrian Holovaty 1474a5fd2c Fixed #5074 -- Added link to audio clip of 'Django' pronunciation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 04:36:43 +00:00
Russell Keith-Magee f96e933534 Fixed #4001 -- Added dynamic save_m2m method() to forms created with form_for_model and form_for_instance on save(commit=False).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 07:39:36 +00:00
Gary Wilson Jr 212ee65be7 Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 05:14:46 +00:00
Gary Wilson Jr 973f44aa4c Changed some more links to be relative in the documentation. I had a couple unsaved files that didn't get in with [5798].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:42:26 +00:00
Gary Wilson Jr eba5703fee Refs #5089 -- Added file name to poll detail template examples in the tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:39:52 +00:00
Gary Wilson Jr d018b92bbe Fixed #5083 -- Fixed typo in newforms documentation, thanks Rik.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 14:52:13 +00:00
Gary Wilson Jr ac027df253 Changed several documentation links to be relative.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:39:24 +00:00
Gary Wilson Jr 8a4a3f7707 Changed the 0.95 release notes to point to the 0.95 documentation index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:36:58 +00:00
Gary Wilson Jr b54de86010 Fixed #5078 -- Fixed several broken links to the syndication documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:19:14 +00:00
Gary Wilson Jr 9a54c8f2d4 Fixed #5037 -- Fixed use of wrong field type in a db-api docs example, thanks ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-01 05:52:18 +00:00
Adrian Holovaty d76e532077 Added 'New in Django development version' to changes in docs/authentication.txt from [5771]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-29 18:21:16 +00:00
Simon Willison fd2b99b5f1 After discussing with Malcolm, added set_unusable_password() and has_usable_password() methods to the User object, plus tests and updated documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 18:30:40 +00:00
Russell Keith-Magee 5b898f3f94 Fixed #4995 -- Fixed some problems in documentation ReST formatting. Thanks, Simon G.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 07:27:53 +00:00
Russell Keith-Magee 650cea9170 Fixed #4460 -- Added the ability to be more specific in the test cases that are executed. This is a backwards incompatible change for any user with a custom test runner. See the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 04:02:52 +00:00
Adrian Holovaty 812583ce3b Added section to docs/contributing.txt about docstring coding style
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-26 17:16:34 +00:00
Adrian Holovaty 6b7c33286a Added 'New in Django development version' to docs/db-api.txt change from [5746]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-25 03:15:05 +00:00
Russell Keith-Magee 3b78695a64 Added documentation for a test runner argument that has always been present, but was undocumented.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-23 13:52:59 +00:00
Russell Keith-Magee 1b7fe09660 Fixed #3771 -- Modified the test runner to observe the --noinput argument controlling script interactivity. This means that test scripts can now be put in a buildbot environment. This is a backwards incompatible change for anyone that has written a custom test runner. Thanks for the suggestion, moof@metamoof.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-23 12:14:32 +00:00
Gary Wilson Jr cae92ae615 Fixed #4373 -- Modified the get_object_or_404/get_list_or_404 shortcuts to also accept `QuerySet`s. Thanks SuperJared.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-22 03:41:11 +00:00
Adrian Holovaty 910bbe8f1f Added some additional docs to docs/model-api.txt db_type() section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 21:24:30 +00:00
Russell Keith-Magee 56394220d5 Fixed #4901 -- Modified assertContains to provide a default check of 'any instances of text in content'. Thanks for the suggestion, nis@superlativ.dk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 14:32:20 +00:00
Russell Keith-Magee bdc5a3eb51 Refs #3782 -- Added documentation note that suite() handling is only in development version.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 14:07:54 +00:00
Russell Keith-Magee 9922a04bb6 Fixed #3782 -- Added support for the suite() method recommended by the Python unittest docs. Thanks for the suggestion, rene.puls@repro-mayr.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 13:57:49 +00:00
Adrian Holovaty ac2b9f2a3f Added a db_type() method to the database Field class. This is a hook for calculating the database column type for a given Field. Also converted all management.py CREATE TABLE statements to use db_type(), which made that code cleaner. The Field.get_internal_type() hook still exists, but we should consider removing it at some point, because db_type() is more general. Also added docs -- the beginnings of docs on how to create custom database Field classes. This is backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 06:28:56 +00:00
Gary Wilson Jr 62f207caef Fixed #4851 -- Fixed description of an example query in `db-api` docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 22:29:09 +00:00
Adrian Holovaty 0d9f21bb75 Improved docs/templates.txt section on the 'regroup' tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 21:16:32 +00:00
Adrian Holovaty 2a500b3551 Edited docs/db-api.txt changes from [5700]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 19:34:21 +00:00
Gary Wilson Jr 208352e5d7 Fixed #4877 -- Fixed typo in testing documentation, patch from John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 05:11:06 +00:00
Russell Keith-Magee eff675b91e Clarified the documentation on the steps that happen during a save, and how raw save affects those steps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 04:41:59 +00:00
Adrian Holovaty 0f869d1124 Edited docs/db-api.txt changes from [5658]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 16:58:54 +00:00
Malcolm Tredinnick d48a39650f Fixed #4869 -- Added a note that syncdb does not alter existing tables. Thanks,
James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 05:27:22 +00:00
Adrian Holovaty 9fa91e0ab3 Documented the 'commit' argument to save() methods on forms created via form_for_model() or form_for_instance()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 21:20:07 +00:00
Russell Keith-Magee b9232cd955 Fixed #4538 -- Split the installation instructions to differentiate between installing a distribution package and installing an official release. Thanks to Carl Karsten for the idea, and Paul Bissex for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:41:32 +00:00
Russell Keith-Magee 3990efff69 Fixed #4525 -- Fixed mistaken documentation on arguments to runfcgi. Thanks, Johan Bergstrom <bugs@bergstroem.nu>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:21:51 +00:00
Russell Keith-Magee 0f10867519 Fixed #4522 -- Clarified the allowed filter arguments on the time and date filters. Thanks for the suggestion, admackin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:11:41 +00:00
Russell Keith-Magee 53a06763c5 Fixed #4502 -- Clarified reference to view in tutorial. Thanks for the suggestion, Carl Karsten <carl@personnelware.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:05:16 +00:00
Russell Keith-Magee 1345f3c521 Fixed #4764 -- Added reference to Locale middleware in middleware docs. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:41:27 +00:00
Russell Keith-Magee 7f5797e640 Fixed #4722 -- Clarified discussion about PYTHONPATH in modpython docs. Thanks for the suggestion, Collin Grady <cgrady@the-magi.us>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:32:00 +00:00
Russell Keith-Magee ab368c9c75 Fixed #4640 -- Fixed import to stringfilter in docs. Proposed solution to move stringfilter into django.template.__init__ introduces a circular import problem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:23:11 +00:00
Russell Keith-Magee 6cf7a4ac65 Fixed #4627 -- Added details on MacPorts packaging of Django. Thanks, Paul Bissex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:55:28 +00:00
Russell Keith-Magee 7df9e7da5b Fixed #4763 -- Minor typo in cache documentations. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:50:02 +00:00
Russell Keith-Magee 119c6005a6 Fixed #4745 -- Updated docs to point out that 0 is not a valid SITE_ID when running the tests. Thanks for the suggestion, Lars Stavholm <stava@telcotec.se>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:48:27 +00:00
Russell Keith-Magee 1655103666 Fixed #4837 -- Updated Debian packaging details. Thanks for the suggestion, Yasushi Masuda <whosaysni@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:33:24 +00:00
Russell Keith-Magee 2d6d20def7 Fixed #4459 -- Added 'raw' argument to save method, to override any pre-save processing, and modified serializers to use a raw-save. This enables serialization of DateFields with auto_now/auto_now_add. Also modified serializers to invoke save() directly on the model baseclass, to avoid any (potentially order-dependent, data modifying) behavior in a custom save() method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 07:45:35 +00:00
Adrian Holovaty 090aa5210e Improved syndication feed framework to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use the syndication feed framework. This is backwards incompatible if anybody has subclassed Feed and overridden __init__(), because the second parameter is now expected to be an HttpRequest object instead of request.path
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:29:32 +00:00
Adrian Holovaty dcd5750d7a Added RequestSite class to sites framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:28:04 +00:00
Adrian Holovaty 8c4cc32352 Edited changes to docs/tutorial04.txt from [5649]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:44:45 +00:00
Adrian Holovaty 0c5d001531 Added 'New in Django development version' note to docs/syndication_feeds.txt changes from [5643]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:43:29 +00:00
Jacob Kaplan-Moss 74fe707e04 Fixed #4615: corrected reverse URL resolution examples in tutorial 4. Thanks for the patch, simeonf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 00:33:44 +00:00
Malcolm Tredinnick 86640f33c1 Fixed #3760 -- Added the ability to manually set feed- and item-level id
elements in Atom feeds. This is fully backwards compatible. Based on a patch
from spark343@cs.ubc.ca.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:33:55 +00:00
Gary Wilson Jr 541c9ff797 Fixed #4814 -- Fixed some whitespace issues in tutorial01, thanks John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:45:11 +00:00
Gary Wilson Jr 0be6d32c24 Fixed #4817 -- Removed leading forward slashes from some urlconf examples in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:34:42 +00:00
Malcolm Tredinnick 79e914e496 Added CACHE_MIDDLEWARE_SECONDS to global settings and documentation (it's
used by the cache middleware). Refs #1015.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 11:08:40 +00:00
Malcolm Tredinnick 7c35eee103 Form encoding should be changed only via HttpRequest, not on GET and POST
directly. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 01:25:05 +00:00
Malcolm Tredinnick e7427cb22f Fixed some ReST errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:48:12 +00:00
Malcolm Tredinnick 953badbea5 Merged Unicode branch into trunk (r4952:5608). This should be fully
backwards compatible for all practical purposes.

Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Adrian Holovaty 4c958b15b2 Converted some tabs to four spaces in two docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:26:34 +00:00
Adrian Holovaty 3d6785fb8e Fixed tabs -> spaces in [5598]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:21:33 +00:00
Adrian Holovaty 107dd89385 Fixed an error in a RequestContext example in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:20:56 +00:00
Adrian Holovaty 510e545776 Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 01:00:23 +00:00
Adrian Holovaty 3336bd5c3d Made docs/contributing.txt docs style guidelines notes more consistent. The section after the dash is always a full sentence
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:29:42 +00:00
Adrian Holovaty b60442f32a Added 'subclass' to docs/contributing.txt docs style guidelines
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:28:13 +00:00
Adrian Holovaty cf4e74a56d Lowercased 'Realize' in docs/contributing.txt to fix potential ambiguity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:26:42 +00:00
Adrian Holovaty 64f20046f1 Edited docs/db-api.txt changes from [5555]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:25:10 +00:00
Adrian Holovaty 6e1385b862 Added database name style to docs/contributing.txt documentation style section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:24:56 +00:00
Adrian Holovaty 353110075b Added 'Documentation style' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:44 +00:00
Adrian Holovaty 23a50aa491 Edited docs/email.txt changes from [5550]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:25 +00:00
Adrian Holovaty b67a2feebf Edited docs/email.txt changes from [5548]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:06:47 +00:00
Adrian Holovaty 918738919e Edited docs/email.txt changes from [5547]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:03:41 +00:00
Adrian Holovaty 8cea4c7c5e Fixed some awkward wordings from docs/model-api.txt from [5519] and added 'new in Django development version' notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 20:58:36 +00:00
Jacob Kaplan-Moss a9807db552 Fixed #4712: added mention of Oracle in docs from [5555]. Thanks, Tom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 19:16:05 +00:00
Jacob Kaplan-Moss 24512a74be Fixed #1465: added support for regex lookups. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 18:58:10 +00:00
Malcolm Tredinnick 26659f2782 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:44:29 +00:00
Malcolm Tredinnick d605611bc5 Removed some duplication. I suck at documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:43:28 +00:00
Malcolm Tredinnick 987f8aa257 Fixed #3985 -- Added support for custom email headers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:41:37 +00:00
Malcolm Tredinnick bcb088b558 Trivial edit to docs from [5548].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:19:21 +00:00
Malcolm Tredinnick 719a90391d Added support for creating multipart/alternative email messages. Also allow
tweaking of main body MIME subtype for brave people. Fixed #3605.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:18:05 +00:00
Malcolm Tredinnick 2d082a34dc Fixed #1541 -- Added ability to create multipart email messages. Thanks, Nick
Lane.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 09:44:55 +00:00
Malcolm Tredinnick 621db31c3a Fixed #4684 -- Added an Oracle reference to the supported database servers.
Thanks, nick@efford.org.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-26 12:53:33 +00:00
Malcolm Tredinnick 85f6f15263 Fixed #4668, #4669, #4670, #4671 -- Fixed a group of ReST markup errors. Thanks, Richard House.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-25 16:11:32 +00:00
Malcolm Tredinnick ac64e91a0c Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. All
expected tests pass for all databases.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 14:16:00 +00:00
Malcolm Tredinnick 284c6ba44b Fixed #4657 -- Fixed an error in an edge case of the urlizetrunc filter.
Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 03:10:32 +00:00
Malcolm Tredinnick 880e3cfaa6 Backed out the changes in [5482] for a bit whilst some more investigation into
side-effects is done. Refs #4565.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-22 07:15:04 +00:00
Adrian Holovaty dbebf54d6c Fixed #4648 -- Fixed awkward wording in docs/newforms.txt. Thanks, jim-django@dsdd.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-21 16:05:23 +00:00
Adrian Holovaty 042d7e44fa Fixed #4637 -- Fixed broken link in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:39:24 +00:00
Adrian Holovaty 7c3fa24fad Fixed #4638 -- Fixed typo in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:38:19 +00:00
Adrian Holovaty 024c3daa11 Fixed #4537 -- Added note to docs/install.txt about get_python_lib() shortcut. Thanks, Carl Karsten
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:23:15 +00:00
Adrian Holovaty c6cac4a78e Fixed #4586 -- Fixed typo in docs/tutorial01.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:07:06 +00:00
Adrian Holovaty a65c458b99 Fixed #4610 -- Made docs/install.txt a bit clearer about skipping the Apache installation. Thanks, James
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:03:51 +00:00
Luke Plant b6b1ab22b5 Updated documentation for User.objects.make_random_password, fixing
punctuation at the same time.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-18 10:02:58 +00:00
Malcolm Tredinnick bccb8897e6 Fixed #4565 -- Changed template rendering to use iterators, rather than
creating large strings, as much as possible. This is all backwards compatible.
Thanks, Brian Harring.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 07:11:37 +00:00
Malcolm Tredinnick 88632cd7f9 Fixed #4547 -- Included a fix missed in [5468].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 00:07:03 +00:00
Malcolm Tredinnick 1e57d6ccf0 Fixed #4547 -- Trivial typo fixing time. Thanks, Grant Kelly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-13 02:22:26 +00:00
Malcolm Tredinnick 9bc8941f67 Fixed #4532 -- Trivial typo fix. Noticed by philliptemple@yahoo.co.uk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-12 00:31:55 +00:00
Malcolm Tredinnick 5c346840bb Fixed #4473 -- Added documentation of the three cleaning methods invoked on
form data. Based on a patch from Joe Heck.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:49:25 +00:00
Malcolm Tredinnick 04f5bd4378 Fixed #4406 -- Documented the maxlength parameter (added in [4295]) for the
URLField.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:19:43 +00:00
Malcolm Tredinnick 484527f780 Fixed #3807 -- Some small fixes to a couple of examples. Thanks,
jon.i.austin@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:14:05 +00:00
Malcolm Tredinnick b91226027e Added a man page for django-admin.py. Also install it correctly as part of the
auto-generated rpm. Thanks to Marc Fargas and Paul Bissex for writing the man
page. Refs #3341.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@5457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 06:33:31 +00:00
Malcolm Tredinnick 1b02534ac3 Fixed #4488 -- Fixed a typo pointed out by luca.ferroni@labs.it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 02:13:58 +00:00
Russell Keith-Magee 16269c4d0a Fixed #3523 -- Added list unpacking to for loops in templates. Thanks to SmileyChris and Honza Kral for their work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-08 11:58:03 +00:00
Adrian Holovaty 83fe33e277 Made some changes to docs/newforms.txt that I'd had lying around
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 22:28:06 +00:00
Adrian Holovaty 8494ffc730 Fixed misspelling in docs/add_ons.txt from [5432]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 21:41:41 +00:00
Adrian Holovaty ceba11abf5 Fixed typo in docs/db-api.txt from [5431]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 21:40:56 +00:00
Jacob Kaplan-Moss 21acccbca2 Fixed #4214: added a bit of explicit info on updating FK fields to db-api.txt. Thanks, david@kazserve.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:24:27 +00:00
Jacob Kaplan-Moss f6491bf984 Fixed #4000 - changed documentation to note that filter arguments no longer need to be quoted (and added a test to that effect). Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:18:44 +00:00
Jacob Kaplan-Moss 908b72f76d Fixed #3880: added a link to the transaction docs from the model API. Thanks, ken37@tds.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:12:12 +00:00
Jacob Kaplan-Moss 6434de96b7 Fixed #3842 - clarified PythonPath directive in modpython.txt. Thanks, jon.i.austin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:03:21 +00:00
Jacob Kaplan-Moss 43a06c9a9a Fixed #3833 - added "PT" flag to mod_rewrite/fcgi example in documentation. Thanks, Nesh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 18:01:17 +00:00
Jacob Kaplan-Moss e9a3e2faf0 Fixed #1791 - documented dependancies of contrib packages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 17:50:53 +00:00
Jacob Kaplan-Moss 7747c42503 Fixed #4496 - fixed section header in db-api doc. Thanks, hattawayd@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 17:46:55 +00:00
Malcolm Tredinnick 5ec6ffd6ce Fixed #4455 -- Small typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-02 08:00:11 +00:00
Adrian Holovaty 4d9ab5435c Small grammar fixes to docs/serialization.txt changes from [5409]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 17:09:54 +00:00
Adrian Holovaty 80dfe69ddf Small rewording of docs/testing.txt changes from [5380]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 17:06:06 +00:00