Claude Paroz
836d475afe
Fixed #22561 -- Prevented too long lines in email messages
...
Thanks NotSqrt for the excellent report and Tim Graham for the review.
2016-04-19 09:35:24 +02:00
Lukasz Wiecek
d3c87a2425
Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite.
...
Thanks adamchainz for the report and review.
2016-04-18 09:39:46 -04:00
Claude Paroz
9686c888d6
Fixed #25951 -- Trimmed default representation of GEOSGeometry
...
Thanks Sergey Fedoseev for the report.
2016-04-17 15:31:12 +02:00
dani poni
d29d11b026
Fixed #26085 -- Fixed contenttypes shortcut() view crash with a null fk to Site.
...
Thanks Fabien Schwob for the initial patch.
2016-04-16 17:27:44 -04:00
krishbharadwaj
e494b9ffb6
Fixed #26509 -- Deprecated the contrib.gis.utils.precision_wkt() function.
2016-04-16 16:47:04 -04:00
Tim Graham
a3265af808
Refs #26432 -- Skipped a raster test as needed.
2016-04-16 16:24:32 -04:00
Claude Paroz
10c53385f8
Fixed #26510 -- Allowed dim/trim/precision as WKTWriter init arguments
...
Thanks Tim Graham for the review.
2016-04-16 19:51:00 +02:00
Claude Paroz
d419b0c9bd
Converted property syntax of WKBWriter
2016-04-16 19:51:00 +02:00
Claude Paroz
de40cfbe74
Fixed #19567 -- Added JavaScriptCatalog and JSONCatalog class-based views
...
Thanks Cristiano Coelho and Tim Graham for the reviews.
2016-04-15 17:28:54 +02:00
Tim Graham
3cb63b0e47
Refs #26502 -- Added choices to Form.__getitem__() KeyError message.
2016-04-14 09:15:09 -04:00
Tim Graham
0456a8b9e6
Fixed #26486 -- Fixed a select_related() + defer() MTI edge case.
2016-04-13 10:32:17 -04:00
Michal Petrucha
c339a5a6f7
Refs #16508 -- Renamed the current "virtual" fields to "private".
...
The only reason why GenericForeignKey and GenericRelation are stored
separately inside _meta is that they need to be cloned for every model
subclass, but that's not true for any other virtual field. Actually,
it's only true for GenericRelation.
2016-04-13 10:10:53 -04:00
Claude Paroz
1ee9c5b4a9
Refs #17635 -- Tested the Cast function in a geography to geometry context
...
Thanks Tim Graham for the review.
2016-04-12 21:14:45 +02:00
Opa-
461f74ab19
Fixed #26432 -- Fixed size tuple order when using numpy reshape on a GDALBand.
2016-04-12 10:12:19 -04:00
Berker Peksag
93deb1691e
Fixed #26492 -- Fixed "maximum recursion depth exceeded" migrate error.
...
A regression introduced in 0d3c616fbb2f49fa7ff6809e5a6777275352b35b;
refs #26351 .
2016-04-12 09:04:14 -04:00
Alasdair Nicol
3380169222
Removed unused view and url from shortcuts tests.
...
The test that used these was removed in 9114fe8ada
.
2016-04-12 07:54:34 -04:00
Berker Peksag
0247c9b08f
Split form's test_fields.py into different files.
2016-04-11 12:48:23 -04:00
Tim Graham
353d436e7c
Used assertRaisesMessage in a couple defer tests.
2016-04-11 10:06:48 -04:00
Jeremy Lainé
c1aec0feda
Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.
2016-04-09 14:54:18 -04:00
Alasdair Nicol
c16b9dd8e0
Fixed #26479 -- Added 'is not' operator to the if tag.
2016-04-09 13:01:15 -04:00
Mounir Messelmeni
03e1cc930c
Fixed #26145 -- Made debug context processor return queries for all databases.
2016-04-09 11:47:15 -04:00
Miikka Salminen
9e3f141701
Fixed #26466 -- Added HTTP_REFERER decoding to i18n set_language() view.
2016-04-09 10:57:43 -04:00
amureki
f8bbba8060
Fixed #26403 -- Removed translated content in "Invalid block tag" message.
2016-04-09 09:31:05 -04:00
Daniel Wiesmann
c12a00e554
Fixed #26455 -- Allowed filtering and repairing invalid geometries.
...
Added the IsValid and MakeValid database functions, and the isvalid lookup,
all for PostGIS.
Thanks Tim Graham for the review.
2016-04-09 09:22:30 -04:00
Claude Paroz
f9a2a7db17
Fixed #26351 -- Added MySQL check to warn about strict mode option
...
Thanks Adam Chainz for the initial implementation in django-mysql.
Thanks Adam Chainz, Tim Graham, and Shai Berger for the reviews.
2016-04-08 20:34:16 +02:00
Claude Paroz
0d3c616fbb
Refs #26351 -- Added check hook to support database-related checks
...
Thanks Tim Graham and Shai Berger for the reviews.
2016-04-08 20:28:00 +02:00
Tim Graham
92053acbb9
Fixed E128 flake8 warnings in tests/.
2016-04-08 10:12:33 -04:00
Simon Charette
a872194802
Fixed #26470 -- Converted auth permission validation to system checks.
...
Thanks Tim for the review.
2016-04-06 22:40:43 -04:00
Simon Charette
fc34be896d
Extracted auth checks tests into their own module.
2016-04-06 22:40:43 -04:00
Simon Charette
a6074e8908
Fixed #26458 -- Based Avg's default output_field resolution on its source field type.
...
Thanks Tim for the review and Josh for the input.
2016-04-05 23:48:08 -04:00
Przemysław Suliga
90ce5d46bf
Fixed #26462 -- Fixed Python 2 UnicodeEncodeError when warning about long cache keys.
2016-04-05 11:16:04 -04:00
Attila Tovt
02ae5fd31a
Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.
2016-04-05 08:52:08 -04:00
Tim Graham
2cd2d18851
Fixed W503 flake8 warnings.
2016-04-04 17:14:26 -04:00
Przemysław Suliga
d356bb653f
Fixed #26460 -- Issued a single warning for invalid cache key
2016-04-04 15:20:55 -04:00
David Evans
99bb7fcc18
Fixed #26452 -- Loaded middleware on server start rather than on first request.
2016-04-04 10:12:41 -04:00
Sergey Kolosov
21dd98a386
Fixed #25699 -- Allowed using the test client if 'django.contrib.sessions' isn't in INSTALLED_APPS.
2016-04-04 07:48:48 -04:00
Jon Dufresne
5faf745999
Refs #21608 -- Fixed incorrect cache key in cache session backend's save().
...
The bug was introduced commit 3389c5ea22
.
2016-04-04 07:41:59 -04:00
rixx
fdf5cd3429
Fixed #25905 -- Prevented leading slashes in urljoin() calls
...
Leading slashes in the second urljoin argument will return exactly that
argument, breaking FileSystemStorage.url behavior if called with a
parameter with leading slashes.
Also added test cases for null bytes and None. Thanks to Markus for
help and review.
2016-04-03 17:21:56 +02:00
anna
b28c60529b
Fixed #26101 -- Allowed introspection of base_field.model in RangeField
...
Used the same test and fix as in #25867 .
This required initializing base_field in RangeField.__init__,
not when setting the attribute.
2016-04-03 16:32:30 +02:00
Piers Storey
319b7112d8
Fixed #26446 -- Added additional tests to cover methods in the RequestSite class
2016-04-03 13:07:57 +02:00
Markus Holtermann
8b1110ddff
Added missing primary keys to some OperationTests
...
Thanks Common Code for financing the work on this commit.
2016-04-03 01:40:46 +02:00
Tim Graham
d2569f89f2
Fixed #26428 -- Added support for relative path redirects in assertRedirects().
...
Thanks Trac alias master for the report and review.
2016-04-02 10:35:33 -04:00
Michal Petrucha
d81d02d449
Refs #26384 , #24995 -- Avoided a module-level MySQL query in the schema tests.
2016-04-02 08:17:35 -04:00
Attila Tovt
00dbd02f7e
Made MakeMigrationsTests call proper parent method
2016-04-02 10:10:38 +02:00
Claude Paroz
db19619545
Fixed #25532 -- Properly redisplayed JSONField form input values
...
Thanks David Szotten for the report and Tommy Beadle for code inspiration.
Thanks Tim Graham for the review.
2016-04-01 09:04:20 +02:00
Tim Graham
f3595b2549
Refs #26384 , #24995 -- Skipped a schema test on older MySQL versions.
2016-03-31 12:00:25 -04:00
Akshesh
49f95cc0a0
Fixed #11560 -- Allowed proxy model multiple-inheritance from the same concrete base model.
2016-03-30 13:06:27 -04:00
Tim Graham
2e0cd26ffb
Made a few proxy_models tests use assertRaisesMessage().
2016-03-30 12:01:33 -04:00
Claude Paroz
edcecaf0de
Fixed #19670 -- Applied CachedFilesMixin patterns to specific extensions
...
Thanks Simon Meers for the initial patch, and Tim Graham for the review.
2016-03-30 14:34:41 +02:00
Krzysztof Jurewicz
940b7fd5cb
Fixed #21446 -- Allowed not performing redirect in set_language view
...
Thanks Claude Paroz and Tim Graham for polishing the patch.
2016-03-29 22:15:14 +02:00