Chesco Igual
ffd18732f3
Fixed #24781 -- Fixed repr() for lazy objects.
2016-06-04 19:13:00 -04:00
Vytis Banaitis
2f9c4e2b6f
Fixed #19963 -- Added support for date_hierarchy across relations.
2016-06-04 12:14:02 -04:00
Holly Becker
55fec16aaf
Fixed #26628 -- Changed CSRF logger to django.security.csrf.
2016-06-04 10:17:06 -04:00
Anton I. Sipos
c3495bb984
Fixed #12666 -- Added EMAIL_USE_LOCALTIME setting.
...
When EMAIL_USE_LOCALTIME=True, send emails with a Date header
in the local time zone.
2016-06-04 09:55:50 -04:00
Tim Graham
e2296e7f0a
Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True.
...
Thanks Simon Charette for review.
2016-06-04 08:04:51 -04:00
mieciu
19ff506878
Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.
2016-06-03 12:30:21 -04:00
Paulo
38575b007a
Fixed #15250 -- Avoided extra query on some multi-table inheritance queries.
...
Thanks marekw2143 for the initial patch and carljm for support.
2016-06-03 10:18:24 -04:00
Will Koster
9899347641
Fixed #26638 -- Allowed callable arguments for QuerySet.get_or_create()/update_or_create() defaults.
2016-06-03 10:00:53 -04:00
Tobias McNulty
c7b1b81352
Fixed #26666 -- Added more useful error message to assertRedirects
2016-06-02 14:43:31 -07:00
Brad Melin
f6517a5335
Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of crashing on non-dict JSON input.
2016-06-02 16:28:01 -04:00
Alex Hill
08014fe75b
Fixed #26686 -- Fixed crash when registering model signals with abstract senders.
2016-06-02 14:34:01 -04:00
Rustam Kashapov
df8412d2e5
Fixed #26617 -- Added distinct argument to contrib.postgres's StringAgg.
2016-06-02 13:48:35 -04:00
inondle
080dd74e01
Fixed #26616 -- Improved error message when AppConfig.name is invalid.
2016-06-02 10:37:00 -04:00
Jon Dufresne
779829662d
Fixed #26694 -- Made FileBasedCache.get() reraise non-ENOENT IOErrors.
2016-06-01 15:29:24 -04:00
Ramiro Morales
71421e8f87
Fixed #26692 -- Relaxed an i18n compilemessages test.
...
The actual non-ASCII character differs on Windows.
2016-06-01 09:20:57 -04:00
Tim Graham
bc84278615
Fixed #26675 -- Dropped support for PostgreSQL 9.2/PostGIS 2.0.
2016-06-01 07:45:22 -04:00
Simon Charette
d02e33141d
Avoided uncessary table creation in model_inheritance tests.
2016-05-31 15:15:54 -04:00
Simon Charette
53a5fb3cc0
Fixed #26676 -- Prevented prefetching to_attr from caching its result in through attr.
...
Thanks Ursidours for the report.
2016-05-31 14:32:58 -04:00
Jon Dufresne
359be1c870
Fixed #26691 -- Removed checking for a file's existence before deleting.
...
File operations always raise a ENOENT error when a file doesn't exist.
Checking the file exists before the operation adds a race condition
condition where the file could be removed between operations. As the
operation already raises an error on a missing file, avoid this race and
avoid checking the file exists twice. Instead only check a file exists
by catching the ENOENT error.
2016-05-31 12:03:27 -04:00
Ramiro Morales
e3877c53ed
Fixed #26687 -- Made an i18n test not use a hardcoded path separator.
...
Fixed a failure on Windows.
2016-05-31 12:00:36 -04:00
Tim Graham
47f22e8286
Fixed #25645 -- Dropped support for SpatiaLite < 4.0.
2016-05-31 11:31:51 -04:00
Tim Graham
37aec6b186
Refs #26653 -- Fixed a feedgenerator test that requires a database query on PostgreSQL.
2016-05-30 19:30:45 -04:00
Ketan Bhatt
f31fbbae1a
Fixed #26653 -- Made SyndicationFeed.latest_post_date() return time in UTC.
2016-05-30 18:36:15 -04:00
Vytis Banaitis
f1e408ff40
Fixed #25044 -- Fixed migrations for renaming ManyToManyField's through model.
2016-05-30 10:17:45 -04:00
Tim Graham
16a842b379
Refs #26621 -- Added tests for admindocs.views.simplify_regex().
2016-05-30 09:50:02 -04:00
Ramiro Morales
1b00ed0880
Fixed #26674 -- Corrected a i18n makemessages test.
...
Made it consistently read the PO file, decode its contents and then
check for the non-breaking space Unicode code point.
Previously we were erroneously skipping the interpretation of what we
read as UTF-8 text.
This was causing the test to fail on Windows with Python 3.5.
2016-05-29 10:31:10 -03:00
Ramiro Morales
15a5755e7c
Fixed #26673 -- Fixed a I18N test case error on Windows+Python 2.7.
...
`subprocess.Popen` doesn't accept enviroment vars with Unicode var name
or value.
2016-05-28 18:05:14 -03:00
Tim Graham
a4c20ae85b
Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved model instances.
...
This behavior was removed in 67d984413c
but is needed to prevent a crash in formtools.
2016-05-28 15:41:47 -04:00
Simon Charette
4f474607de
Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File.
...
Thanks Tim for the review.
2016-05-27 21:05:58 -04:00
inondle
93c312cc9c
Fixed #26573 -- Added descriptive error message for malformed if/else/elif template tags.
2016-05-27 18:12:56 -04:00
Alex Hill
ff6c6feae1
Fixed #26642 -- Made ModelSignal.disconnect() work with lazy references.
2016-05-27 17:45:08 -04:00
Daniel Wiesmann
9bb1b4b7f6
Refs #25588 -- Fixed GDAL dependency in spatial lookups.
2016-05-27 17:43:17 +01:00
Simon Charette
36d36818a3
Fixed #26647 -- Included the state of all applied migrations when migrating forward.
...
Thanks Jasper Maes for the detailed report.
2016-05-26 13:30:10 -04:00
Tim Graham
a0a1c4fbde
Updated GeoIP test for latest database.
2016-05-23 19:59:28 -04:00
Simon Charette
722344ee59
Refs #24067 -- Fixed contenttypes rename tests failures on Oracle.
...
Broke the initial migration in two to work around #25530 and added
'django.contrib.auth' to the available_apps to make sure its tables are also
flushed as Oracle doesn't implement cascade deletion in sql_flush().
Thanks Tim for the report.
2016-05-21 16:03:45 -04:00
Simon Charette
9fed4ec418
Removed an obsolete comment about a fixed ticket.
2016-05-21 15:42:38 -04:00
Tim Graham
1915a7e5c5
Increased the default PBKDF2 iterations.
2016-05-20 09:19:19 -04:00
Alex Hill
779bb82f51
Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation()
2016-05-19 21:33:36 -04:00
Alex Hill
2ff7ef15b0
Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and tests
2016-05-19 21:33:36 -04:00
Simon Charette
05a9f3a09a
Refs #24100 -- Fixed a test failure on MySQL related to non-transactional DDL.
...
Thanks Tim for the report.
2016-05-19 11:01:19 -04:00
darius BERNARD
a7ad473ad2
Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects.
2016-05-19 09:56:24 -04:00
Shai Berger
5112e65ef2
Fixed #20869 -- made CSRF tokens change every request by salt-encrypting them
...
Note that the cookie is not changed every request, just the token retrieved
by the `get_token()` method (used also by the `{% csrf_token %}` tag).
While at it, made token validation strict: Where, before, any length was
accepted and non-ASCII chars were ignored, we now treat anything other than
`[A-Za-z0-9]{64}` as invalid (except for 32-char tokens, which, for
backwards-compatibility, are accepted and replaced by 64-char ones).
Thanks Trac user patrys for reporting, github user adambrenecki
for initial patch, Tim Graham for help, and Curtis Maloney,
Collin Anderson, Florian Apolloner, Markus Holtermann & Jon Dufresne
for reviews.
2016-05-19 05:02:19 +03:00
Simon Charette
7694e196ce
Moved the AUTH_USER_MODEL setting changed receiver.
...
Test suites besides Django's may need the same behavior.
2016-05-18 09:56:29 -04:00
Marti Raudsepp
b9ae662c97
Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.
2016-05-18 09:27:23 -04:00
Barthelemy Dagenais
a5c8072ab1
Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions.
2016-05-18 09:09:48 -04:00
Loïc Bistuer
4ff1e6ef58
Fixed running auth_tests in isolation after 3a47d42fa3
.
2016-05-18 06:38:42 -04:00
Josh Smeaton
2a4af0ea43
Fixed #25774 -- Refactor datetime expressions into public API
2016-05-18 20:14:58 +10:00
boaz85@gmail.com
5f23f904af
Fixed #14415 -- Used the test database name in BaseDatabaseCreation.test_db_signature().
2016-05-17 21:35:36 -04:00
Simon Charette
f179113e6c
Fixed #24067 -- Renamed content types upon model renaming.
...
Thanks to Tim for the extensive review.
2016-05-17 12:14:58 -04:00
Tim Graham
354acd04af
Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are set.
2016-05-17 07:24:45 -04:00