Ville Skyttä
575a9a791e
Normalized "an SQL" spelling.
2016-05-03 19:30:48 -04:00
David Sanders
e00d77c483
Fixed #26575 -- Disabled SelectFilter buttons when inactive.
2016-05-03 13:09:07 -04:00
Michal Petrucha
b9f8635f58
Refs #16508 -- Added invalidation of stale cached instances of GenericForeignKey targets.
2016-05-03 09:29:05 -04:00
Simon Charette
7ec330eeb9
Refs #26565 -- Errored nicely when using Prefetch with a values() queryset.
...
Thanks Maxime Lorant for the report and Anssi for the suggestion.
2016-05-03 09:28:31 -04:00
Claude Paroz
4731e9d82e
Fixed #26341 (again) -- Addressed multiple occurrences per line use case
2016-05-02 19:39:56 +02:00
Offby-One Kenobi
f2b2a35699
Fixed docstring typos.
2016-05-02 11:43:03 -04:00
Alasdair Nicol
eb5d7bc2f4
Fixed #26440 -- Added a warning for non-url()s in urlpatterns.
...
Thanks Burhan Khalid for the initial patch and knbk/timgraham
for review.
2016-04-30 20:09:31 -04:00
Cristiano
914c72be2a
Fixed #26058 -- Delegated os.path bits of FileField's filename generation to the Storage.
2016-04-30 17:22:40 -04:00
Claude Paroz
b16b124996
Fixed #26341 -- Fixed makemessages breaking location comments for HTML files
...
Thanks Sylvain Garancher for the report and Veranika Sabiashchanskaya for the
initial patch.
2016-04-30 12:08:20 +02:00
Claude Paroz
185f90c45f
Adapted _assertPoLocComment for multi-file source lines in po files
...
Refs #17375 .
2016-04-30 12:07:40 +02:00
Anssi Kääriäinen
7f51876f99
Fixed #26207 -- Replaced dynamic classes with non-data descriptors for deferred instance loading.
2016-04-29 13:06:32 -04:00
Alasdair Nicol
dac075e910
Refs #26479 -- Documented is/is not if tag operator behavior for nonexistent variables.
2016-04-29 12:38:46 -04:00
Alasdair Nicol
246020efc5
Added tests for if tag's != operator.
2016-04-29 12:30:32 -04:00
David Evans
2fcafd169b
Fixed #26546 -- Allowed HTTPStatus enum values for HttpResponse.status.
2016-04-29 10:55:01 -04:00
Joshua Phillips
4681d65048
Fixed #26557 -- Converted empty strings to None when saving GenericIPAddressField.
2016-04-29 10:11:49 -04:00
Tim Graham
2f698cd991
Refs #26428 -- Added support for relative path redirects to the test client.
...
Thanks iktyrrell for the patch.
2016-04-29 09:15:28 -04:00
Alasdair Nicol
ffb1c532ec
Added an explicit test that URL checks are recursive.
2016-04-29 07:38:57 -04:00
Tim Graham
86573861a9
Refs #15667 -- Removed choices argument from some RendererMixin methods.
...
RendererMixin will soon be removed but this removal and the corresponding
test changes stand on their own.
2016-04-28 18:48:52 -04:00
Simon Charette
f951bb78cb
Refs #26521 -- Adjusted CreateModel bases validation to account for mixins.
...
Thanks Collin for the report.
2016-04-28 18:20:48 -04:00
Tim Graham
f945fb24a3
Fixed #26554 -- Updated docs URLs to readthedocs.io
2016-04-28 10:09:57 -04:00
Simon Charette
a877a2f83d
Refs #26521 -- Added the duplicated value to CreateModel validation messages.
...
Thanks Tim for the suggestion.
2016-04-27 16:17:22 -04:00
James Robert
417e083e55
Fixed #26521 -- Validated CreateModel bases, fields and managers for duplicates.
2016-04-27 12:43:56 -04:00
Tim Graham
6729b96d8a
Removed try/fail antipattern from migrations commands tests.
2016-04-27 10:21:18 -04:00
Conrad Kramer
c112198332
Fixed #26542 -- Fixed quoting in CreateExtension operation.
2016-04-27 09:30:55 -04:00
David Sanders
a5c8a6ce19
Fixed #21332 , #26538 -- Fixed inconsistent and duplicate form fields on inline formsets.
2016-04-26 10:26:25 -04:00
Bas Westerbaan
a5033dbc58
Refs #26033 -- Added password hasher support for Argon2 v1.3.
...
The previous version of Argon2 uses encoded hashes of the form:
$argon2d$m=8,t=1,p=1$<salt>$<data>
The new version of Argon2 adds its version into the hash:
$argon2d$v=19$m=8,t=1,p=1$<salt>$<data>
This lets Django handle both version properly.
2016-04-25 21:17:53 -04:00
Tim Graham
bb0b4b705b
Fixed #26052 -- Moved conditional_content_removal() processing to the test client.
2016-04-25 07:56:07 -04:00
Simon Charette
bd145e7209
Fixed #26536 -- Preserved leading dashes of the cached template loader keys.
...
Thanks Anders Roos for the report.
2016-04-24 22:15:45 -04:00
David Sanders
218175b09d
Fixed #26534 -- Fixed boolean form fields has_changed() with hidden input.
2016-04-24 15:06:30 -04:00
Claude Paroz
188883048e
Fixed wrong field data type in queries test
2016-04-23 20:26:52 +02:00
Tim Graham
859eeaa0f0
Fixed #26533 -- Renamed Widget._format_value() to format_value().
2016-04-23 13:15:45 -04:00
Claude Paroz
669c29c8f4
Fixed #26427 -- Ensured deleted setting doesn't appear in dir(settings)
2016-04-23 16:01:16 +02:00
Tim Graham
57f76be35e
Removed a flaky contrib.postgres search test.
...
The test sometimes fails on CI and isn't worth debugging at this time.
2016-04-22 20:32:20 -04:00
Tim Graham
87338198e9
Fixed #26320 -- Deprecated implicit OneToOnField parent_link.
2016-04-22 12:59:41 -04:00
Marc Tamlyn
2d877da855
Refs #3254 -- Added full text search to contrib.postgres.
...
Adds a reasonably feature complete implementation of full text search
using the built in PostgreSQL engine. It uses public APIs from
Expression and Lookup.
With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel
and many others for their advice and review. Particular thanks also go
to the supporters of the contrib.postgres kickstarter.
2016-04-22 10:44:37 +01:00
Claude Paroz
f4c2b8e04a
Fixed #20189 -- Allowed customizing staticfiles ignored_patterns list
...
Thanks Tim Graham for the review.
2016-04-22 09:56:06 +02:00
Loïc Bistuer
6f5fcfc6d2
Moved declaration of test form inside the relevant test for clarity.
2016-04-22 09:38:47 +07:00
Loïc Bistuer
a885bca1df
Fixed #26528 -- Allowed any iterable (e.g. tuple) as validators kwarg for form/model fields.
2016-04-22 09:38:47 +07:00
Jon Dufresne
ec6121693f
Fixed #22383 -- Added support for HTML5 required attribute on required form fields.
2016-04-21 19:16:38 -04:00
Maxim Novikov
4d1c229ee5
Fixed #26495 -- Added name arg to Storage.save()'s File wrapping.
2016-04-21 10:40:48 -04:00
Carl Worth
40b69607c7
Fixed #26504 -- Avoided logging "Not Found" warnings if a middleware handles the 404.
...
For example, this avoids a warning in the case of a request that's
redirected to a language-prefixed URL by LocaleMiddleware.
2016-04-20 21:02:05 -04:00
Carl Worth
5e00b14403
Added tests for logging of Http404 warnings.
2016-04-20 20:56:40 -04:00
Carl Worth
86880ab89b
Used @override_settings decorator rather than "with" to reduce indentation.
2016-04-20 20:34:16 -04:00
Marko Benko
45c7acdc50
Fixed #26281 -- Added a helpful error message for an invalid format specifier to dateformat.format().
2016-04-20 20:13:52 -04:00
Tobias Kroenke
b040ac06eb
Fixed #26520 -- Fixed a regression where SessionBase.pop() didn't return a KeyError.
2016-04-20 13:06:47 -04:00
Nicolas Noé
973f393761
Refs #24621 -- Added a test for SessionBase.pop()'s 'default' argument.
2016-04-20 12:57:07 -04:00
Markus Amalthea Magnuson
08cd6a0e56
Fixed #16327 -- Redirected "Save as new" to change view instead of the changelist.
2016-04-20 11:31:44 -04:00
Tim Graham
e47b52255c
Refs #26033 -- Temporarily pinned argon2-cffi test requirement.
...
The latest version (16.1) is backwards-incompatible for Django.
2016-04-19 11:58:50 -04:00
Nicolas Noé
23fbd3ff48
Fixed #26512 -- Added tests for SpatialRefSysMixin.get_units().
2016-04-19 11:19:44 -04:00
Matthew Schinckel
5402f3ab09
Fixed #26475 -- Added functools.partial() support to migrations autodetector.
2016-04-19 10:17:11 -04:00