Aron Podrigal
85ef98dc6e
Fixed #24305 -- Allowed overriding fields on abstract models.
...
Fields inherited from abstract base classes may be overridden like
any other Python attribute. Inheriting from multiple models/classes
with the same attribute name will follow the MRO.
2016-05-16 07:32:21 -04:00
Simon Charette
61a16e0270
Fixed #24075 -- Used post-migration models in contrib apps receivers.
...
Thanks Markus and Tim for the review.
2016-05-15 19:51:16 -04:00
Simon Charette
f937c9ec97
Fixed #24100 -- Made the migration signals dispatch its plan and apps.
...
Thanks Markus for your contribution and Tim for your review.
2016-05-15 19:51:15 -04:00
Tim Graham
55c3133df8
Simplified a ClearableFileInput test.
2016-05-14 10:31:32 -04:00
Bouke Haarsma
31501fb53e
Refs #18599 -- Added a test for assigning a GenericForeignKey in Model.__init__().
...
The issue was fixed by 8a47ba679d
(refs #16508 ).
2016-05-13 21:26:48 -04:00
Simon Charette
104727030c
Adjusted a variable name in migration signal tests.
2016-05-13 16:47:02 -04:00
Simon Charette
c0118ff80b
Refs #24201 -- Ignored order_with_respect_to private fields in migrations.
...
Thanks Tim for the review.
2016-05-13 15:43:23 -04:00
Simon Charette
18900e55c5
Added tests for the post_migrate signal.
2016-05-13 15:32:54 -04:00
Tim Graham
99d9d4e695
Cosmetic edits to tests/managers_regress/tests.py
2016-05-13 15:23:24 -04:00
Matthew Somerville
1962a96a30
Fixed #24938 -- Added PostgreSQL trigram support.
2016-05-13 12:38:21 -04:00
Tim Graham
d7334b405f
Refs #26333 -- Reverted inadvertent edits to fix tests.
2016-05-13 12:21:44 -04:00
Nicolas Noé
e158ec0ba0
Fixed #26333 -- Made GIS Geometry classes deconstructible.
2016-05-13 11:30:19 -04:00
David Sanders
14c952d581
Fixed #26612 -- Fixed SelectFilter2 buttons changing URL.
2016-05-13 09:06:20 -04:00
Vincenzo Pandolfo
069319396f
Fixed #26277 -- Added support for null values in ChoicesFieldListFilter.
2016-05-12 12:40:14 -04:00
Andre Cruz
929684d6ee
Fixed #21231 -- Enforced a max size for GET/POST values read into memory.
...
Thanks Tom Christie for review.
2016-05-12 10:17:52 -04:00
Tim Graham
60b095cc4c
Refs #24046 -- Fixed a template test when run in reverse.
2016-05-11 11:41:10 -04:00
Raphael Gaschignard
8f6a1a1551
Fixed #26429 -- Added a timestamp to merge migration names.
...
This reduces the possibility of a naming conflict, especially after
squashing migrations.
2016-05-11 08:19:19 -04:00
Simon Charette
535660b852
Refs #18100 -- Added tests for deferred model deletion signals.
...
Thanks Tim for the review and pointing out this was fixed by #26207 .
2016-05-10 13:21:52 -04:00
Tim Graham
2f0e0eee45
Fixed #24046 -- Deprecated the "escape" half of utils.safestring.
2016-05-10 12:46:47 -04:00
Claude Paroz
c3e1086949
Stopped truncating AdminEmailHandler message subjects
...
Refs #26572 , #17281 . The RFC doesn't limit total length, just the line length
which is already taken care of by Python itself.
Thanks Tim Graham for the review.
2016-05-10 18:17:43 +02:00
Simon Charette
207c5b4acd
Fixed #26603 -- Forced lazy template names to text when computing cache key.
...
Refs #26536 .
Thanks Sylvain Fankhauser for the very detailed report.
2016-05-10 10:03:01 -04:00
Iacopo Spalletti
49c57f8565
Fixed #25005 -- Made date and time fields with auto_now/auto_now_add use effective default.
...
Thanks to Andriy Sokolovskiy for initial patch.
2016-05-09 07:48:40 -04:00
Jarek Glowacki
80bf3135d0
Sorted migration list order in test; added trailing comma.
2016-05-08 13:53:36 +02:00
Jarek Glowacki
c8df17b612
Included reverse deps in showmigrations
2016-05-08 13:53:36 +02:00
Jarek Glowacki
509379a161
Fixed #25945 , #26292 -- Refactored MigrationLoader.build_graph()
2016-05-08 13:53:26 +02:00
marysia
b9290b1d49
Fixed #26449 -- Merged admin's FORMFIELD_FOR_DBFIELD_DEFAULTS with formfield_overrides.
...
Useful for overriding the DateTimeField widget.
2016-05-07 19:52:45 -04:00
Vitaly Bogomolov
aec4f97555
Fixed #26402 -- Added relative path support in include/extends template tags.
2016-05-07 16:21:57 -04:00
Dan Watson
ad403ffa45
Fixed #26582 -- Added prettier admin display for list values.
2016-05-07 15:49:41 -04:00
Claude Paroz
72ff70fba5
Made GDAL proj test less fragile
...
The WGS84 proj string can differ depending on installed libs.
Refs #26592 .
2016-05-07 19:45:50 +02:00
Claude Paroz
b26fedacef
Fixed #26544 -- Delayed translations of SetPasswordForm help_texts
...
Thanks Michael Bitzi for the reporti and Tim Graham for the review.
2016-05-07 10:17:49 +02:00
Markus Holtermann
deeffde84a
Fixed #26593 -- Leveraged deferrable_sql() in SchemaEditor
2016-05-07 01:21:00 +02:00
Sergei Maertens
ec009ef1d8
Fixed #25986 -- Fixed crash sending email with non-ASCII in local part of the address.
...
On Python 3, sending emails failed for addresses containing non-ASCII
characters due to the usage of the legacy Python email.utils.formataddr()
function. This is fixed by using the proper Address object on Python 3.
2016-05-06 14:34:11 -04:00
Daniel Wiesmann
bbfad84dd9
Fixed #25588 -- Added spatial lookups to RasterField.
...
Thanks Tim Graham for the review.
2016-05-06 09:17:18 -04:00
Tim Graham
03efa304bc
Refs #25847 -- Added system check for UserModel.is_anonymous/is_authenticated methods.
2016-05-06 08:56:06 -04:00
Markus Holtermann
3b383085fb
Fixed #26555 -- Gave deconstructible objects a higher priority during serialization
2016-05-04 22:39:19 +02:00
Claude Paroz
388bb5bd9a
Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()
...
Thanks Tim Graham for completing the initial patch.
2016-05-04 20:02:01 +02:00
Dan Stephenson
1206eea11e
Fixed #26558 -- Removed need for request context processor on admin login page.
2016-05-04 09:43:24 -04:00
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