1
0
mirror of https://github.com/django/django.git synced 2025-03-14 19:30:46 +00:00

916 Commits

Author SHA1 Message Date
Erik Romijn
aa80f498de [1.4.x] Fixed queries that may return unexpected results on MySQL due to typecasting.
This is a security fix. Disclosure will follow shortly.

Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
2014-04-21 18:31:44 -04:00
Ben Spaulding
474e7dd6d0 [1.4.x] Fixed #21594 -- Added note about model formsets deleting objects.
This behavior has been fixed in 65e03a424e. refs #10284.

Backport of de1d5d5df5 from stable/1.6.x.
2013-12-11 14:49:22 -05:00
Tim Graham
cca302cde6 [1.4.x] Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.
Thanks EvilDMP for the report and Russell Keith-Magee
for the draft text.

Backport of da843e7dba from master
2013-09-11 08:18:56 -04:00
Tim Graham
288d70fccc [1.4.x] Fixed #20730 -- Fixed "Programmatically creating permissions" error.
Thanks glarrain for the report.

Backport of 684a606a4e from master
2013-07-11 11:10:26 -04:00
Tim Graham
227d7f63e4 [1.4.x] Fixed #20523 - Incorrect form field for FilePathField.
Thanks sane4ka.sh@ for the report.

Backport of 1fdc3d256d from master
2013-05-28 12:00:04 -04:00
Nimesh Ghelani
d2b8834839 [1.4.x] Fixed #20150 -- Fixed an error in manager doc example
Backport of 485c024567 from master
2013-03-29 15:55:52 -04:00
Donald Stufft
843034a8d6 Document password truncation with BCryptPasswordHasher 2013-03-26 13:28:55 -04:00
Claude Paroz
577a27a9fc [1.4.x] Fixed #19926 -- Fixed a link to code example in queries docs
Thanks Randy Salvo for the report.
2013-03-02 20:13:47 +01:00
Aymeric Augustin
0cc350a896 [1.4.x] Added a default limit to the maximum number of forms in a formset.
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19 10:37:54 -07:00
Carl Meyer
9936fdb11d [1.4.x] Added ALLOWED_HOSTS setting for HTTP host header validation.
This is a security fix; disclosure and advisory coming shortly.
2013-02-19 10:37:54 -07:00
Alex Hunley
3d6388941d [1.4.x] Fixed #19719 - Removed misleading example from ModelForm documentation
Backport of 976dc07baf from master
2013-02-16 18:09:43 -05:00
Tim Graham
056b2b5f65 [1.4.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.
Backport of 43efefae69 from master
2013-02-07 07:04:52 -05:00
Tim Graham
c4a9e5bd8d [1.4.X] Fixed #19506 - Remove 'mysite' prefix in model example.
Thanks Mike O'Connor for the report.

Backport of 52a2588df6 from master
2012-12-21 15:53:44 -05:00
Florian Apolloner
319627c184 [1.4.X] Fixed a security issue in get_host.
Full disclosure and new release forthcoming.
2012-12-10 22:14:16 +01:00
Aymeric Augustin
f8c005b4ec Fixed #19225 -- Typo in shortcuts docs.
Thanks SunPowered for the report.
2012-11-02 09:30:42 +01:00
Preston Holmes
58806ce153 Fixed an error in the set cookie documentation 2012-10-17 14:57:58 -07: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
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
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
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
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
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
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
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
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
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
f0c469c7be [1.4.x] Merge pull request #315 from streeter/auth-docs-cleanup-patch
Clarify some of the password reset docs

Backport of 03ad7d3c2085fa252e7bf6a725fec1ed3d1e6a7c 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
Tim Graham
c2f1aa5a3c [1.4.x] Fixed #13608 - Noted that template lookups use literal values.
Backport of 74c025d0285450bf277afbee095172af54562ab6 from master.
2012-09-01 09:27:29 -04:00
Claude Paroz
b8340d26e4 [1.4.x] Updated obsolete links in the documentation
Backport of 8a5d1a6b93e05546c5fdbfc497d7fb3a3377cf85 from master.
2012-08-30 07:47:56 -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
4b8c6c4056 [1.4.x] Fixed #17069 -- Added log filter example to docs.
Backport of e06189f7ceb48013b37b902588bea6750c989b14 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 13d47c3f338e1e9a5da943b97b5334c0523d2e2c 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 3fd89d99036696ba08dd2dd7e20a5b375f85d23b from master.
2012-08-21 17:36:41 -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 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
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
Tim Graham
6536f7597b [1.4.X] Fixed #17053 - Added a note about USE_THOUSAND_SEPARATOR setting to localizations docs.
Thanks shelldweller for the draft patch.
Backport of 4f3a6b853a from master
2012-08-06 18:18:00 -04:00
Tim Graham
c54034a2ad [1.4.X] Fixed #16980 - Misc updates to the auth docs. Thanks Preston Holmes for the patch.
Backport of 865ff32b84 from master
2012-08-04 15:27:27 -04:00
Simon Meers
68fd7f56e1 [1.4.x] Fixed #18472 - Added warning regarding set_language / i18n_patterns.
Backport of d7816c563b58ed53d49956321d549a16e2b2ebc0 from master.
2012-08-02 21:16:30 +10:00
Tim Graham
a276bdebb2 [1.4.X] Fixed #16168 - Added note regarding type requirements when overridng ModelForm fields.
Thanks Pieter Swinkels for the patch.

Backport of ebbc414d17 from master
2012-08-01 08:02:01 -04:00
Tim Graham
751a34e4b3 [1.4.x] Fixed #18122 - Clarified section title regarding applying permissions to generic views.
Backport of 964979e8ecec3ceccb2119ccb7270111b953611e from master.
2012-08-01 07:57:10 -04:00
Tim Graham
fa6577f5b2 Fixed #17131 - Added per object permission notes to docs.
Thanks dchandek for the suggestion and mateusgondim for the patch.

Backport of 8d3e501502c308cbdd3cc95b62ace0fe11d373ab from master
2012-07-30 18:12:40 -04:00