Florian Apolloner
081a27c358
[1.6.x] Simplified smart_urlquote and added some basic tests.
...
Backport of b70c371fc1
from master.
2013-07-28 10:07:01 +02:00
Tim Graham
dbbd2b1272
[1.6.x] Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.
...
Thanks CollinAnderson for the report.
Backport of 8676318d2d
from master
2013-07-26 14:47:58 -04:00
Tim Graham
5cc1ea4773
[1.6.x] Updated contrib.admin to use Email/URLInputs; refs #16630
...
Backport of 2a979d2a7b
from master
2013-07-26 08:02:10 -04:00
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
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
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
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
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
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
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
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
Claude Paroz
0a84cbadb7
[1.6.x] Completed some more name_local names
...
Backport of 9383e37a7
.
2013-07-08 12:04:38 +02:00
Mathias Andre
ced144155e
[1.6.x] Fixed #20716 --Missing 'name_local' translation
...
Added 'name_local' translation for Albanian in LANG_INFO
Backport of 8c18f6f61c
from master.
2013-07-08 12:04:10 +02:00
SusanTan
40d2687787
[1.6.x] Fixed #20711 -- Fixed broken link in timesince.py docstring
...
Backport of d63327d843
from master.
2013-07-07 12:40:44 -04:00
Claude Paroz
a9dd6221af
[1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__
...
Thanks Marc Tamlyn and Tim Graham for the review.
Backport of 7442eb1a24
from master.
2013-07-05 19:30:08 +02:00
Tim Graham
d14db25fee
[1.6.x] Fixed #19940 -- Made test.runner.setup_databases properly handle aliases for default db.
...
Thanks simonpercivall.
Backport of 2cbd579efe
from master.
2013-07-04 20:15:27 -04:00
Tim Graham
23748c483b
[1.6.x] Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.
...
Thanks littlepig for the report.
Backport of f407f75aae
from master.
2013-07-04 09:34:02 -04:00
Simon Charette
2de0d4c452
[1.6.x] Fixed #20675 -- `check_password` should work when no password is specified.
...
The regression was introduced by 2c4fe761a
. refs #20593 .
Backport of 8759778185
from master.
2013-07-03 14:12:56 -04:00
Tomáš Ehrlich
2f9e5483f6
[1.6.x] Fixed #20687 -- Added documentation for django.core.signing API.
...
Thanks Baptiste Mispelon for the suggestion.
Backport of c5bc98d7e1
from master.
2013-07-03 10:38:53 -04:00
Tim Graham
3c51962cab
[1.6.x] Updated tests for deprecation of Option.get_(add|change|delete)_permission.
...
refs #20642 .
Backport of a6a905c619
from master.
2013-07-01 09:21:07 -04:00
Aymeric Augustin
02976a46c9
[1.6.x] Introduced getters for connection.autocommit and .needs_rollback.
...
They ensure that the attributes aren't accessed in conditions where they
don't contain a valid value.
Fixed #20666 .
Backport of dd9c6bc359
from master.
2013-06-30 16:29:57 +02:00
Tim Graham
b930733a67
[1.6.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.
...
Thanks Riley Strong for the report.
Backport of 3fd0ee5b46
from master
2013-06-29 14:16:36 -04:00
Claude Paroz
59be2c6875
[1.6.x] Fixed #18592 -- Prevented crash when accessing MySQL _last_executed
...
Thanks reames at asymmetricventures.com for the report.
Backport of 59b0c48ce
from master.
2013-06-29 18:48:05 +02:00
Claude Paroz
a9b5a1e506
[1.6.x] Do not allow FileSystemStorage.delete to receive an empty name
...
Refs #20660 .
Backport of 7fbab3eba
from master.
2013-06-29 18:12:23 +02:00
Claude Paroz
b6aed803b2
[1.6.x] Fixed #20660 -- Do not try to delete an unset FieldFile
...
Thanks stanislas.guerra at gmail.com for the report and
Baptiste Mispelon for the review.
Backport of ea3fe78a9d
from master.
2013-06-29 18:11:51 +02:00
Aymeric Augustin
6908b65939
[1.6.x] Removed obsolete comment. Refs #20079 .
...
Thanks Gavin Wahl.
2013-06-29 11:43:41 +02:00
Jacob Kaplan-Moss
70f2d9aaff
Updated version numbers and setup.py for 1.6beta.
2013-06-28 08:15:10 -05:00
Shai Berger
d097417025
Support 'pyformat' style parameters in raw queries, Refs #10070
...
Add support for Oracle, fix an issue with the repr of RawQuerySet,
add tests and documentations. Also added a 'supports_paramstyle_pyformat'
database feature, True by default, False for SQLite.
Thanks Donald Stufft for review of documentation.
2013-06-28 06:59:10 +03:00
Tim Graham
534ced5aad
Fixed #20664 -- Fixed a bug with raw_id_fields on Python 3.
...
Thanks jefftriplett for the report.
2013-06-27 19:39:20 -04:00
Aymeric Augustin
c1284c3d3c
Fixed #20571 -- Added an API to control connection.needs_rollback.
...
This is useful:
- to force a rollback on the exit of an atomic block without having to
raise and catch an exception;
- to prevent a rollback after handling an exception manually.
2013-06-27 22:19:54 +02:00
Andrew Godwin
f325f86971
Fixed #20244 : PermissionsMixin now defines a related_query_name for M2Ms
2013-06-27 15:44:22 +01:00
Andrew Godwin
b21e96d00d
Merge pull request #1311 from loic/ticket20619_take2
...
Fixed missing initializations in WSGIRequest. Refs #20619
2013-06-27 07:44:09 -07:00
Andrew Godwin
99b467f272
Add related_query_name to ForeignKey/M2M. Refs #20244
2013-06-27 14:44:21 +01:00
Anton Baklanov
cab333cb16
Fixed #20541 -- don't raise db signals twice when creating superuser
2013-06-27 05:58:01 -04:00
Tim Graham
1184d07789
Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.
...
uid is now base64 encoded in password reset URLs/views. A backwards compatible
password_reset_confirm view/URL will allow password reset links generated before
this change to continue to work. This view will be removed in Django 1.7.
Thanks jonash for the initial patch and claudep for the review.
2013-06-26 13:11:47 -04:00
Loic Bistuer
a9ea7d8c70
Fixed #20462 - Replaced the str() cast introduced in 273dc55
by force_text()
2013-06-26 21:30:58 +07:00
Andrew Clark
273dc550a4
Fixed #20462 -- null/non-string regex lookups are now consistent
...
Thanks to noirbizarre for the report and initial patch.
2013-06-26 08:13:26 -04:00
Loic Bistuer
48ce167d89
Fixed missing initializations in WSGIRequest. Refs #20619
2013-06-26 14:36:25 +07:00