Commit Graph

15397 Commits

Author SHA1 Message Date
Anssi Kääriäinen 7f892cedba [1.6.x] Fixed related model lookup regression
It has been possible to use models of wrong type in related field
lookups. For example pigs__in=[a_duck] has worked. Changes to
ForeignObject broke that.

It might be a good idea to restrict the model types usable in lookups.
This should be done intentionally, not accidentally and without any
consideration for deprecation path.

Backpatch of 7cca8d56d2 from master.
2013-07-26 13:17:50 +03:00
Aymeric Augustin efdf7442bb [1.6.x] Added versionadded directive missing from b7bd708.
Backport of 5ed7ec9 from master.
2013-07-25 20:16:02 +02:00
Tim Graham 68c01e15a5 [1.6.x] Fixed #20769 -- Added "Python compatibility" section to the 1.6 release notes.
Backport of bddb4a6818 from master
2013-07-25 13:04:18 -04:00
Tim Graham 9abbad491a [1.6.x] Fixed #20679 -- Corrected CachedFilesMixin.post_process docstring.
Thanks bmispelon for the report.

Backport of 9b88dd3809 from master
2013-07-25 12:32:38 -04:00
mark hellewell ec6928be34 [1.6.x] Fixed #18315 -- Documented QueryDict.popitem and QueryDict.pop
Thanks gcbirzan for the report.

Backport of 8c9240222f from master
2013-07-25 11:08:47 -04:00
Anssi Kääriäinen d439f85bbf [1.6.x] Fixed ._meta.pk_index() virtual field failure
Backport of 92476e880c from master
2013-07-25 16:35:04 +03:00
Brenton Cleeland 7604749871 [1.6.x] Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
Thanks simonb for the report.

Backport of dab52d99fc from master
2013-07-25 07:39:36 -04:00
Jon Lønne cd46463eb1 [1.6.x] Fixed typo in Custom management commands documentation.
Backport of 5a5d594717 from master
2013-07-24 07:33:49 -04:00
Dominic Rodger 45d5a4e7d2 [1.6.x] Fixed #20794 -- Documented changes to validate_email
4e2e8f39d changed the way validate_email behaves for foo@localhost
email addresses, but wasn't listed in the release notes.
Backport of c928725b9 from master.
2013-07-24 10:27:34 +02:00
ersran9 7295a8262f [1.6.x] Fixed #20791 -- Reworded ForeignKey default error message
Backport of 311c1d2848 from master.
2013-07-23 22:19:02 +02:00
Aymeric Augustin 4525eab077 [1.6.x] Fixed #20760 -- Reduced timing variation in ModelBackend.
Thanks jpaglier and erikr.

Backport of 5dbca13f3b from master.
2013-07-23 15:43:43 +02:00
Kirill Fomichev ad898453b7 [1.6.x] Fixed #19019 -- Fixed UserAdmin to log password change.
Thanks Tuttle for the report.

Backport of 33242fe015 from master
2013-07-23 08:33:38 -04:00
Anssi Kääriäinen 43f1d51b4b [1.6.x] Minor change to get_extra_descriptor_filter()
Refs #20611. Backpatch of 6b4967e883.
2013-07-23 15:37:26 +03:00
Claude Paroz 92f66a6134 [1.6.x] Fixed #20773 -- [gis] Fixed regression in GoogleMap output
Thanks Martyn Clement for the report and the initial patch.
Backport of 27c1a7257 from master.
2013-07-22 10:03:31 +02:00
Claude Paroz 816bf0c6a7 [1.6.x] Fixed #20781 -- Fixed _has_changed regression with MultiValueField
Thanks Tim Graham for the report.
Backport of 02b0106d from master.
2013-07-22 09:07:04 +02:00
Claude Paroz 48516d3b85 [1.6.x] Fixed an email validation regression
Thanks Vincent Wagelaar for the report.
Backport of 11b7b9ad from master.
2013-07-21 21:12:50 +02:00
Karen Tracey 706e542eb5 [1.6.x] Fixed #13696 -- ensured inline pk field is rendered
Backport of 3aad955ea8 from master.
2013-07-21 13:13:20 -04:00
Simon Charette 9d3f7a21a3 [1.6.x] Fixed #20765 -- Set small values of `step` using exponential notation.
Browsers parse small factors of 10 as 0 under decimal notation.

Thanks to Trac alias matklad for the report and Claude Paroz for the review.

Backport of 415a36947c from master.
2013-07-19 23:45:29 -04:00
Sergio Oliveira 496f319970 [1.6.x] LocaleMiddleware isn't default anymore (corrected docs)
Changed in @23229061fcb836ecca2195cc75f91e331279a5d1

Backport of cf6c754629 from master
2013-07-19 06:36:26 -04:00
Matt Deacalion Stevens 9b26cb72d9 [1.6.x] Updated the `databases` documentation
+ Removed a reference about MySQL storage engines also being
   called 'table types', as this term has been deprecated for
   8 years and is no longer used.

 + Fixed the link to the official InnoDB storage engine docs.

 + Apache (versions >= 2.4) will always choose a multi-threaded
   MPM module on modern operating systems (later than 2002).

Backport of fa217d14a0 from master
2013-07-19 06:31:38 -04:00
Matt Deacalion Stevens e7435fbe2f [1.6.x] Fixed Croatia's country code in `localflavor` docs
Backport of 97e5398629 from master
2013-07-19 05:30:55 -04:00
Loic Bistuer b7556a4980 [1.6.x] Fixed #20772 -- Fixed minor typo in form media docs.
Backport of aa41eb9b8b from master
2013-07-19 05:19:46 -04:00
Loic Bistuer c660f0e985 [1.6.x] Fixed #20767 -- Fixed ModelAdmin.preserve_filters for namespaced URLs.
Thanks Collin Anderson for the report.

Backport of 2fc6c9472c from master.
2013-07-18 18:23:21 -04:00
Tim Graham 579ca9ee8d [1.6.x] Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
Backport of dce8945ea6 from master
2013-07-18 12:41:51 -04:00
Matt Deacalion Stevens fcd5f3a8d9 [1.6.x] Atom specification URL updated
Changed to the URL of the official RFC for Atom, since Atomenabled.org
is just a holding page.

Backport of beefc97171 from master
2013-07-18 08:47:58 -04:00
Tim Graham 1641aa7119 [1.6.x] Fixed #20763 -- Typo in tutorial 3.
Thanks crichard@ for the report.

Backport of fd95dc9e27 from master
2013-07-18 08:06:50 -04:00
Alasdair Nicol 9d9f670d93 [1.6.x] Fixed typo in inspectdb docs
Backport of 1131d4191f from master
2013-07-18 07:46:42 -04:00
Tim Graham 0db3c45f80 [1.6.x] Fixed #20756 -- Typo in uWSGI docs.
Backport of a3242dc9fe from master
2013-07-17 06:51:34 -04:00
Loic Bistuer ed473d61e5 [1.6.x] Reworked docs for ModelForm validation.
Backport of fba6c2ede7 from master
2013-07-16 19:21:55 -04:00
Tim Graham 3d25f592fe [1.6.x] Fixed some markup in docs/ref/templates/api.txt
Backport of 862a04a56d from master
2013-07-15 11:31:38 -04:00
David Binetti f8fd38b560 [1.6.x] Fixed grammatical error in auth docs
Backport of 51b50c47c7 from master
2013-07-14 12:35:26 -04:00
Tim Graham e5241902f3 [1.6.x] Fixed #20681 -- Prevented teardown_databases from attempting to tear down aliases
Thanks simonpercivall.

Backport of d9c580306c from master
2013-07-13 17:46:37 -04:00
Tim Graham 26b88e7658 [1.6.x] Fixed a deprecation warning in a selenium test.
Backport of 9b471a8fe3 from master
2013-07-13 13:22:00 -04:00
Claude Paroz db33b25e86 [1.6.x] Fixed #20582 -- Allowed default Form.label_suffix to be translated
Thanks Tim Graham for the review.
Backport of 7557207983 from master.
2013-07-13 16:20:09 +02:00
Tim Graham 7f210563ab [1.6.x] Fixed backport of #20740 2013-07-12 18:00:09 -04:00
Tim Graham 45fab74561 [1.6.x] Fixed #20740 -- GenericIPAddressField should pass protocol to formfield()
Thanks Jeff250.

Backport of f2cb94f1c0 from master
2013-07-12 16:06:43 -04:00
Tim Graham b30a872973 [1.6.x] Fixed #20653 -- Renamed checksetup -> check missed in [03465639]
Thanks CollinAnderson for the report.

Backport of a7d97a6778 from master
2013-07-12 12:50:53 -04:00
Tim Graham 1c8e539a77 [1.6.x] Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save()
Backport of 3cdeb572d7 from master
2013-07-12 06:22:19 -04:00
Christopher Medrela 9bb04b1a6b [1.6.x] Fixed #20735 -- clarified ManyToManyField constructor doc
Backport of ac223ff6d1 from master
2013-07-12 06:06:17 -04:00
Tim Graham fe0a563f81 [1.6.x] Fixed #20730 -- Fixed "Programmatically creating permissions" error.
Thanks glarrain for the report.

Backport of 684a606a4e from master
2013-07-11 11:07:51 -04:00
Tim Graham f93b2fe7e6 [1.6.x] Fixed #20733 -- Typo in docs/ref/class-based-views/generic-display.txt
Thanks ijl20@ for the report.

Backport of ecd746191c from master
2013-07-11 07:37:42 -04:00
Tim Graham 2e3250fc90 [1.6.x] Added some missing test requirements in the docs; refs #19196
Backport of 77856dc875 from master
2013-07-10 12:02:56 -04:00
Tim Graham aecbaaed0c [1.6.x] Fixed #19196 -- Added test/requirements
Backport of 4d92a0bd86 from master.
2013-07-10 09:37:15 -04:00
Aymeric Augustin a2b4af3a1a Fixed #20724 -- Test failure on SQLite.
This test failure happened if the connection's NAME was set to a file
system path, and its TEST_NAME wasn't.

Thanks Claude for the report.

Conflicts:
	tests/transactions_regress/tests.py

Backport of 404870ee1f from master.
2013-07-09 21:43:20 +02:00
Aymeric Augustin d200405471 Avoided transaction.set_autocommit in tests.
It doesn't work as one might expect on a certain database backend where
autocommits_when_autocommit_is_off = True. That backend happens to be
popular for running tests.

Backport of 38bc581bc0 from master.
2013-07-09 21:42:11 +02:00
Shai Berger ae685e54cb [1.6.x] Fixed last_executed_query test failure on Oracle
Backport of c0a4894dca from master.
2013-07-09 19:52:16 +02:00
Tim Graham 7788c71890 [1.6.x] Fixed #20722 -- Fixed MemcachedCache backend get_many on Python 3.
Backport of 3c736207a3 from master
2013-07-09 11:57:44 -04:00
Claude Paroz e2c1e9ef55 [1.6.x] Partial revert of commit 2bf403ecbd
Homework: write 100 times geoapp is not geogapp.
Backport of 57815e2630 from master.
2013-07-09 14:34:16 +02:00
SusanTan c1b24b09f4 [1.6.x] Fixed #18261 -- Clarified 'project root directory'
Backport of ef3fddf26e from master
2013-07-09 07:16:31 -04:00
Tim Graham f03398a246 [1.6.x] Fixed #18944 -- Documented PasswordResetForm's from_email argument as a backwards incompatible change for 1.3
Thanks DrMeers for the report.

Backport of dab921751d from master
2013-07-08 15:06:31 -04:00