Tim Graham
997648d80b
[1.7.x] Added stub release notes for 1.6.5.
...
Backport of 650065f0ef
from master
2014-04-28 20:38:29 -04:00
Tim Graham
a72069f5d2
[1.7.x] Added dates to release notes of today's release.
...
Backport of 68d264059a
from master
2014-04-28 19:07:03 -04:00
Tim Graham
1d20693fa6
[1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"
...
This reverts commit 4fdd51b732
.
See the ticket for concerns with this implementation; it will be revisited.
Backport of aabceadd7d
from master
2014-04-28 18:49:24 -04:00
Tim Graham
b89bbb3c21
[1.7.x] Improved formatting and links of migration docs.
...
Backport of ab8d8e00c9
from master
2014-04-27 15:06:08 -04:00
Tim Graham
529ae6087c
[1.7.x] Fixed #22526 -- Added note about check() method to 1.7 release notes.
...
Thanks kevin-brown for the report.
Backport of 8905fcbda6
from master
2014-04-27 14:20:51 -04:00
Aymeric Augustin
3bb0f118ca
[1.7.x] Fixed #3214 -- Stopped parsing SQL with regex.
...
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401 .
Backport of 8b5b199
from master
2014-04-26 17:46:57 +02:00
Claude Paroz
e441cebce3
[1.7.x] Updated doc links to point to Python 3 documentation
...
Backport of 680a0f08b
from master.
2014-04-26 16:03:40 +02:00
Aymeric Augustin
788fce4c91
[1.7.x] Fixed a confusing heading in applications docs.
...
Refs #22422 .
Backport of 0315f01
from master
2014-04-25 17:40:33 +02:00
Víðir Valberg Guðmundsson
bde1bc6672
[1.7.x] Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
...
Backport of deb561bbe2
from master
2014-04-25 10:12:55 -04:00
Tim Graham
6d87acc390
[1.7.x] Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.
...
Thanks ross at servercode.co.uk for the report.
Backport of 9e7f86b890
from master
2014-04-25 08:36:20 -04:00
Tim Graham
e192f13103
[1.7.x] Fixed #22486 -- Restored the ability to reverse views created using functools.partial.
...
Regression in 8b93b31487
.
Thanks rcoup for the report.
Backport of 3c06b2f2a3
from master
2014-04-23 08:49:53 -04:00
Marti Raudsepp
ba1728dd9b
[1.7.x] Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
Backport of 11d453bcad
from master
2014-04-22 20:10:58 -04:00
Tim Graham
55da4e818d
[1.7.x] Added 1.6.4 release note stub.
...
Backport of 9fb95dfc9f
from master
2014-04-22 11:47:52 -04:00
James Bennett
df81625da6
[1.7.x] Update for 1.7b2 security release.
2014-04-21 18:21:55 -05:00
Erik Romijn
5577fd673e
[1.7.x] Added information on resolved security issues to release notes.
...
Backport of c07f3e60c2
from master
2014-04-21 18:29:42 -04:00
Tim Graham
0086c9eb48
[1.7.x] Fixed #22417 -- Added additional documentation for refs #16969 .
...
Thanks Jon Foster for the report.
Backport of 1b3a3fc1e4
from master
2014-04-19 21:41:28 -04:00
Tim Graham
3a4a5a5c99
[1.7.x] Added some missing items to the 1.6.3 release notes.
...
Backport of c2b269df6e
from master
2014-04-18 10:32:49 -04:00
Tim Graham
22cbaea9c7
[1.7.x] Fixed #22444 -- Marked initial SQL/fixture loading as deprecated.
...
Thanks Karen Tracey for the report.
Backport of a4acb80463
from master
2014-04-17 20:37:25 -04:00
valtron
6b3a8d2705
[1.7.x] Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
...
Regression introduced by commit 9777442
. Refs #21410 .
Backport of d3b71b976d
from master
2014-04-13 00:51:38 +07:00
John Paulett
b4681be154
[1.7.x] Fixed #22364 -- Sanitized getpass input in changepassword.
...
Python 2 getpass on Windows does not accept unicode, even
when containing on ASCII characters. Related #190807 .
Backport of b5a9166f7e
from master
2014-04-10 13:16:04 -04:00
Shai Berger
941f947bfd
[1.7.x] Documentation fixes for the select_for_update change.
...
Refs #22343 ; thanks Tim Graham for the fixes.
Backport of 59b1d30
from master
2014-04-10 03:43:05 +03:00
Shai Berger
3a9a4570ef
[1.7.x] Fixed #22343 -- Disallowed select_for_update in autocommit mode
...
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.
Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.
Backport of b990df1d63 from master
2014-04-10 01:44:30 +03:00
Tim Graham
9063e6ed39
[1.7.x] Fixed casing of "GeoDjango".
2014-04-08 10:12:15 -04:00
Tim Graham
5891fd3f89
[1.7.x] Fixed #21649 -- Added optional invalidation of sessions when user password changes.
...
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.
Backport of fd23c06023
from master
2014-04-05 13:01:03 -04:00
Ramiro Morales
1a1b22679d
[1.7.x] Document removal of GeoDjangoTestSuiteRunner in 1.6 release notes.
...
e6ced2bb08
from master.
2014-04-02 17:16:33 -03:00
Claude Paroz
cfb7eca2a1
[1.7.x] Added 1.6.3 release note for refs #22256 .
2014-04-01 20:48:06 +02:00
Loic Bistuer
5268d71f18
[1.7.x] Fixed #21795 -- Made add_preserved_filters account for url prefixes.
...
Thanks to trac username honyczek for the report. Refs #6903 .
Backport of 4339e9a92d
from master
2014-03-31 07:20:20 -04:00
Tim Graham
25da849896
[1.7.x] Added 1.6.3 release note for refs #22250 .
...
Backport of d57ba04d89
from master
2014-03-31 07:12:12 -04:00
Tim Graham
c139e3e0a0
[1.7.x] Fixed #21858 -- Clarified 1.6 release note regarding M2M help text changes.
...
Thanks lee at semel.net for the report.
Backport of f30e6590f4
from master
2014-03-29 10:23:23 -04:00
Tim Graham
5f04240381
[1.7.x] Added Python 3.4 support notes.
...
Backport of 306deab2c7
from master
2014-03-27 08:12:58 -04:00
Simon Charette
78211b13a5
[1.7.x] Fixed #12030 -- Validate integer field range at the model level.
...
Thanks to @timgraham for the review.
Backport of 1506c71a95
from master
2014-03-25 14:31:54 -04:00
Tim Graham
68a80166cd
[1.7.x] Fixed #21665 -- Documented that changes in assertRedirects may be required given new URL escaping behavior.
...
Thank pdc for the report.
Backport of 62e81bc00b from master
2014-03-24 09:09:19 -04:00
Tim Graham
70b34f095c
[1.7.x] Updated six to 1.6.1.
...
Backport of 2ec82c7387
from master
2014-03-24 07:34:18 -04:00
Claude Paroz
4b72532048
[1.7.x] Added release note about strip_tags improvement
...
Backport of 1c8dbb0cc
from master.
2014-03-22 12:35:56 +01:00
Thomas Schreiber
79989263a2
[1.7.x] Fixed typos in docs (django.contrib.site)
...
Backport of 907ac64641
from master.
2014-03-21 20:02:03 +01:00
Dejan Noveski
b74ec85c1d
[1.7.x] Fixed #22255 -- Added support for specifying re flags in RegexValidator
...
Backport of 4d0c5f6142
from master.
2014-03-21 11:18:26 +01:00
Claude Paroz
5a976b4bec
Fixed #22245 -- Avoided widget overwrite in forms.IntegerField subclasses
...
Thanks Jeroen Pulles for the report and Simon Charette for the review.
2014-03-13 16:58:14 +01:00
Aymeric Augustin
1be31c320c
Fixed #21875 -- Clarified that get_user_model() only works at run time.
...
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00
Daniel Pyrathon
819e09b848
Fixed #22210 -- Saving model instances to non-related fields.
...
Previously, saving a model instance to a non-related field (in
particular a FloatField) would silently convert the model to an Integer
(the pk) and save it. This is undesirable behaviour, and likely to cause
confusion so the validatio has been hardened.
Thanks to @PirosB3 for the patch and @jarshwah for the review.
2014-03-10 15:25:18 +00:00
Shai Berger
41afae4ce9
Reorganized the database test settings
...
Change database test settings from "TEST_"-prefixed entries in the
database settings dictionary to setting in a dictionary that is itself
an entry "TEST" in the database settings.
Refs #21775
Thanks Josh Smeaton for review.
2014-03-09 03:57:18 +02:00
Roger Hu
9b729ddd8f
Fixed #22185 -- Added settings.CSRF_COOKIE_AGE
...
Thanks Paul McMillan for the review.
2014-03-06 08:28:43 -05:00
Claude Paroz
06efeae598
Added --previous flag to msgmerge command used by makemessages
...
Also took the opportunity to slightly refactor gettext options
so as to ease customization by subclassing the command.
Thanks Michal Čihař for the report and initial patch.
2014-03-06 10:20:01 +01:00
Gabe Jackson
b77f26313c
Fixed #22207 -- Added support for GenericRelation reverse lookups
...
GenericRelation now supports an optional related_query_name argument.
Setting related_query_name adds a relation from the related object back to
the content type for filtering, ordering and other query operations.
Thanks to Loic Bistuer for spotting a couple of important issues in
his review.
2014-03-05 22:37:53 +02:00
Akis Kesoglou
c627da0ccc
Fixed #14549 - Removed restriction of single FKs on intermediary tables
...
Thanks to Loic Bistuer for review. Minor changes to error messages
done by committer.
2014-03-05 22:33:58 +02:00
Chris Wilson
95c74b9d69
Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength
2014-03-05 20:09:28 +01:00
zedr
6fe22b30e0
Fixed #22085 -- Added a feature for setting non-expiring keys as the default.
...
This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
so that cache instances can set a non-expiring key as the default,
instead of using the default value of 5 minutes.
Previously, this was possible only by passing `None` as an argument to
the set() method of objects of type `BaseCache` (and subtypes).
2014-03-04 21:16:35 +01:00
Thomas Sorrel
53c576452e
Fixed #16727 -- Added protocol-relative URL support to contenttypes.views.shortcut.
2014-03-03 22:57:06 +01:00
Greg Chapple
6acaa52386
Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().
...
Allows custom behavior for setting initial form data in ModelAdmin.
By default, initial data is set via GET params. The new method allows
this behavior to be overridden.
Thanks egasimus for the suggestion.
2014-03-03 07:28:24 -05:00
Anubhav Joshi
bb2ca9fe6c
Fixed #22172 -- Allowed index_together to be a single list (rather than list of lists)..
...
Thanks EmilStenstrom for the suggestion.
2014-03-01 15:44:42 -05:00
Erik Romijn
775975f15d
Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html()
2014-03-01 14:07:57 +01:00