Commit Graph

11998 Commits

Author SHA1 Message Date
Tim Graham 1be0515fe9 [1.4.x] Fixed #4501 - Documented how to use coverage.py with Django tests.
Thanks krzysiumed for the draft patch.

Backport of 7ef2781ca0 from master.
2012-10-10 20:06:52 -04:00
Tim Graham c06b724a00 [1.4.X] Fixed #17435 - Clarified that QuerySet.update returns the number of rows matched
Backport of 6d46c740d8 from master
2012-10-06 07:07:29 -04:00
Claude Paroz 0636c9583f Fixed #19072 -- Corrected an external file path in GeoIP docs
Thanks Flavio Curella for the report and the initial patch.
2012-10-05 23:18:17 +02:00
Tim Graham a35d7fd1e1 [1.4.X] Fixed #19051 - Fixed Selenium tearDownClass method; thanks glarrain for the report.
Backport of a1a5c0854f from master
2012-10-04 07:46:53 -04:00
Tim Graham 8868a067e0 [1.4.X] Fixed #19006 - Quoted filenames in Content-Disposition header.
Backport of 234ca6c61d from master
2012-10-03 17:47:48 -04:00
Tim Graham b1462e0a36 [1.4.X] Fixed #18413 - Noted that a model's files are not deleted when the model is deleted. Thanks lawgon for the report.
Backport of 1c03b23567 from master
2012-10-03 17:44:14 -04:00
Tim Graham cf482d6e2a [1.4.X] Fixed #15338 - Documented django.utils.decorators
Backport of d0345b7114 from master
2012-09-30 13:42:38 -04:00
Anssi Kääriäinen 4dba4ed548 [1.4.x] -- Fixed Python 2.5 compatibility issues 2012-09-30 16:36:01 +03:00
Anssi Kääriäinen 1f537335d9 [1.4.x] Fixed #18979 -- Avoid endless loop caused by "val in PermLookupDict"
Fixed by defining __iter__ which raises TypeError. This was done to
PermWrapper earlier.

Backport of 50d573d2c0
2012-09-27 15:54:48 +03:00
Tim Graham bd514f28e4 [1.4.X] Fixed #18057 - Documented that caches are not cleared after each test; thanks guettli for the suggestion.
Backport of 2aaa467a2a from master
2012-09-22 07:09:49 -04:00
Tim Graham 1189dca471 [1.4.X] Fixed #15325 - Added a link to RelatedManager in the ManytoManyField docs; thanks jammon for the suggestion.
Backport of 0fdfcee257 from master
2012-09-19 18:01:37 -04:00
Tim Graham 57cdbf3bf8 [1.4.X] Fixed #14829 - Added references to CBVs in the URLConf docs; thanks Andrew Willey for the suggestion.
Backport of acd74ffa35 from master
2012-09-19 18:01:24 -04:00
Tim Graham 3a64adef61 [1.4.X] Fixed #13586 - Added an example of how to connect a m2m_changed signal handler.
Backport of 1360bd4186 from master
2012-09-19 18:01:06 -04:00
Julien Phalip 336dfc3413 [1.4.X] Fixed #18530 -- Fixed a small regression in the admin filters where wrongly formatted dates passed as url parameters caused an unhandled ValidationError. Thanks to david for the report. 2012-09-15 16:33:56 -07:00
Tim Graham 421ce44e8b [1.4.x] Fixed #18131 - Documented ContentTypeManager.get_for_id; thanks sir_sigurd for the report.
Backport of 93e6733e4c from master.
2012-09-15 08:17:26 -04:00
Tim Graham 18d88a169f [1.4.x] Fixed #16929 - Documented how to extend UserAdmin with UserProfile fields; thanks charettes for the draft example.
Backport of 22242c510f from master.
2012-09-15 07:41:49 -04:00
Tim Graham 81c77d24ef [1.4.X] Added an example of using a form wizard with different templates; thanks Lorin Hochstein for the patch.
Backport of 553583958d from master
2012-09-15 07:18:28 -04:00
Tim Graham 1b5b8b874f [1.4.x] Fixed #11185 - Expanded docs on customizing widgets; thanks fadeev for the draft patch.
Backport of a73838fde3 from master.
2012-09-15 06:46:39 -04:00
Tim Graham 7c6630920e [1.4.x] Fixed some broken links in 1.4 docs 2012-09-08 15:21:13 -04:00
Tim Graham cd5181f84c [1.4.X] Fixed #18478 - Documented how to use a mutable default in a model field.
Backport of 6e2bb344e4 from master
2012-09-08 14:54:07 -04:00
Tim Graham b0e2cb8e47 [1.4.X] Fixed #15566 - Documented that update() doesn't honor DateField.auto_now
Thanks Shabda Raaj for the draft patch.

Backport of dc01e41d23 from master
2012-09-08 06:40:05 -04:00
Tim Graham 7e8483e70b [1.4.X] Fixed #18490 - Updated DateField input formats; thanks dloewenherz for the draft patch.
Backport of fa8fb2b383 from master
2012-09-07 19:50:55 -04:00
Aymeric Augustin 376a18993b [1.4.x] [py3] Added forwards-compatible aliases.
Related documentation will go to the master branch, since there's
no Python 3 documentation in the 1.5 branch.
2012-09-07 11:45:25 -04:00
Tim Graham 53f533f864 [1.4.X] Fixed #18904 - Typo in MySQL link; thanks Johie Anderson for the report.
Backport of e5983af7c1 from master
2012-09-05 17:52:01 -04:00
Anssi Kääriäinen 2326860851 [1.4.x] Fixed #17788 -- Added batch_size argument to qs.bulk_create()
The qs.bulk_create() method did not work with large batches together
with SQLite3. This commit adds a way to split the bulk into smaller
batches. The default batch size is unlimited except for SQLite3 where
the batch size is limited to 999 SQL parameters per batch.

Thanks to everybody who participated in the discussions at Trac.

Backpatch of 29132ebdef from master (with
documentation changes removed).
2012-09-02 19:17:15 +03:00
Tim Graham f0c469c7be [1.4.x] Merge pull request #315 from streeter/auth-docs-cleanup-patch
Clarify some of the password reset docs

Backport of 03ad7d3c20 from master.
2012-09-01 18:06:25 -04:00
Tim Graham c9f1a13f87 [1.4.X] Fixed #18840 - Added a mentioned of the upload_to parameter to the ModelForm example in file uploads.
Backport of c6088bc91d from master
2012-09-01 15:40:28 -04:00
Claude Paroz 92f7af3c36 [1.4.x] Fixed #18212 -- Standardized arguments of GenericIPAddressField
Unlike other model fields, the newly introduced (1.4)
GenericIPAddressField did not accept verbose_name and name as the
first positional arguments. This commit fixes it.
Thanks Dan McGee for the report and the patch.

Backport of 306d34873c from master.
2012-09-01 18:39:51 +02:00
Tim Graham c2f1aa5a3c [1.4.x] Fixed #13608 - Noted that template lookups use literal values.
Backport of 74c025d028 from master.
2012-09-01 09:27:29 -04:00
Tim Graham c088a42670 [1.4.X] Fixed #16936 - Updated javascript for CSRF protection.
Thanks Idan Gazit for the patch.

Backport of e376558ed2 from master
2012-09-01 06:03:56 -04:00
Tim Graham c274a9cbd0 [1.4.X] Fixed #18642 - Added a note suggesting the use of render() rather than render_to_response() if you need RequestContext in your template.
Backport of f99ecaff06 from master
2012-08-31 20:26:02 -04:00
Tim Graham 90fee02fee [1.4.X] Fixed #16309 - Made ModelAdmin.list_filter versionchanged annotations more specific to the sections that changed; thanks akaihola for the suggestion and patch.
Backport of 70896386ec from master
2012-08-31 18:01:54 -04:00
Claude Paroz f6159d426b [1.4.x] Added 1.4.1 and 1.3.2 release notes
Backport of 44f541ab47 from master.
2012-08-31 20:38:12 +02:00
Tim Graham df0c1055cd [1.4.X] Fixed #14556 - Documented how to use flatpages in URLconf; thanks Claude Paroz for the draft patch.
Backport of 7235cc7685 from master
2012-08-31 08:16:36 -04:00
Claude Paroz b8340d26e4 [1.4.x] Updated obsolete links in the documentation
Backport of 8a5d1a6b93 from master.
2012-08-30 07:47:56 -04:00
Tim Graham fa8a09fdc5 [1.4.X] Fixed #18647 - Removed link to Malcolm's blog which is gone.
Backport of 36df198e4b from master
2012-08-30 07:45:06 -04:00
Tim Graham f6351851b6 [1.4.X] Fixed #18871 - Fixed typo in multi-db docs.
Backport of 141e6cd2ac from master
2012-08-30 07:42:47 -04:00
Tim Graham 81bfe428e1 [1.4.X] Updated doc for settings.MEDIA_ROOT based on what's generated by settings.py; thanks ryan-blunden.
Backport of e6e01f619d from master
2012-08-25 08:27:48 -04:00
Tim Graham 4b8c6c4056 [1.4.x] Fixed #17069 -- Added log filter example to docs.
Backport of e06189f7ce from master.
2012-08-22 20:37:38 -04:00
Tim Graham 27c2ccc1ea [1.4.x] Fixed #18637 - Updated some documentation for aspects of models that are ModelForm specific, not admin specific.
Thanks Ben Sturmfels for the patch.

Backport of 13d47c3f33 from master.
2012-08-21 17:42:18 -04:00
Tim Graham 42aee6ffe5 [1.4.x] Fixed #14885 - Clarified that ModelForm cleaning may not fully complete if the form is invalid.
Thanks Ben Sturmfels for the patch.

Backport of 3fd89d9903 from master.
2012-08-21 17:36:41 -04:00
Tim Graham b05d2f51b8 [1.4.X] Fixed typo in form wizard docs.
Backport of 3631db88cb from master
2012-08-19 20:14:54 -04:00
Jeremy Cowgar eaa6e4e2d1 [1.4.X] Added load i18n code to the base wizard form template documentation as it uses the trans tag.
Backport of c23d306df8 from master
2012-08-19 19:07:48 -04:00
Tim Graham 232a308044 [1.4.X] Fixed #17180 - Emphasized the need to load the i18n template tag in each template that uses translations. Thanks stefan.freyr for the suggestion and buddylindsey for the draft patch.
Backport of 514a0013cd from master
2012-08-19 18:48:29 -04:00
Tim Saylor 03e79c3386 [1.4.X] Fixed a documentation typo on the widget page.
Backport of f8ef93a657 from master
2012-08-17 11:15:43 -04:00
Tim Graham e4b7e7d86d [1.4.X] Fixed #17183 - Added a note regarding LocaleMiddleware at the top of the i18n docs. Thanks krzysiumed for the patch.
Backport of b1f18e95a5 from master
2012-08-16 18:16:56 -04:00
Tim Graham 01b0231717 [1.4.X] Fixed #18223 - Corrected default transaction behavior in postgresql docs.
Thanks philipn for the report and mateusgondim for the patch.

Backport of 2079b730f1 from master
2012-08-16 18:15:52 -04:00
Raphaël Hertzog 57d9ccc4aa [1.4.x] Fixed #18239 -- Subclassed HTMLParser only for selected Python versions
Only Python versions affected by http://bugs.python.org/issue670664
should patch HTMLParser.
2012-08-16 21:12:30 +02:00
Tim Graham 3264894ee0 [1.4.X] Fixed #17680 - Clarified when logging is configured.
Backport of cb38fd9632 from master
2012-08-10 17:35:55 -04:00
Tim Graham fba0149e16 [1.4.X] Fixed #17016 - Added examples for file uploads in views.
Thanks Tim Saylor for the draft patch and Aymeric Augustin and Claude Paroz for feedback.

Backport of eff6ba2f64 from master
2012-08-10 17:32:34 -04:00