Rinat Khabibiev
9e07a9b5fe
Fixed #27226 -- Removed patch_response_headers()'s setting of the Last-Modified header.
2016-09-28 09:09:09 -04:00
Tim Graham
2317434147
Split admin_docs tests into separate files.
2016-09-27 18:54:35 -04:00
Zapelini
62543260dd
Fixed #27282 -- Allowed using an integer DATABASES['PORT'] for Oracle.
2016-09-27 15:01:30 -04:00
Mariusz Felisiak
14986a0b9d
Fixed #27268 -- Restored an invalid related field lookup error message in QuerySet filtering.
2016-09-27 15:00:36 -04:00
Vesteinn Snaebjarnarson
602bffe758
Fixed #27210 -- Allowed SMTPBackend to fail silently on a socket connection error.
2016-09-27 14:34:49 -04:00
levental
617e36dc1e
Fixed #20705 -- Allowed using PasswordResetForm with user models with an email field not named 'email'.
2016-09-27 11:59:00 -04:00
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
Tim Graham
e7abb5ba86
Fixed #27204 -- Made clashing m2m intermediary table checks ignore unmanaged models.
2016-09-09 19:18:37 -04:00
Mikhail Denisenko
bae64dd0f1
Fixed #27062 -- Eased implementing select_for_update() on MSSQL.
2016-09-09 11:57:38 -04:00
Tim Graham
ef021412d5
Normalized spelling of ETag.
2016-09-09 11:00:21 -04:00
Rinat Khabibiev
ca9c69a968
Fixed #27199 -- Made AdminIntegerFieldWidget use NumberInput.
2016-09-09 09:42:39 -04:00
Simon Charette
aca939b6e5
Fixed #27195 -- Stopped dropping default when adding a nullable column.
...
Thanks Rob Golding from Zapier for the report.
2016-09-09 00:48:50 -04:00
Jon Dufresne
331ca5391e
Fixed #27175 -- Deprecated silencing exceptions from the {% include %} template tag.
...
Thanks Tim Graham for the review.
2016-09-08 18:24:22 -07:00
Chris Jerdonek
7ca3b391b6
Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing.
2016-09-08 16:33:36 -04:00
Simon Charette
0bbab97c28
Refs #15250 -- Removed an obsolete comment regarding MTI cascade deletion.
2016-09-08 00:20:54 -04:00
Jon Dufresne
66e1ebbffc
Fixed #26956 -- Added success_url_allowed_hosts to LoginView and LogoutView.
...
Allows specifying additional hosts to redirect after login and log out.
2016-09-07 19:56:25 -07:00
Jon Dufresne
f227b8d15d
Refs #26956 -- Allowed is_safe_url() to validate against multiple hosts
2016-09-07 19:56:25 -07:00
Nicola Jordan
978a00e39f
Fixed #27143 -- Allowed combining SearchQuery with more than one & or | operators.
2016-09-07 15:26:52 -04:00
Tim Graham
2eb7d6e6d4
Fixed #26908 -- Fixed crash with jsonfield__key__isnull lookup.
2016-09-07 13:56:45 -04:00
Anatoly Burov
7b6dccc82f
Fixed #27191 -- Fixed debug view crash for requests with 'items' in GET/POST/COOKIES/FILES.
2016-09-07 13:47:09 -04:00
Markus Gerards
2b64ff68cc
Fixed #27180 -- Fixed a crash in MySQL checks where SELECT @@sql_mode doesn't return a result.
2016-09-07 11:15:41 -04:00
Tim Graham
6a2af01452
Fixed #24865 -- Added remove_stale_contenttypes management command.
...
Thanks Simon Charette for the review.
2016-09-06 09:48:58 -04:00
Curtis Maloney
4c94336510
Removed transitive import of types.MethodType from six.
2016-09-06 07:19:27 -04:00
Ivan
9a2a52558e
Fixed #27171 -- Added unicode_literals and coding preamble to all files in startapp template on Python 2.
2016-09-03 12:00:00 -04:00
Tim Graham
277fe2e8f2
Fixed #25788 -- Enabled the cached template loader if debug is False.
2016-09-03 09:06:33 -04:00
Claude Paroz
2ced2f785d
Replaced smart_* by force_* calls whenever possible
...
The smart_* version should only be used when a lazy string should keep
its lazy status.
2016-09-03 13:46:41 +02:00
Daniel Hahler
b1d6b0a7b1
Fixed #26098 -- Used cdnjs.cloudflare for OpenLayers.js.
2016-09-03 06:52:25 -04:00
Akshesh
dbccf163b6
Fixed #27097 -- Added index type introspection to built-in db backends.
2016-09-02 21:14:12 -04:00
Daniel Wiesmann
082f5bfdbc
Added error messages for GIS DB functions when used with rasters.
2016-09-02 20:26:16 -04:00
Marcos Vives Del Sol
d6b9aab37c
Fixed #25476 -- Allowed PostgreSQL introspection to work regardless of table owner.
2016-09-02 20:11:23 -04:00
François Freitag
8c054ed71d
Fixed #27108 -- Displayed collectstatic's delete/overwrite warnings only if some files exist in STATIC_ROOT.
2016-09-02 14:53:18 -04:00
Ed Morley
f02dbbe1ae
Fixed #11331 -- Stopped closing pylibmc connections after each request.
...
libmemcached manages its own connections, so isn't affected by refs #5133 .
2016-09-02 14:44:27 -04:00
Tim Graham
098c07a032
Fixed #27142 , #27110 -- Made makemigrations consistency checks respect database routers.
...
Partially reverted refs #27054 except for one of the tests as this
solution supersedes that one.
Thanks Shai Berger for the review.
2016-09-01 16:19:29 -04:00
Sergei Maertens
32c02f2a0e
Fixed #5908 -- Added {% resetcycle %} template tag.
...
Thanks to Simon Litchfield for the report, Uninen for the initial
patch, akaihola, jamesp, b.schube, and Florian Appoloner for
subsequent patches, tests, and documentation.
2016-09-01 15:52:21 -04:00
Riccardo Magliocchetti
7ed8b98f42
Clarified URL regex check message with respect to include().
2016-09-01 14:06:45 -04:00
Alex Hill
d9c083cfee
Refs #27039 -- Fixed regression with field defaults in prefixed forms.
2016-09-01 09:13:21 -04:00
Adam Zapletal
ca2ccf54ff
Fixed #24112 -- Fixed assertInHTML()'s counting if needle has no root element.
2016-08-31 20:41:34 -04:00
Jon Dufresne
ff1e7b4eb4
Fixed #25181 -- Added localdate() function to get date in a different time zone.
...
Thanks Konrad Świat for the original patch.
2016-08-31 17:19:33 -07:00
Ed Morley
d8ef5b0e65
Fixed #27152 -- Supported comma delimiter in memcached LOCATION string.
2016-08-31 17:23:41 -04:00
Tim Graham
59afe61a97
Fixed #27140 -- Prevented template rendering from hiding a property's TypeError.
2016-08-31 13:44:38 -04:00
Ed Morley
65ec8fa8ca
Fixed #20892 -- Allowed configuring memcached client using OPTIONS.
...
Previously, the MemcachedCache backend ignored `OPTIONS` and
PyLibMCCache used them to set pylibmc behaviors. Both backends now
pass `OPTIONS` as keyword arguments to the client constructors.
2016-08-31 12:50:14 -04:00
Olexander Yermakov
b7fb608142
Fixed #27154 -- Allowed comparing CallableBool with bitwise or.
...
Thanks Tim for the review.
2016-08-31 08:27:37 -04:00
Claude Paroz
fe252c0a5a
Fixed #27131 -- Passed proper string type to SMTP connection login
...
Passing an Unicode string on Python 2 was crashing the connection.
Thanks slavugan@gmail.com for the report, and Tim Graham for the review.
2016-08-31 09:00:41 +02:00
Ryan Allen
190d2ff4a7
Fixed #27153 -- Added validation for HttpResponse status.
2016-08-30 21:59:43 -04:00
Tim Graham
96ee486ea4
Fixed #27081 -- Allowed migrations to serialize methods on pypy.
2016-08-30 21:47:34 -04:00
Kevan Swanberg
35504f74a8
Fixed #26685 -- Added dwithin lookup support on SpatiaLite.
2016-08-30 20:45:47 -04:00
Simon Charette
0d7929266e
Fixed #25109 -- Stopped silencing explicitly specified migration modules import errors.
...
Thanks Tim for the review.
2016-08-30 19:50:42 -04:00
Claude Paroz
a72411e140
Removed double semicolon in SQL query
2016-08-30 19:12:55 +02:00
Akshesh
4c7bf83cde
Refs #27097 , #27098 -- Moved PostgreSQL index type introspection to get_constraints().
2016-08-30 08:48:55 -04:00
Pavel Sutyrin
3fe92f4477
Clarified topological_sort_as_sets() docstring.
2016-08-29 13:58:39 -04:00
Jon Dufresne
ae98d40c35
Fixed #27136 -- Changed auth forms' autofocus attribute to HTML5 boolean syntax.
2016-08-28 17:19:50 -07:00
Baptiste Mispelon
61b45dff6b
Fixed #27126 -- Made {% regroup %} return a namedtuple to ease unpacking.
2016-08-26 16:59:21 -04:00
Baptiste Mispelon
47f57d6776
Changed the example in the {% regroup %} docstring.
2016-08-26 16:24:56 -04:00
Chris Jerdonek
42dcceba61
Fixed #26942 -- Added support for subtests during parallel testing.
2016-08-26 14:24:27 -04:00
Berker Peksag
a02b5848ae
Replaced property() usage with decorator in several places.
2016-08-25 20:06:22 -04:00
Claude Paroz
066283a11d
Removed unneeded smart_text
2016-08-25 22:49:31 +02:00
Mattias Loverot
2315114090
Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().
2016-08-25 16:12:40 -04:00
Claude Paroz
13c3e5d5a0
Fixed #25995 -- Added an encoder option to JSONField
...
Thanks Berker Peksag and Tim Graham for the reviews.
2016-08-25 21:42:42 +02:00
Tim Graham
4bc6b93994
Fixed #27039 -- Fixed empty data fallback to model field default in model forms.
2016-08-24 17:50:10 -04:00
Berker Peksag
426bca002c
Fixed #26816 -- Corrected an admin check to require inlines to subclass InlineModelAdmin.
2016-08-24 17:34:32 -04:00
Berker Peksag
3c97ba2a0d
Replaced property() usage with decorator in a couple places.
2016-08-24 17:23:16 -04:00
Tim Graham
a3abbe1fcb
Removed a blank line per isort.
2016-08-24 13:58:57 -04:00
Berker Peksag
3c18f8a3d2
Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
2016-08-24 13:20:12 -04:00
Mattias Loverot
9aaeec337e
Fixed #26866 -- Added format_lazy function
...
Added format_lazy function to django.utils.text module.
Useful when dealing with relative complex lazy string concatenations
(e.g. in urls.py when translating urls in regular expressions).
2016-08-24 18:18:17 +02:00
Tim Graham
953629b92c
Fixed #27072 -- Fixed AddGeometryColumn error when altering a SpatiaLite table.
2016-08-24 08:44:45 -04:00
Simon Charette
d5c4ea5246
Fixed #27100 -- Included already applied migration changes in the pre-migrate state.
...
Refs #24100 .
Thanks Tim for the review.
2016-08-24 01:17:48 -04:00
Simon Charette
d1757d8df4
Fixed #27044 -- Included already applied migration changes in the post-migrate state when the execution plan is empty.
...
Refs #24100 .
Thanks tkhyn for the report and Tim for the review.
2016-08-24 01:17:18 -04:00
Tim Graham
ad25fe7350
Fixed #27089 -- Added database alias to InconsistentMigrationHistory message.
2016-08-23 17:39:58 -04:00
Matthew Somerville
fb951fb0c5
Fixed #27103 -- Registered vcapi/rcapi GDAL prototypes based on their own drivers.
2016-08-23 17:30:11 -04:00
Claude Paroz
48c34f3336
Fixed #26971 -- Prevented crash with non-UTF-8 incoming PATH_INFO
...
Thanks Tim Graham and Loïc Bistuer for the reviews.
2016-08-23 22:40:07 +02:00
Collin Anderson
384f89f8f8
Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
...
This partially reverts 983c158da7
2016-08-23 16:00:12 -04:00
Chris Jerdonek
a3db480393
Fixed #27061 -- Added a TEST['TEMPLATE'] setting for PostgreSQL.
2016-08-23 15:08:20 -04:00
Helen Sherwood-Taylor
bc1e2d8e8e
Fixed #27018 -- Fixed admindocs crash with a view in a class.
...
Generated correct admindocs URLs on Python 3. URLs generate 404s on
Python 2, as in older versions of Django.
2016-08-20 10:01:57 -04:00
Claude Paroz
00bb47b58f
Fixed #27096 -- Fixed primary key introspection for sqlite3 backend
2016-08-20 15:57:17 +02:00
Przemysław Suliga
1f68bb5683
Refs #26902 -- Protected against insecure redirects in set_language().
2016-08-19 19:16:00 -04:00
Przemysław Suliga
549b90fab3
Refs #26902 -- Protected against insecure redirects in Login/LogoutView.
2016-08-19 19:01:01 -04:00
Przemysław Suliga
5e5a17028f
Fixed #26902 -- Allowed is_safe_url() to require an https URL.
...
Thanks Andrew Nester, Berker Peksag, and Tim Graham for reviews.
2016-08-19 18:51:33 -04:00
Tim Graham
1d1e246db6
Removed DateTimeAwareJSONEncoder alias.
2016-08-19 15:00:16 -04:00
Matthew Wilkes
4f138fe5a4
Fixed #22288 -- Fixed F() expressions with the __range lookup.
2016-08-19 13:40:56 -04:00
Chris Jerdonek
f6cd669ff2
Fixed #22414 -- Ensured that LiveServerTestCase closes connections.
2016-08-19 12:47:41 -04:00
Jon Dufresne
f5c6d3c8d9
Fixed #27068 -- Unified form field initial data retrieval.
2016-08-18 17:55:47 -07:00
Ian Foote
39f35d4b9d
Fixed #25871 -- Added expressions support to QuerySet.values().
2016-08-18 16:05:15 -04:00
Loïc Bistuer
d4eefc7e2a
Fixed #27073 -- Removed duplicated managers in `Model._meta.managers`.
2016-08-19 01:24:45 +07:00
Jim Nicholls
76ab885118
Fixed #27054 -- Fixed makemigrations crash with a read-only database.
2016-08-18 08:27:40 -04:00
Chris Jerdonek
3d0a3c5fff
Fixed #27077 -- Made SQLite's in-memory database checks DRYer.
2016-08-17 20:34:18 -04:00
Chris Jerdonek
49fcbe73c5
Fixed #27078 -- Simplified "if" logic in SQLite's _get_test_db_name().
2016-08-17 16:20:01 -04:00
Andreas Pelme
e76981b433
Fixed #26840 -- Added test.utils.setup/teardown_databases().
2016-08-17 13:55:04 -04:00
Adam Chainz
19e20a2a3f
Fixed crash comparing CheckMessage objects to non-CheckMessage objects.
2016-08-16 17:17:34 -04:00
Akshesh
c969b17ad8
Refs #26709 -- Added type check for models.Index fields argument.
2016-08-16 09:53:50 -04:00
Akshesh
a71724cd04
Refs #26709 -- Added index name to AddIndex.describe().
2016-08-16 09:11:33 -04:00
Ian Foote
698be78d74
Fixed #24854 -- Refactored QuerySet._values
...
Added django.db.models.sql.query.Query.set_values() method to handle
query mutation.
2016-08-16 10:03:40 +10:00
Tim Graham
7549eb0004
Fixed #27009 -- Made update_session_auth_hash() rotate the session key.
2016-08-15 19:29:12 -04:00
Tim Graham
937d752d3d
Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable.
...
Thanks Sergei Maertens for the report and patch.
2016-08-15 15:39:22 -04:00
Claude Paroz
21aec54296
Removed unnecessary registration of psycopg2 unicode extensions on Python 3
2016-08-15 20:57:57 +02:00
Daniel Wiesmann
89f17e7caf
Fixed #27014 -- Fixed annotations with database functions on PostGIS.
...
Thanks Sean Mc Allister for providing a test.
2016-08-15 14:23:10 -04:00
Chris Jerdonek
48ede58971
Fixed #27057 -- Made setup_test_environment() store saved settings in one place.
2016-08-15 13:53:06 -04:00
Curtis Maloney
d7e0cf04b7
Used all() and a generator for PermissionsMixin.has_perms().
2016-08-13 08:46:51 -04:00
Tim Graham
ba749f8f87
Refs #13408 -- Removed obsolete code/comments from {% for %} unpacking deprecation.
2016-08-13 08:45:41 -04:00
Chris Jerdonek
5890b1613c
Fixed #27008 -- Added --debug-mode option to DiscoverRunner.
2016-08-12 20:43:17 -04:00
Akshesh
6e07ec3f65
Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.
2016-08-12 18:37:03 -04:00
Akshesh
236baa0f0e
Refs #27030 -- Added BtreeGinExtension operation.
2016-08-12 18:37:00 -04:00