Commit Graph

2028 Commits

Author SHA1 Message Date
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