Tim Graham
419b6ec7d0
Removed unused branch in SQLCompiler.as_subquery_condition().
...
Unused since dcdc579d16
.
2016-09-27 09:58:53 -04:00
Tim Graham
6f3c78dbe6
Fixed #27266 -- 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 #27271 -- 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
Adam Chainz
b29c6c96c7
Removed missing name in django.db __all__.
...
'backend' hasn't existed since 051c666aca
.
2016-09-26 19:04:18 -04:00
Tim Graham
c47f8a9d4d
Removed obsolete lines in DeferredAttribute.__get__().
...
Obsolete as of c21e86ab9e
.
2016-09-26 18:47:07 -04:00
Adam Chainz
85f2bba7eb
Removed DatabaseError and IntegrityError declarations from database backends.
...
Unused since 11ee9746a0
.
2016-09-26 18:31:41 -04:00
François Freitag
a5e13a0b92
Fixed #27118 -- 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
5d55a26019
Removed unused FieldGetDbPrepValueMixin.get_prep_lookup_value().
...
Unused since its introduction in 4f138fe5a4
.
2016-09-24 17:30:43 -04:00
Tim Graham
f4bde7d9a1
Removed unused Prefetch.get_current_prefetch_through().
...
Unused since its introduction in f51c1f5900
.
2016-09-23 17:11:15 -04:00
Jon Dufresne
4ff389dcdc
Removed unused regexes from django.utils.html.
...
Last uses removed in commit 8b81dee60c
.
2016-09-23 11:24:50 -07:00
Claude Paroz
2c50120360
Fixed #27261 -- Added missing python-brace-format marker
...
Thanks Maxime Vdb for the report.
2016-09-23 20:01:31 +02:00
Simon Charette
cecef94275
Fixed #27257 -- 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
Simon Charette
658f1e81a7
Removed unnecessary casting when using builtin lookups on PostgreSQL.
2016-09-22 22:19:37 -04:00
Jani Tiainen
7a2c27112d
Fixed #27159 -- Prevented pickling a query with an __in=inner_qs lookup from evaluating inner_qs.
2016-09-22 19:59:11 -04:00
Mehdi Pourfar
13a8e633c2
Fixed #27158 -- Fixed positioning of admin's many-to-many widgets in rtl.css.
2016-09-22 19:23:24 -04:00
Tim Graham
3507d4e773
Fixed #27186 -- 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 #27056 -- Allowed migrating geometry field dimension on PostGIS
...
Thanks Tim Graham for the review.
2016-09-22 16:40:27 +02:00
Jon Dufresne
2c716c1dc7
Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 boolean syntax.
2016-09-21 15:12:13 -07:00
levental
42dc9d0400
Fixed #26210 -- Prevented SMTP backend from trying to send mail after a connection failure.
2016-09-21 16:45:10 -04:00
Tim Graham
cf0b402518
Alphabetized classes in contrib.postgres.operations.
2016-09-21 12:11:43 -04:00
Mads Jensen
094d630ae8
Fixed #26610 -- Added CITextField to contrib.postgres.
2016-09-21 12:11:37 -04:00
Tim Graham
b5aac66b28
Refs #27025 -- Fixed ArrayField querying on Python 3.6.
...
Python 3.6 parses strings like '0_1' as numeric literals.
http://bugs.python.org/issue26331
2016-09-20 10:14:47 -04:00
Alasdair Nicol
911d9f4ed1
Fixed #27238 -- 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 #27219 -- Changed cx_Oracle client encoding to AL32UTF8 to allow 4-byte characters.
2016-09-19 20:19:57 -04:00
akki
358c6f21f8
Fixed #27165 -- Removed unnecessary CreateModel(... 'indexes': []) in migrations.
2016-09-19 10:17:16 -04:00
Emin Mastizada
9023f25278
Removed invalid year character from datetime format in Azerbaijani locale.
...
Azerbaijani switched to Latin letters after Soviets and doesn't add il when
writing date time formats.
2016-09-19 08:23:51 -04:00
Tim Graham
8119b679eb
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
...
http://bugs.python.org/issue27364
2016-09-17 15:44:06 -04:00
Claude Paroz
35e649b197
Simplified PostGIS index creation
...
Less special-casing and code more in line with 'normal' index creation.
2016-09-17 19:43:52 +02:00
Claude Paroz
9715b99f91
Stopped deleting from the geometry_columns view on PostGIS
...
On PostGIS < 2, geometry_columns is a table that was manually maintained.
It's a view on PostGIS 2.
2016-09-17 16:39:37 +02: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
Chris Lamb
9027e6c8a3
Fixed #27235 -- Removed some usage of mutable default arguments.
2016-09-16 15:48:08 -04:00
Kevin Christopher Henry
22e303887b
Refs #27083 -- Updated conditional header comparison to match RFC 7232.
2016-09-16 15:45:53 -04:00
Tim Graham
5a51b44936
Fixed #26697 -- Removed contrib.gis.maps.
2016-09-16 15:21:46 -04:00
Jani Tiainen
727d7ce6cb
Fixed #27198 -- Made MultiValueDict.getlist() return a new list to prevent mutation.
2016-09-16 15:16:18 -04:00
Rinat Khabibiev
f9702977b7
Fixed #27211 -- Made UpdateCacheMiddleware include caching headers for "304 Not Modified" responses.
2016-09-14 19:37:18 -04:00
Jibodeah
9459ec82aa
Fixed #26170 -- Made ModelAdmin views run transactions on the correct database.
...
Thanks juntatalor for the initial patch.
2016-09-14 16:06:39 -04:00
Simon Charette
18c72d59e0
Fixed #27214 -- Made skip db features decorators respect wrapping order and inheritance.
2016-09-13 14:12:20 -04:00
Jeff Willette
7148929a5e
Fixed #27216 -- Corrected import location in admin deprecation messages.
2016-09-13 13:45:24 -04:00
Jon Dufresne
e24c0a2d7c
Fixed #26524 -- Fixed crash in admin change view when displaying many to many forward refs.
...
Thanks Tim Graham for the regression test.
2016-09-12 19:20:35 -07:00
Gavin Wahl
f0f3de3c96
Fixed #23155 -- Added request argument to user_login_failed signal.
2016-09-12 20:30:34 -04:00
Aleksej Manaev
4b9330ccc0
Fixed #25187 -- Made request available in authentication backends.
2016-09-12 20:11:53 -04:00
Simon Charette
32c0d823e5
Used a database feature to prevent the jsonb test model from being migrated.
...
Thanks Tim for the review.
2016-09-12 20:07:35 -04:00
Merike Sell
e6dface557
Fixed #27206 -- Corrected MONTH_DAY/DATE_FORMAT for et locale.
2016-09-12 10:21:15 -04:00
Claude Paroz
a1ad896422
Refs #27098 -- Added introspection for expression-based index on PostgreSQL
...
Also test it on PostGIS raster fields.
2016-09-12 09:26:33 +02:00
Claude Paroz
0c6fbea59b
Reformatted PostgreSQL query for better readability
2016-09-12 09:26:33 +02:00
Claude Paroz
d389125606
Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexes
...
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query.
Thanks Tim Graham for the review.
2016-09-12 09:26:33 +02:00
Jon Dufresne
1ec1633cb2
Fixed #26401 -- Added BaseAuthConfig to use auth without migrations.
2016-09-10 16:38:05 -07:00
Alexander Gaevsky
536db42cf0
Fixed #26097 -- Added password_validators_help_text_html to UserCreationForm.
2016-09-10 18:23:18 -04:00
Alexander Gaevsky
2d26b4637f
Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.
2016-09-10 16:54:10 -04:00
Kevin Christopher Henry
4ef0e019b7
Fixed #27083 -- Added support for weak ETags.
2016-09-10 08:14:52 -04:00