Tim Graham
31cb25adec
[1.8.x] Fixed incorrect session.flush() in cached_db session backend.
...
This is a security fix; disclosure to follow shortly.
Thanks Sam Cooke for the report and draft patch.
2015-05-20 13:49:07 -04:00
Tim Graham
aeafdf9398
[1.8.x] Fixed #24784 -- Fixed visibility regression in admin's FK widget.
...
Backport of fb94e7b8cf
from master
2015-05-19 21:27:57 -04:00
Bo Lopker
3c659856eb
[1.8.x] Fixed #24799 -- Fixed session cookie deletion when using SESSION_COOKIE_DOMAIN
...
Backport of 2dee853ed4
from master
2015-05-15 11:24:18 -04:00
Tim Graham
30e5703844
[1.8.x] Fixed #24802 -- Delayed GDAL check for OSMGeoAdmin
...
Backport of a37dcfd0a3
from master
2015-05-15 09:20:04 -04:00
Tim Graham
df0674eabb
[1.8.x] Fixed #24751 -- Fixed HStoreField isnull lookup.
...
Backport of 3c8fe5dddf
from master
2015-05-13 10:34:15 -04:00
Tim Graham
39ed6d960e
[1.8.x] Fixed #24750 -- Updated two contrib.gis comment links
...
Backport of 783572abc4
from master
2015-05-06 12:08:33 -04:00
Tim Graham
d7ea279f76
[1.8.x] Fixed #24724 -- Fixed GIS initialization crash on Windows.
...
Backport of 3c4fca271b
from master
2015-05-01 16:18:53 -04:00
Tim Graham
77ed1548f2
[1.8.x] Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filter_* widgets.
...
Backport of 2c3ce26beb
from master
2015-05-01 15:32:45 -04:00
Claude Paroz
cb370f8510
[1.8.x] Updated translations from Transifex
...
Updates for languages: Indonesian, Belarusian, Persian, and Dutch.
2015-04-30 14:27:51 +02:00
Eric Whitmire
901de5fbce
[1.8.x] Fixed #24655 -- Fixed JavaScript path of contrib.admin's related field widget
2015-04-17 11:22:22 -04:00
Anssi Kääriäinen
70ff455a35
[1.8.x] Fixed #24615 -- ordering by expression not part of SELECT
...
Fixed queries where an expression was used in order_by() but the
expression wasn't in the query's select clause (for example the
expression could be masked by .values() call)
Thanks to Trac alias MattBlack85 for the report.
Backport of fb5c7748da
from master.
2015-04-16 09:42:42 +02:00
Markus Holtermann
3862826fed
[1.8.x] Fixed #24625 -- Prevented arbitrary file inclusion in admindocs
...
Thanks Tim Graham for the review.
Backport of 09595b4fc6
from master
2015-04-11 21:12:09 +02:00
Claude Paroz
774d09a7dd
[1.8.x] Fixed #24624 -- Replaced obsoleted rel.opts in admindocs view
...
Thanks Scott Sanders for the report, and Markus Holtermann and
Tim Graham for the reviews. Refs #24381 .
Backport of 4e7ed8d0d
from master.
2015-04-11 15:34:02 +02:00
Claude Paroz
5483c66f85
[1.8.x] Fetched updated contrib translations from Transifex
2015-04-01 15:05:29 +02:00
Moritz Sichert
44a05a8a91
[1.8.x] Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates.
...
Backport of 1f2abf784a
from master
2015-03-27 20:01:41 -04:00
Karl Hobley
a8c53041f9
[1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
...
Backport of 81e1a35c36
from master
2015-03-18 19:12:46 -04:00
Claude Paroz
1cd2584c98
[1.8.x] Updated translation catalogs
...
Strings are frozen in anticipation of the Django 1.8 release.
2015-03-18 09:29:12 +01:00
Claude Paroz
1bb712d79c
[1.8.x] Removed translations from contrib.messages
...
The only one translatable string will be handled in the core catalog.
2015-03-18 09:28:28 +01:00
Josh Smeaton
a0cebe82b5
[1.8.x] Refs #24485 -- Renamed some expression types
...
Backport of 88d798d71a
from master
2015-03-17 08:40:45 -04:00
Marten Kenbeek
febcbbf89d
[1.8.x] Fixed #24488 -- Made create_default_site() use default pk of 1.
...
Fixed create_default_site() to use a default value in case
settings.SITE_ID isn't set; refs #23945 .
Backport of 818182b514
from master
2015-03-16 13:31:22 -04:00
Tim Graham
da8b3aa7eb
[1.8.x] Fixed #24480 -- Marked strings in contrib.gis templates for translation.
...
Backport of 21ffbb06ec
from master
2015-03-14 15:20:53 -04:00
Tim Graham
20bf320502
[1.8.x] Fixed #24426 -- Displayed admin actions panel when show_full_result_count=False.
...
Backport of 36a17be9f3
from master
2015-03-04 13:56:51 -05:00
Tim Graham
4fa61e0e4f
[1.8.x] Used format_html() in contrib.admin.utils for consistency.
...
Backport of fe42bfaaff
from master
2015-03-04 10:44:44 -05:00
Mathias André
44dd65fb2c
[1.8.x] Removed outdated docstring for get_admin_url().
...
Since a4b8a4b632
the admin
URL returned by get_admin_url() is no longer relative to
the Django admin index page.
Backport of 85757d0e79
from master
2015-03-03 07:47:32 -05:00
Tim Graham
dfcdf64d47
[1.8.x] Fixed #24411 -- Avoided dict key/method clash in admin delete views.
...
Backport of 47b35b1844
from master
2015-02-25 08:07:25 -05:00
Anssi Kääriäinen
155a127afb
[1.8.x] Fixed #24381 -- removed ForeignObjectRel opts and to_opts
...
These cached properies were causing problems with pickling, and in
addition they were confusingly defined: field.rel.model._meta was
not the same as field.rel.opts.
Instead users should use field.rel.related_model._meta inplace of
field.rel.opts, and field.rel.to._meta in place of field.rel.to_opts.
Backport of f95122e541
from master
2015-02-23 07:26:10 -05:00
foresmac
3207fcd0a0
[1.8.x] Fixed #24341 -- Added specific error messages to RangeField subclasses
...
Backport of 1d1d5d1c31
from master
2015-02-20 16:50:41 -05:00
Loic Bistuer
3a6c37fce4
[1.8.x] Fixed #24351 , #24346 -- Changed the signature of allow_migrate().
...
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583 ;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
Conflicts:
django/db/utils.py
Backport of bed504d70b
from master
2015-02-20 21:55:50 +07:00
Marc Tamlyn
b6ef67d752
[1.8.x] Fixed #24373 -- Added run_validators to ArrayField.
...
Thanks to DavidMuller for the report.
Backport of c490e410af
from master
2015-02-20 11:53:17 +00:00
Marc Tamlyn
3886338c1d
[1.8.x] Update converters to take a consistent set of parameters.
...
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
Backport of 32d4db66b9
from master
2015-02-20 11:47:48 +00:00
Tim Graham
ad2c6a756b
[1.8.x] Moved contrib.contenttypes tests out of contrib.
...
Backport of 664c038f2c
from master
2015-02-16 18:06:13 -05:00
Tim Graham
77e3f7dd58
[1.8.x] Fixed #24299 -- Added an auth migration to ensure contenttypes is migrated.
...
Without this migration, the auth signal handlers will fail if migrating
only auth.
Backport of 4538cbf17d
from master
2015-02-16 14:55:24 -05:00
Sergey Fedoseev
870d900cdc
[1.8.x] Refs #24299 -- Made contenttypes migrations signal handler more robust.
...
Backport of d392c1e150
from master
2015-02-16 13:44:04 -05:00
Markus Holtermann
681efedce4
[1.8.x] Explicitly checked for LookupError in contenttypes migration
...
Backport of 4dd1f4c5eb
from master
2015-02-16 17:14:33 +01:00
Loic Bistuer
20b621eb3c
[1.8.x] Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.
...
Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion.
Backport of 18c0aaa912
from master
2015-02-14 02:42:06 +07:00
Tim Graham
2347f3267f
[1.8.x] Fixed #24315 -- Fixed auth.views.password_reset_confirm() with a UUID user.
...
Backport of 002425fe39
from master
2015-02-13 09:57:44 -05:00
Tim Graham
8fc4840289
[1.8.x] Fixed #24334 -- Allowed admin password reset to work with non-digit custom user model primary key.
...
Thanks Loic for help and Simon for review.
Backport of fdf20093e0
from master
2015-02-13 09:50:55 -05:00
Tim Graham
4c948c7c9d
[1.8.x] Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATABASES is empty.
...
Backport of e8cf4f8abe
from master
2015-02-13 07:02:37 -05:00
Tim Graham
03f4e2d909
[1.8.x] Fixed #24333 -- Fixed admin history view crash with non-integer slug.
...
Backport of d64baaef3b
from master
2015-02-12 14:20:17 -05:00
Tim Graham
596564e808
[1.8.x] Fixed #24161 -- Stored the user primary key as a serialized value in the session.
...
This allows using a UUIDField primary key along with the JSON session
serializer.
Thanks to Trac alias jamesbeith for the report and Simon Charette
for the initial patch.
Backport of 0f7f5bc9e7
from master
2015-02-12 07:40:14 -05:00
Collin Anderson
343c087533
[1.8.x] Refs #14497 -- Handled empty readonly admin FileFields
...
Backport of 07cfe1bd82
from master
2015-02-11 13:01:25 -05:00
Tim Graham
e06971340d
[1.8.x] Moved contrib.webdesign tests out of contrib.
...
Backport of 8ec306a3a9
from master
2015-02-11 12:35:32 -05:00
Tim Graham
69c89aeccf
[1.8.x] Moved contrib.gis tests out of contrib.
...
Backport of ad0be620ae
from master
2015-02-11 12:05:29 -05:00
Tim Graham
2482c9dd24
[1.8.x] Moved non-documented auth test models to the new test location.
...
Backport of 5ab327a389
from master
2015-02-11 12:03:03 -05:00
Tim Graham
e55d888b66
[1.8.x] Moved contrib.auth tests out of contrib.
...
Backport of 2d7aca3da0
from master
2015-02-11 12:02:35 -05:00
Tim Graham
44df17d53c
[1.8.x] Moved contrib.humanize tests out of contrib.
...
Backport of 8192a164de
from master
2015-02-11 11:55:53 -05:00
Tim Graham
c0f0f93b5d
[1.8.x] Moved contrib.redirects tests out of contrib.
...
Backport of 00da46091a
from master
2015-02-11 11:55:40 -05:00
Tim Graham
bbe7964185
[1.8.x] Moved contrib.messages tests out of contrib.
...
Backport of b3cd9e0d07
from master
2015-02-11 11:55:05 -05:00
Tim Graham
10fdd2fc1d
[1.8.x] Moved contrib.sessions tests out of contrib.
...
Backport of fac3a34cbb
from master
2015-02-11 11:54:51 -05:00
Tim Graham
e1046a96bc
[1.8.x] Moved contrib.sitemaps tests out of contrib.
...
Backport of fbc467c26b
from master
2015-02-11 11:52:10 -05:00