1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

11973 Commits

Author SHA1 Message Date
Tim Graham
baf1f1dcde [1.4.X] Fixed #9471 - Expanded ModelAdmin.raw_id_fields docs; thanks adroffne for the suggestion.
Backport of da958eb209 from master
2012-10-24 17:50:37 -04:00
Carl Meyer
ce168bb899 [1.4.x] Fix an HTML-parser test that's failed in Python 2.6.8 since 5c79dd58.
The problem description in #18239 asserted that
http://bugs.python.org/issue670664 was fixed in Python 2.6.8, but based on
http://bugs.python.org/issue670664#msg146770 it appears that's not correct; the
fix was only applied in 2.7, 3.2, and Python trunk. Therefore we must use our
patched HTMLParser subclass in all Python 2.6 versions.

Backport of fcec904e4f from master. Fixes #19148.
2012-10-23 18:57:59 +02:00
Preston Holmes
e86e4ce0bd Added 1.4.2 release notes 2012-10-21 07:50:30 -07:00
Tim Graham
6c1c490f64 [1.4.X] Fixed #13869 - Warned that QuerySet.iterator() doesn't affect DB driver caching; thanks jtiai for the suggestion.
Backport of 2f722d9728 from master
2012-10-20 15:23:06 -04:00
Tim Graham
13bbe9161d [1.4.x] Fixed arguments for get_inline_instances; refs #17006. 2012-10-20 09:57:51 -04:00
Tim Graham
e7685b87c1 [1.4.X] Fixed #17006 - Documented ModelAdmin get_form() and get_formsets()
Backport of eed4faf16f from master
2012-10-20 08:42:24 -04:00
Tim Graham
700717db1f [1.4.X] Fixed #17388 - Noted in the custom model field docs that field methods need to handle None if the field may be null.
Backport of 4cef9a09f9 from master
2012-10-19 17:54:38 -04:00
Tim Graham
fd90a90633 [1.4.X] Fixed #18046 - Documented that an index is created by default for ForeignKeys; thanks jbauer for the suggestion.
Backport of db598dd8a0 from master
2012-10-18 16:59:23 -04:00
Preston Holmes
773a29295a Added missed poisoned host header test changes 2012-10-18 11:18:25 -07:00
James Bennett
8c46ead92b [1.4.x] Bump ALL the version numbers. 1.4.2 2012-10-17 17:17:37 -05:00
James Bennett
0f54fed0b6 [1.4.x] Bump version numbers for security release. 2012-10-17 17:15:49 -05:00
Preston Holmes
58806ce153 Fixed an error in the set cookie documentation 2012-10-17 14:57:58 -07:00
Preston Holmes
92d3430f12 Fixed a security issue related to password resets
Full disclosure and new release are forthcoming

backport from master
2012-10-17 14:40:41 -07:00
Tim Graham
73991b0b32 [1.4.X] Fixed #18473 - Fixed a suggestion that GZipMiddleware needs to be first in the list of middleware.
Backport of 3e0857041b from master
2012-10-17 15:48:47 -04:00
Tim Graham
33d11463a0 [1.4.x] Fixed a couple links that didn't backport cleanly 2012-10-16 20:53:53 -04:00
Tim Graham
6ebb6f9188 [1.4.X] Fixed #18548 - Clarified note regarding reusing model instances when form validation fails.
Backport of fd02bcff4a from master
2012-10-16 20:47:07 -04:00
Tim Graham
81020708ea [1.4.X] Fixed #10936 - Tempered recommendation of SQLite - thanks Karen Tracey for the feedback.
Backport of 9190d89829 from master
2012-10-15 19:56:40 -04:00
Julien Phalip
cc0478606a [1.4.x] Fixed #18881 -- Made the context option in {% trans %} and {% blocktrans %} accept literals wrapped in single quotes. Thanks to lanyjie for the report. 2012-10-13 10:51:53 -07:00
Claude Paroz
4cdc416d03 [1.4.x] Fixed #19119 -- Corrected default date input formats in docs
Thanks henrik@aisti.fi for the report.
Backport of 10dc4797ea from master.
2012-10-13 11:05:22 +02:00
Tim Graham
d2891d1c07 [1.4.x] Fixed #18996 - Clarified overriden model methods not called on bulk operations
Backport of 443999a1eeea70e4deebcf31f8f845696be62c3d from master.
2012-10-12 19:46:47 -04:00
Tim Graham
e2dea54efe [1.4.X] Fixed #18256 - Added a potential pitfall when upgrading to MySQL 5.5.5
Backport of c870cb48cd from master
2012-10-12 19:17:50 -04:00
Tim Graham
8139a7990a [1.4.X] Fixed #10936 - Noted that using SQLite for development is a good idea
Backport of 470deb5cbb from master
2012-10-11 20:02:40 -04:00
Tim Graham
a1d21c0877 [1.4.X] Fixed #16588 - Warned about field names that conflict with the model API
Backport of dd0cbc6bdc from master
2012-10-11 18:05:49 -04:00
Tim Graham
cf17d5e267 [1.4.X] Fixed #14165 - Documented that TransactionMiddleware only applies to the default database.
Backport of 938ee7cd36 from master
2012-10-11 17:49:40 -04:00
Tim Graham
3ac70a5907 [1.4.X] Fixed #16817 - Added a guide of code coverage to contributing docs.
Thanks Pedro Lima for the draft patch.

Backport of 06f5da3d78 from master
2012-10-11 06:14:24 -04:00
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 7ef2781ca0ce48872e21dce2f322c9e4106d1cfd 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 50d573d2c0b3e17cbf1aa240b03b52e4ad0c32cd
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 93e6733e4cbbdad34f1f0f59303ae01f577e4e58 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 22242c510f84c53803afe2907649c892cb1b3d9a 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 a73838fde33374573b8e765dfcb0225287d396c0 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 29132ebdef0e0b9c09e456b05f0e6a22f1106a4f from master (with
documentation changes removed).
2012-09-02 19:17:15 +03:00