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

8223 Commits

Author SHA1 Message Date
Tim Graham
e1f6eba033 Fixed nonexistent tmc.edu domain in GeoIP test.
The test was silently skipped.
2016-10-11 19:31:13 -04:00
Tim Graham
d4cfeca006 Tested Model.get_next/prev_by_FIELD() on unsaved models. 2016-10-11 12:09:37 -04:00
Denis Cornehl
a840710e1e Fixed -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware. 2016-10-10 14:55:59 -04:00
Zach Borboa
bf91be83d5 Fixed -- Added ModelAdmin.get_exclude().
Thanks Ola Sitarska for the initial patch.
2016-10-07 18:49:28 -04:00
Mads Jensen
0a26f3c338 Fixed -- Added JsonAgg to contrib.postgres.
Thanks Tim Graham for review.
2016-10-07 07:52:03 -04:00
Adam Wróbel
52188a5ca6 Fixed -- Prevented exceptions that fail unpickling from crashing the parallel test runner. 2016-10-06 15:54:38 -04:00
Claude Paroz
979ea95608 Fixed -- Made makemigrations --dry-run output a string (no bytes)
Thanks Markus Holtermann for the report and the review.
2016-10-06 11:41:35 +02:00
Tim Graham
e5f5e8ac17 Refs -- Fixed LogEntry tests on MySQL 5.5. 2016-10-05 09:17:26 -04:00
Tim Graham
0083a4c8e9 Refs -- Deprecated @models.permalink() decorator. 2016-10-04 14:39:49 -04:00
François Freitag
aa9569fce1 Fixed -- Returned LogEntry instances from ModelAdmin.log_*() methods. 2016-10-04 14:08:53 -04:00
François Freitag
8ac115c730 Fixed -- Preserved ordering in select_for_update subqueries. 2016-10-04 10:46:29 -04:00
François Freitag
1db1f74617 Refs -- Reallowed using pk in QuerySet.get/update_or_create(). 2016-10-04 10:10:39 -04:00
Simon Charette
040bd7c938 Fixed -- Fixed a migration performance regression related to RenameModel operations.
Thanks Trac alias mtomiyoshi for the report, Marten Kenbeek for the initial
patch and Tim for the review.
2016-10-04 08:35:15 -04:00
Reto Aebersold
3ab55c1a8a Fixed -- Added CallableBool.__hash__(). 2016-10-04 07:44:19 -04:00
Claude Paroz
122c90a43b Fixed -- Removed BaseCommand.can_import_settings unused attribute
Thanks Tim Graham for the review.
2016-10-02 20:31:56 +02:00
Claude Paroz
67eee5e4fa Fixed -- Fixed ModelAdmin.construct_change_message() changed field detection
Thanks Ramiro Morales for the report and Tim Graham for the review.
2016-10-01 20:14:27 +02:00
Mariusz Felisiak
6e4e0f4ce4 Fixed -- Allowed MySQL transaction detection to work without table creation. 2016-10-01 10:01:44 -04:00
Claude Paroz
fa2f55cfd5 Refs -- Re-allowed makemessages without settings
Thanks Tim Graham for the review.
2016-10-01 14:57:16 +02:00
Tim Graham
87c5e7efeb Refs -- Fixed model form default fallback for CheckboxSelectMultiple. 2016-09-30 14:49:50 -04:00
Tim Graham
f6fe8ecc10 Refs -- Fixed isolation of test_fail_silently_on_connection_error.
The test wouldn't pass if a mail server is running on the system.
2016-09-30 12:22:52 -04:00
Tim Graham
79c91070e5 Confirmed support for PostGIS 2.3. 2016-09-30 10:00:04 -04:00
Tim Graham
a44fc008c4 Fixed -- Fixed crash in CreateModel optimization with models that use mixins.
Thanks Simon Charette for review.
2016-09-28 10:04:52 -04:00
Tim Graham
2317434147 Split admin_docs tests into separate files. 2016-09-27 18:54:35 -04:00
Mariusz Felisiak
14986a0b9d Fixed -- Restored an invalid related field lookup error message in QuerySet filtering. 2016-09-27 15:00:36 -04:00
Vesteinn Snaebjarnarson
602bffe758 Fixed -- Allowed SMTPBackend to fail silently on a socket connection error. 2016-09-27 14:34:49 -04:00
levental
617e36dc1e Fixed -- Allowed using PasswordResetForm with user models with an email field not named 'email'. 2016-09-27 11:59:00 -04:00
Berker Peksag
f7e91cac68 Fixed -- Documented contrib.auth.get_user(). 2016-09-27 10:41:14 -04:00
Tim Graham
6f3c78dbe6 Fixed -- Allowed using assertFormError()/assertFormsetError() in admin forms and formsets.
Thanks Diego Andrés Sanabria Martín for the report and review.
2016-09-27 09:56:19 -04:00
Sergey Fursov
6709ea4ae9 Fixed -- Fixed a crash in runserver logging.
Allowed ServerFormatter to handle simple string messages or messages with
formatting arguments. The formatter will set the server_time variable on
the log record if it's required by the format string but wasn't passed in
extra parameters.
2016-09-27 09:46:07 -04:00
François Freitag
a5e13a0b92 Fixed -- Made QuerySet.get_or_create()/update_or_create() error for a non-field in their arguments. 2016-09-24 20:16:16 -04:00
Tim Graham
b3330f52a8 Fixed typo in tests/aggregation_regress/tests.py. 2016-09-24 18:17:53 -04:00
Simon Charette
cecef94275 Fixed -- Fixed builtin text lookups on JSONField keys.
Thanks Nick Stefan for the report and Tim for the review.
2016-09-22 22:19:37 -04:00
Jani Tiainen
7a2c27112d Fixed -- Prevented pickling a query with an __in=inner_qs lookup from evaluating inner_qs. 2016-09-22 19:59:11 -04:00
Tim Graham
3507d4e773 Fixed -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
Thanks Matt Westcott for the review.
2016-09-22 12:20:58 -04:00
Claude Paroz
92323d54fd Fixed -- Allowed migrating geometry field dimension on PostGIS
Thanks Tim Graham for the review.
2016-09-22 16:40:27 +02:00
Claude Paroz
8e2ac3bcaf Refs -- Rearranged gis_migrations test case classes 2016-09-22 16:40:24 +02:00
Jon Dufresne
2c716c1dc7 Fixed -- Changed Select widget's selected attribute to use HTML5 boolean syntax. 2016-09-21 15:12:13 -07:00
levental
42dc9d0400 Fixed -- Prevented SMTP backend from trying to send mail after a connection failure. 2016-09-21 16:45:10 -04:00
Mathieu Pillard
2b8ccff3b6 Tested model signals "sender" parameter when defer() is used.
This was fixed when dynamic classes for deferred instance loading
was removed in 7f51876f99851fdc3fef63aecdfbcffa199c26b9.
2016-09-21 15:25:53 -04:00
Claude Paroz
d895fc9ac0 Refs -- Tested transaction.atomic() with KeyboardInterrupt. 2016-09-21 14:28:10 -04:00
Mads Jensen
094d630ae8 Fixed -- Added CITextField to contrib.postgres. 2016-09-21 12:11:37 -04:00
Tim Graham
3347dc6b4e Added tests for ArrayField lookup errors. 2016-09-20 10:14:47 -04:00
Alasdair Nicol
911d9f4ed1 Fixed -- Disabled check_pattern_startswith_slash if settings.APPEND_SLASH=False.
Thanks strycore for the report and timgraham for suggesting the
solution.
2016-09-19 21:00:12 -04:00
Dmitry Medvinsky
1a9f6db5ff Fixed -- Changed cx_Oracle client encoding to AL32UTF8 to allow 4-byte characters. 2016-09-19 20:19:57 -04:00
akki
358c6f21f8 Fixed -- Removed unnecessary CreateModel(... 'indexes': []) in migrations. 2016-09-19 10:17:16 -04:00
Tim Graham
e43ea36b76 Refs -- Fixed a timezone test for Python 3.6.
Reflects behavior changes in PEP 495 (Local Time Disambiguation).
2016-09-17 15:44:06 -04:00
Tim Graham
8119b679eb Refs -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
2016-09-17 15:44:06 -04:00
François Freitag
631ef6b272 Made FieldError/FieldDoesNotExist messages uniform across Python versions.
Removed possible u'' prefixes on Python 2.
2016-09-17 09:29:14 -04:00
Kevin Christopher Henry
22e303887b Refs -- Updated conditional header comparison to match RFC 7232. 2016-09-16 15:45:53 -04:00
Tim Graham
5a51b44936 Fixed -- Removed contrib.gis.maps. 2016-09-16 15:21:46 -04:00