Mads Jensen
aa2cb4c622
Refs #26327 -- Renamed JsonAgg to JSONBAgg.
...
Thanks to Christian von Roques for the report.
2016-11-28 06:57:01 -05:00
Adam Chainz
6252fd6314
Fixed #27532 -- Deprecated Model._meta.has_auto_field
2016-11-25 13:24:11 -05:00
Aymeric Augustin
cb7bbf97a7
Fixed #25966 -- Made get_user_model() work at import time.
...
This makes it equivalent to: `from django.contrib.auth.models import User`.
Thanks Aymeric Augustin for the initial patch and Tim Graham for the
review.
2016-11-25 14:15:49 +01:00
Daniel Hahler
eb42d8d5d9
Fixed grammar in sqlite's DatabaseOperations.bulk_batch_size()'s docstring.
2016-11-25 07:50:59 -05:00
Luke Murphy
c238da8942
Fixed #27509 -- Removed redundant gdal-bin dependency listing.
2016-11-25 07:19:10 -05:00
Mariusz Felisiak
d391b3a85b
Refs #16682 -- Replaced signal number with equivalent signal.SIGINT.
2016-11-25 07:07:57 -05:00
elky
9a49fdcd8f
Fixed #27531 -- Added block.super to admin's delete confirmation extrahead blocks.
2016-11-24 06:40:13 -05:00
Adam Chainz
92bbef8b9e
Improved the way Model.save() skips the auto_field.
...
Identity comparison is quicker than isinstance(), and it avoids coupling
between Model and AutoField.
2016-11-24 06:01:36 -05:00
Kosei Kitahara
f095b249ba
Fixed #27517 -- Fixed charset param in SimpleTemplateResponse.__init__().
2016-11-24 05:56:39 -05:00
Daniel Musketa
df2a5227c9
Rephrased an ambiguous sentence in docs/topics/signals.txt.
2016-11-24 05:50:39 -05:00
Alex Scott
da4c0e8cc9
Fixed typo in docs/topics/auth/customizing.txt.
2016-11-24 05:41:21 -05:00
Tim Graham
93a081946d
Normalized casing of "custom user model".
2016-11-23 15:14:28 -05:00
Krzysztof Gogolewski
d02a03d574
Fixed #24370 -- Recommended starting with a custom user model.
2016-11-23 14:43:17 -05:00
Adam Chainz
e044026dce
Fixed #27499 -- Made Prefetches pickle without evaluating their QuerySet.
2016-11-23 11:23:14 -05:00
Adam Chainz
7dd315a46f
Added more tests for pickling Prefetches with QuerySets.
2016-11-23 11:18:34 -05:00
Tim Graham
2e5fbe889f
Cleaned up some __getstate__() docstrings.
2016-11-23 09:45:21 -05:00
Mariusz Felisiak
b63d0c54b0
Fixed #24959 -- Fixed queries using negative timedeltas on MySQL and Oracle.
2016-11-23 09:10:47 -05:00
Mark Young
2742901ac2
Fixed #27504 -- Allowed using the ORM after an error and rollback when autocommit is off.
2016-11-23 08:42:19 -05:00
Daniel Musketa
b5ef90192f
Fixed typo in docs/topics/signals.txt.
2016-11-23 06:54:58 -05:00
Jackie Leng
50613d957a
Fixed #26920 -- Made GEOSGeometry equality check consider the srid
2016-11-23 09:23:06 +01:00
Adam Chainz
10d49b96e6
Added tests for contrib.sitemaps.ping_google().
2016-11-22 18:27:19 -05:00
Henry Dang
b1a9041535
Fixed #27221 -- Doc'd how to escape a percent symbol in ugettext().
2016-11-22 13:49:18 -05:00
Diego Martín
abd434059e
Fixed #27250 -- Removed 'for ="..."' from CheckboxSelectMultiple's <label>.
2016-11-22 11:48:37 -05:00
Quentin Fulsher
f62abfc03d
Fixed #27295 -- Added a system check to prohibit model names that start or end with an underscore or contain double underscores.
2016-11-22 10:14:10 -05:00
Tim Graham
41759c9082
Refs #27394 -- Removed @expectedFailure from a floatformat test.
2016-11-22 09:47:12 -05:00
Adam Chainz
22a60f8d0b
Fixed #27513 -- Made Signal.send()/send_robust() a tiny bit faster.
2016-11-22 09:30:14 -05:00
Adam Chainz
c70ffeeb8b
Completed django.dispatch test coverage.
2016-11-22 09:07:42 -05:00
Daniel Musketa
66505b72c5
Updated doc links to virtualenv website.
2016-11-22 08:36:41 -05:00
Florian Apolloner
51eaff6d35
Refs #17209 -- Fixed token verification for PasswordResetConfirmView POST requests.
2016-11-21 13:42:25 -05:00
Tim Graham
55adfc0760
Fixed #27511 -- Corrected Field.related_model docs about GenericRelation.
2016-11-21 12:30:54 -05:00
Adam Chainz
19e2114634
Fixed #27516 -- Made test client's response.json() cache the parsed JSON.
2016-11-21 08:14:03 -05:00
François Freitag
0783aa7deb
Refs #23811 -- Corrected git bisect run example usage.
2016-11-21 06:55:03 -05:00
Adam Chainz
74742aa956
Fixed #27512 -- Removed unused code in Model.__init__().
2016-11-20 19:39:32 -05:00
Adam Chainz
9d4246419c
Refs #26207 -- Removed obsolete comments about deferred model classes.
2016-11-20 18:22:13 -05:00
Adam Chainz
cc1f6f26b6
Fixed #27514 -- Tested Model.__init__ excessive number of fields.
2016-11-20 13:21:59 -05:00
Nicolas Noé
a269018e86
Fixed #27493 -- Fixed test failure with recent GDAL versions
2016-11-19 16:41:18 +01:00
PREMANAND
371adc472a
Fixed #27156 -- Made changing HttpRequest.encoding clear GET.
2016-11-17 12:46:42 -05:00
Jonatas CD
b28c6ca763
Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().
2016-11-17 12:39:35 -05:00
Joachim Jablon
721f0ca85c
Simplified a test after refs #26207 .
2016-11-17 10:23:17 -05:00
Tim Graham
0d9ff873d9
Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 work as documented.
...
Thanks goblinJoel for the report and feedback.
2016-11-16 17:40:37 -05:00
Sergey Fedoseev
45e01df373
Fixed #27488 -- Added SpatiaLite suppport for IsValid, MakeValid, and __isvalid.
2016-11-16 09:43:54 -05:00
Tim Graham
3ce212a23c
Fixed #27494 -- Fixed typos in docs/topics/db/models.txt.
2016-11-16 07:28:20 -05:00
Mitchel Humpherys
ae660cde5a
Fixed incorrect word choice in docs/topics/migrations.txt.
2016-11-16 06:57:30 -05:00
Simon Charette
31a56e30cf
Fixed #27407 -- Made Model.delete(keep_parents=True) preserve parent reverse relationships.
...
Thanks Tim for the review.
2016-11-15 20:16:06 -05:00
Brandon Chinn
eed6150009
Refs #27003 -- Fixed JSONField crash on converted values.
2016-11-15 18:43:55 -05:00
Brandon Chinn
6573274161
Refs #27003 -- Fixed SimpleArrayField crash on converted values.
2016-11-15 18:10:45 -05:00
akki
74ed20b49a
Replaced "django" with "Django" in spelling_wordlist.
2016-11-15 17:00:50 -05:00
Adam Chainz
7c6efb3233
Refs #26753 -- Removed obsolete workarounds in GIS tests for lack of GDAL.
...
Missed in f7a363ee1d
.
2016-11-15 11:46:06 -05:00
Jonatas CD
9da45ff352
Fixed #26985 -- Doc'd that ForeignKey.to_field reference must be unique.
2016-11-15 11:09:23 -05:00
Michiel Beijen
364293529b
Fixed #27393 -- Aligned input boxes in admin password reset forms.
2016-11-15 09:49:24 -05:00