1
0
mirror of https://github.com/django/django.git synced 2025-03-21 14:50:45 +00:00

8442 Commits

Author SHA1 Message Date
Sebastian Spiegel
8b734d2f99 Fixed -- Made app_label arguments limit showmigrations --plan output. 2017-01-06 19:50:31 -05:00
Simon Charette
d976760260 Fixed , Refs -- Fixed iexact lookup on JSONField keys.
Thanks Harris Lapiroff for the report.
2017-01-06 19:25:32 -05:00
Tim Graham
8516f7c49b Fixed -- Added django.test.utils.ContextList.get() 2017-01-06 19:23:42 -05:00
Dmitry
12cefee5d8 Refs -- Prevented newlines in attrs.html widget rendering.
Removed the trailing newline from widget attrs.html template.
The solution may be revisited by fixing refs  but not
for Django 1.11.

Thanks Dmitry Ivanchenko for the report and Preston Timmons for advice.
2017-01-06 19:11:32 -05:00
Andy Craze
97c1931c4f Fixed -- Reorganized i18n tag tests. 2017-01-06 10:33:07 -05:00
Claude Paroz
9390533951 Fixed -- Measured email long lines on encoded content
Thanks Pavel Pokrovskiy for the report and Tim Graham for the review.
2017-01-06 16:04:59 +01:00
Tim Graham
0793182694 Cosmetic edits for messages_tests. 2017-01-05 09:31:23 -05:00
Tim Graham
c85831e4b7 Fixed -- Prevented collectstatic from overwriting newer files in remote storages.
Thanks revimi for the initial patch.
2017-01-04 12:50:31 -05:00
Tim Graham
f60d4e704d Tested collectstatic's deleting of files/symlinks when toggling --link. 2017-01-04 12:49:57 -05:00
Tim Graham
8ea541e6a2 Refs -- Removed redundant escaping in admin's "Perhaps it was deleted?" message. 2017-01-04 10:22:17 -05:00
Tim Graham
bff4abacad Refs -- Corrected a bug and improved comments for a staticfiles test. 2017-01-03 19:22:19 -05:00
anabelensc
1c12df4aa6 Fixed -- Added binary left/right shift operators to F expressions.
Thanks Mariusz Felisiak for review and MySQL advice.
2017-01-03 14:15:46 -05:00
Ketan Bhatt
f0ef0c49e9 Fixed -- Corrected simplify_regex()'s handling of named capture groups. 2017-01-03 13:55:11 -05:00
Mariusz Felisiak
fd2f7e4767 Fixed -- Fixed binary &/| operators for negative values on MySQL. 2017-01-03 12:41:44 -05:00
Karen Tracey
27267afc41 Fixed -- Replaced some 404s with messages in admin.
Instead of a 404, return a redirect to admin index page with a message
indicating that the requested object does not exist. This avoids the
admin returning 404 from "Recent Actions" links for deleted objects.
2017-01-03 11:31:05 -05:00
Claude Paroz
946dd5bde2 Refs -- Fixed test failure introduced by OpenLayers 3 update. 2017-01-03 11:11:00 -05:00
Tim Graham
c04207cd38 Replaced some GIS has_X_method skips with supports_X_aggr/has_X_function. 2017-01-03 09:49:00 -05:00
Claude Paroz
2ebfda38e6 Fixed -- Updated OpenLayers-based widget to OpenLayers 3
Thanks Tim Graham for the review.
2017-01-02 19:45:52 +01:00
vinay karanam
6128c1736d Refs -- Fixed timesince, timeuntil on New Year's Eve in a leap year. 2017-01-02 08:40:44 -05:00
Andrew Nester
69b7d4b116 Fixed -- Fixed invalid sequence/index names when using "USER"."TABLE" db_table on Oracle. 2016-12-30 17:11:12 -05:00
Tim Martin
e3f095b086 Fixed -- Made {% for %} reject invalid unpacking vars with quotes or vertical bars. 2016-12-30 09:22:40 -05:00
Tim Graham
9f16ea21c4 Used assertRaisesMessage() in {% for %} tests. 2016-12-30 09:22:04 -05:00
Tim Graham
fae56427e1 Fixed -- Bumped required cx_Oracle to 5.2.
Removed obsolete workarounds from 1aa48898085ea16915877cc139e238a74e3f554b
and dcf3be7a621f011a918453527406216a738acf68.
2016-12-29 12:45:25 -05:00
Adam Chainz
5eff8a7783 Fixed -- Made DiscoverRunner run system checks. 2016-12-29 12:33:24 -05:00
Adam Chainz
391c450fba Refs -- Made MySQL backend skip field validation of unsupported models. 2016-12-29 12:01:48 -05:00
Anton Samarchyan
0b5d4c49d6 Fixed -- Allowed test client to accept vendor tree JSON content types. 2016-12-29 08:32:15 -05:00
Simon Charette
813805833a Fixed -- Prevented execution of transactional DDL statements when unsupported.
Executing a DDL statement during a transaction on backends that don't support
it silently commits, leaving atomic() in an incoherent state.

While schema_editor.execute() could technically be used to execute DML
statements such usage should be uncommon as these are usually performed through
the ORM. In other cases schema_editor.connection.execute() can be used to
circumvent this check.

Thanks Adam and Tim for the review.
2016-12-28 19:43:32 -05:00
Anton Samarchyan
5cf4894836 Fixed -- Fixed unarchiving a file without permission data. 2016-12-28 19:14:58 -05:00
Shivang Bharadwaj
6a74950513 Fixed -- Prohibited django.Template.render() with non-dict context.
Thanks Shivang Bharadwaj for the initial patch.
2016-12-28 16:03:20 -05:00
Tim Graham
4e89082f31 Refs -- Fixed form renderer test for Python 2 non-ASCII path. 2016-12-28 15:57:55 -05:00
Adam Chainz
6d947e8c32 Refs -- Fixed/silenced check errors in Django's test suite. 2016-12-28 15:16:10 -05:00
Tim Graham
e3e80da7a5 Fixed -- Allowed M2M to concrete and proxy through model. 2016-12-28 12:48:17 -05:00
Josef Rousek
aaecf038ca Fixed -- Prevented Select widget from using 'required' with a non-empty first value. 2016-12-28 10:45:22 -05:00
Mariusz Felisiak
6dbe56ed78 Fixed -- Unified query parameters by their values on Oracle. 2016-12-28 08:14:14 -05:00
Preston Timmons
b52c73008a Fixed -- Added template-based widget rendering.
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-27 17:50:10 -05:00
Tim Graham
51cde873d9 Fixed -- Deprecated (iLmsu) regex groups in url() patterns. 2016-12-27 15:59:13 -05:00
roboslone
544b2ef29f Fixed -- Fixed HttpResponse's __repr__() without a 'Content-Type' header. 2016-12-27 14:42:58 -05:00
Illia Volochii
4a51ba228b Fixed -- Made forms.utils.flatatt() omit 'None' values from attrs. 2016-12-27 09:42:17 -05:00
Mariusz Felisiak
3e5c5e6754 Fixed -- Fixed timesince, timeuntil in leap year edge case. 2016-12-27 09:29:11 -05:00
Simon Charette
cd7efa2033 Fixed -- Checked deferred foreign key constraints before dropping them.
This allows running foreign key data and schema altering operations in the
same migration on PostgreSQL.

Thanks Tim for review.
2016-12-24 13:53:11 -05:00
Peter Inglesby
a4cac17200 Fixed -- Fixed filtering on annotated DecimalField on SQLite. 2016-12-24 10:38:48 -05:00
Simon Charette
96181080ba Refs -- Isolated a test model in schema tests. 2016-12-23 21:43:49 -05:00
Adonys Alea Boffill
8ba01d1e42 Fixed -- Prevented "confirm form submission" browser prompt when reloading after an admin actions failure. 2016-12-23 17:29:24 -05:00
Tim Graham
9710677c10 Fixed typo in m2m_through_regress test methods. 2016-12-23 15:32:30 -05:00
Adam Chainz
8669cf0e68 Fixed -- Moved MEDIA_URL/STATIC_URL validation to a system check. 2016-12-23 10:55:00 -05:00
Andrey Kuzminov
b8741c0058 Refs -- Corrected field name in an m2m manager error message. 2016-12-23 09:31:26 -05:00
Tim Graham
39a8843802 Used assertRaisesMessage() in m2m_through_regress tests.
The "needs to have a value for field" messages are incorrect and
reference nonexistent fields since the commit in which they were
introduced (refs ).
2016-12-23 09:31:26 -05:00
Adam Chainz
8fb82a315a Used @override_settings for SECURE_PROXY_SSL_HEADER tests. 2016-12-22 18:52:50 -05:00
Anton Samarchyan
da79240050 Fixed -- Skipped admin.E111 list_display_links check if get_list_display() is overridden. 2016-12-22 09:32:11 -05:00
Phil Tysoe
bf4516a628 Added tests for django.utils.autoreload. 2016-12-22 09:01:28 -05:00