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
|
df8d8d4292
|
Fixed E128 flake8 warnings in django/.
|
2016-04-08 09:51:06 -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 |
Attila Tovt
|
02ae5fd31a
|
Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.
|
2016-04-05 08:52:08 -04:00 |
Tim Graham
|
6448873197
|
Fixed E402 flake8 warnings.
|
2016-04-04 17:14:27 -04:00 |
Tim Graham
|
2cd2d18851
|
Fixed W503 flake8 warnings.
|
2016-04-04 17:14:26 -04:00 |
Susan Tan
|
b0803d64c4
|
Fixed #26075 -- Added clearer wording for one-off values in makemigrations
|
2016-04-03 17:12:55 +02:00 |
Markus Holtermann
|
103d4e1d65
|
Fixed #26441 -- Added model Field.db_check() method
Thanks Common Code for financing the work on this commit.
|
2016-04-03 09:56:59 +02:00 |
Iacopo Spalletti
|
394755b8d9
|
Fixed #26443 -- Corrected timezone.now in MigrationQuestioner prompt
|
2016-04-03 01:33:06 +02:00 |
Akshesh
|
49f95cc0a0
|
Fixed #11560 -- Allowed proxy model multiple-inheritance from the same concrete base model.
|
2016-03-30 13:06:27 -04:00 |
Alex Hill
|
4b2cf1cd27
|
Fixed #26384 -- Fixed renaming the PK on a model with a self-referential FK on SQLite.
|
2016-03-29 13:25:09 -04:00 |
Claude Paroz
|
03b6947728
|
Fixed #24932 -- Added Cast database function.
Thanks Ian Foote for the initial patch.
|
2016-03-29 08:14:33 -04:00 |
Kai Feldhoff
|
5336158990
|
Fixed #25759 -- Added keyword arguments to customize Expressions' as_sql().
|
2016-03-29 08:09:58 -04:00 |
Simon Charette
|
67cf5efa31
|
Fixed #26413 -- Fixed a regression with abstract model inheritance and explicit parent links.
Thanks Trac alias trkjgrdg for the report and Tim for investigation and review.
|
2016-03-28 21:11:37 -04:00 |
Tim Graham
|
1c8c0837c6
|
Sorted single letter imports per the latest version of isort.
|
2016-03-28 11:45:31 -04:00 |
Claude Paroz
|
fc01c84bad
|
Avoided need to import model fields in models/functions.py.
|
2016-03-28 10:59:30 -04:00 |
Tim Graham
|
fb84e877ce
|
Normalized Func.as_sqlite() signature.
|
2016-03-28 10:59:12 -04:00 |
Alexey Kotlyarov
|
a52a531a8b
|
Fixed #26398 -- Made FieldFile.open() respect its mode argument.
|
2016-03-23 10:05:26 -04:00 |
Berker Peksag
|
157d7f1f1d
|
Fixed #25388 -- Added an option to allow disabling of migrations during test database creation
|
2016-03-23 08:21:30 +08:00 |
Kai Feldhoff
|
baa8b0ec39
|
Refs #25759 -- Fixed some Funcs to work if different database backends are used.
|
2016-03-21 20:20:29 -04:00 |
Jason Parrott
|
4c1c93032f
|
Fixed #26373 -- Fixed reverse lookup crash with a ForeignKey to_field in a subquery.
|
2016-03-19 17:54:29 -04:00 |
Claude Paroz
|
983c158da7
|
Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
|
2016-03-19 09:24:27 +01:00 |
Andrew Godwin
|
2b3a941457
|
Merge pull request #6310 from apollo13/informix
Pass type to sql_alter_column*.
|
2016-03-18 19:47:15 -03:00 |
Florian Apolloner
|
37cde8667e
|
Pass type to sql_alter_column*.
This helps databases which need the database type when changing the default
(Just like MySQL needs it for changing null…)
|
2016-03-18 23:11:02 +01:00 |
Tim Graham
|
f15f4b8bb6
|
Refs #26367 -- Removed obsolete _size cache on FieldField.
The _size attribute is used in File.size but FieldFile overrides it.
|
2016-03-17 10:25:17 -04:00 |
Markus Holtermann
|
1cb65b8a77
|
Fixed #26157 #25321 -- Added sql/params to extra context of schema logger
Thanks Akshesh Doshi for the initial patch and Tim Graham for the review
|
2016-03-15 17:45:58 +11:00 |
Claude Paroz
|
204e00c0c5
|
Fixed #26140 -- Suppressed MySQL warning when inserting binary content
Thanks Tim Graham for the review.
|
2016-03-14 18:08:13 +01:00 |
Noenglish Professorbut
|
f8d20da047
|
Fixed a few docstring typos.
|
2016-03-12 08:45:06 -05:00 |
Tim Graham
|
4f0cd0fd16
|
Fixed #26324 -- Fixed DurationField with fractional seconds on SQLite.
|
2016-03-10 12:18:29 -05:00 |
Jarek Glowacki
|
34c56687ae
|
Fixed #26342 -- Prevented unpacking when repr a NodeNotFoundError
|
2016-03-10 17:27:35 +11:00 |
Tim Graham
|
359be4460e
|
Refs #19527 -- Fixed SQL compiler regression causing Oracle failure.
|
2016-03-05 14:02:35 -05:00 |
Akshesh
|
b886f166b3
|
Fixed #26316 -- Factored duplicated code in model/field migration operations.
|
2016-03-03 18:24:36 -05:00 |
Simon Charette
|
c92123cc1d
|
Fixed #26226 -- Made related managers honor the queryset used for prefetching their results.
Thanks Loïc for the suggested improvements and Tim for the review.
|
2016-03-02 16:10:18 -05:00 |
Marc Tamlyn
|
8ddc79a799
|
Fixed #26285 -- Deprecated the MySQL-specific __search lookup.
|
2016-03-02 14:41:56 -05:00 |
acrefoot
|
04240b2365
|
Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its objects.
PostgreSQL support only.
Thanks Vladislav Manchev and alesasnouski for working on the patch.
|
2016-03-02 14:29:09 -05:00 |
Matthew Schinckel
|
60633ef3de
|
Fixed #26304 -- Ignored unmanaged through model in table introspection.
|
2016-03-02 13:54:27 -05:00 |
Simon Charette
|
0223e213dd
|
Fixed #26186 -- Documented how app relative relationships of abstract models behave.
This partially reverts commit bc7d201bdb .
Thanks Tim for the review.
Refs #25858.
|
2016-02-29 22:07:05 -05:00 |
Adam Chainz
|
6a383f773a
|
Removed unused 'Between' lookup.
It was added in 20bab2cf9d and stopped being
used for `Range` in 00aa562884 when
`bilateral` was added to `Transform`.
|
2016-02-29 08:00:04 -05:00 |
chenesan
|
b84f5ab4ec
|
Fixed #26230 -- Made default_related_name affect related_query_name.
|
2016-02-27 08:48:32 -05:00 |
Attila Tovt
|
5e2c4d7afb
|
Fixed #26264 -- Fixed prefetch_related() crashes with values_list(flat=True)
|
2016-02-26 19:26:15 -05:00 |
Adam Chainz
|
ef33bc2d4d
|
Fixed #25279 -- Made prefetch_related_objects() public.
|
2016-02-26 14:55:01 -05:00 |
Simon Charette
|
766afc22a1
|
Fixed #24793 -- Unified temporal difference support.
|
2016-02-26 12:25:12 -05:00 |
zshimanchik
|
65aa94200b
|
Fixed #24653 -- Fixed MySQL database introspection when using read_default_file.
|
2016-02-26 12:02:13 -05:00 |
Edwar Baron
|
eb44172760
|
Fixed #25811 -- Added a helpful error when making _in queries across different databases.
|
2016-02-26 07:31:56 -05:00 |
Yoong Kang Lim
|
4b1529e2cb
|
Fixed #26151 -- Refactored MigrationWriter.serialize()
Thanks Markus Holtermann for review.
|
2016-02-25 14:01:06 -05:00 |
Scott Sexton
|
fc584f0685
|
Fixed #26117 -- Consulted database routers in initial migration detection.
Thanks Simon Charette for help.
|
2016-02-25 09:56:00 -05:00 |
Tim Graham
|
70d3f81ca4
|
Fixed #26233 -- Fixed invalid reSt in models.Q docstring.
|
2016-02-18 08:45:55 -05:00 |
Akshesh
|
fdccc02576
|
Fixed #26219 -- Fixed crash when filtering by Decimal in RawQuery.
|
2016-02-17 13:56:42 -05:00 |
Tim Graham
|
004ba0f99e
|
Removed unneeded hint=None/obj=None in system check messages.
|
2016-02-12 13:01:25 -05:00 |