Tim Graham
8045dff98c
Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.
2019-01-17 10:50:25 -05:00
Tim Graham
573ec714e5
Refs #25978 -- Removed shortcuts.render_to_response() per deprecation timeline.
2019-01-17 10:50:25 -05:00
Tim Graham
944469939b
Refs #25175 -- Removed db.backends.postgresql_psycopg2 per deprecation timeline.
2019-01-17 10:50:25 -05:00
Tim Graham
ec7e179aeb
Removed versionadded/changed annotations for 2.1.
2019-01-17 10:50:25 -05:00
Tim Graham
eb0ce6fa36
Added stub release notes for 3.0.
2019-01-17 10:50:25 -05:00
Tim Graham
ffe53096a9
Bumped version; master is now 3.0 pre-alpha.
2019-01-17 10:50:24 -05:00
Carlton Gibson
a0c059995a
Removed empty sections from 2.2 release notes.
2019-01-17 16:25:02 +01:00
Carlton Gibson
ba1a3c6034
Updated man page for Django 2.2 alpha.
2019-01-17 16:25:02 +01:00
Santiago Basulto
4fc35a9c3e
Fixed #20147 -- Added HttpRequest.headers.
2019-01-16 13:38:47 -05:00
Arthur Rio
181fb60159
Fixed #11154 , #22270 -- Made proxy model permissions use correct content type.
...
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-16 10:07:28 -05:00
Collin Anderson
769355c765
Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model.
2019-01-15 11:12:17 -05:00
David Beitey
885cb0d390
Fixed "lets" mistakes in docs.
2019-01-14 20:32:19 -05:00
Nick Pope
6d4efa8e6a
Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.
...
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:39:46 -05:00
Nick Pope
e85afa5943
Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.
...
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:38:00 -05:00
Nick Pope
c690afb873
Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.
...
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:35:41 -05:00
Tom Forbes
c8720e7696
Fixed #27685 -- Added watchman support to the autoreloader.
...
Removed support for pyinotify (refs #9722 ).
2019-01-13 20:33:47 -05:00
Nick Pope
abf8e390a4
Refs #28643 -- Added Reverse database function.
...
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12 10:45:48 -05:00
Paveł Tyślacki
b69f8eb04c
Fixed #30062 -- Added support for unique conditional constraints.
2019-01-12 09:50:20 -05:00
can
7d3b3897c1
Refs #29738 -- Allowed registering serializers with MigrationWriter.
2019-01-11 18:13:16 -05:00
MaximZemskov
3c01fe30f3
Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
...
Restored backwards compatibility after refs #27991 .
Regression in be6ca89396
.
2019-01-11 18:02:43 -05:00
Sanyam Khurana
76d31be2d0
Refs #23829 -- Made ping_google command/function use https for the sitemap URL.
2019-01-11 10:32:22 -05:00
Sanyam Khurana
6d73278d38
Documented ping_google()'s ping_url argument.
2019-01-11 09:43:51 -05:00
Simon Charette
41e73de39d
Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.
...
SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests.
2019-01-10 19:11:21 -05:00
Simon Charette
8c775391b7
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
2019-01-10 19:11:21 -05:00
Tim Graham
cf1fe22009
Fixed typos in docs/ref/models/constraints.txt.
2019-01-10 18:52:42 -05:00
Mads Jensen
4b9d72210f
Refs #28643 -- Added NullIf database function.
...
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-10 12:10:12 -05:00
Claude Paroz
31ebb1d564
Added Armenian language
2019-01-10 10:50:42 +01:00
Joshua Cannon
db1b10ef0d
Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user().
2019-01-09 20:01:04 -05:00
Tim Graham
4ca2820ff5
Corrected whitespace in docs/ref/contrib/auth.txt.
2019-01-09 18:22:29 -05:00
Hasan Ramezani
52d06d3041
Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.
2019-01-09 17:54:46 -05:00
Simon Charette
bc05547cd8
Fixed #28658 -- Added DISTINCT handling to the Aggregate class.
2019-01-09 17:52:36 -05:00
Nick Pope
a35d2a4510
Refs #23748 -- Added AutoField introspection for SQLite.
2019-01-09 09:59:15 -05:00
Tim Graham
36fceeec88
Added stub 2.1.6 release notes.
2019-01-08 08:57:22 -05:00
Tim Graham
162ae9c914
Added CVE-2019-3498 to the security release archive.
2019-01-04 09:24:47 -05:00
Tom Hacohen
1ecc0a395b
Fixed #30070 , CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page.
...
Co-Authored-By: Tim Graham <timograham@gmail.com>
2019-01-03 21:21:55 -05:00
Jozef
5bbf31634f
Fixed typo in docs/ref/migration-operations.txt.
2019-01-02 17:56:25 -05:00
Tim Graham
02c07be95c
Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
...
Thanks andreage for the report and suggested fix.
2019-01-01 09:42:14 -05:00
Paveł Tyślacki
0123b67f6b
Fixed #30060 -- Moved SQL generation for indexes and constraints to SchemaEditor.
2019-01-01 09:39:58 -05:00
Paveł Tyślacki
bdf3863bdd
Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor of Meta.constraints.
2018-12-29 20:01:29 -05:00
Adam Johnson
b71e3d635a
Added examples to HttpRequest.build_absolute_uri() docs.
2018-12-29 19:44:45 -05:00
Matt Wiens
e817ae74da
Followed style guide for model attribute ordering.
2018-12-27 19:34:14 -05:00
Jon Dufresne
6fe9c45b72
Fixed #30024 -- Made urlencode() and Client raise TypeError when None is passed as data.
2018-12-27 11:19:55 -05:00
Vedran Karačić
293db9eb36
Updated OWASP Top 10 link to the latest version.
2018-12-27 09:23:40 -05:00
CHI Cheng
b7dbd5ff68
Fixed broken links to PyYAML page.
2018-12-27 10:48:37 +01:00
Marten Kenbeek
7a6dbbb655
Added import locations to contrib.postgres aggregates and validators docs.
2018-12-24 16:36:00 -05:00
Nick Pope
83677faf86
Fixed #30056 -- Added SQLite support for StdDev and Variance functions.
2018-12-24 11:14:58 -05:00
Sanyam Khurana
5d25804eaf
Fixed #20098 -- Added a check for model Meta.db_table collisions.
2018-12-24 10:40:11 -05:00
Nick Pope
e626a3f993
Renamed Sqlite and Sqlite3 references to SQLite.
2018-12-22 18:52:54 -05:00
Tim Graham
d5af14aa84
Fixed #30055 -- Dropped support for SQLite < 3.8.3.
2018-12-22 16:59:28 -05:00
Simon Charette
c5b58d7767
Refs #29928 -- Adjusted release notes of SQLite test constraint checking.
2018-12-22 14:32:40 -05:00
François Freitag
e671337e8b
Fixed #29750 -- Added View.setup() hook for class-based views.
2018-12-21 19:01:11 -05:00
Carlton Gibson
bbe28fa076
Refs #30015 -- Added 2.1.5 release note and removed 'we' in comments.
2018-12-20 21:30:13 -05:00
Dakota Hawkins
8d3147e130
Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations.
2018-12-19 12:41:31 +01:00
Simon Charette
1939dd49d1
Fixed #29928 -- Enabled deferred constraint checks on SQLite 3.20+.
...
Refs #11665 , #14204 .
Thanks Michel Samia for the report.
2018-12-17 11:03:44 +01:00
Simon Charette
315357ad25
Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
...
Prior to this change foreign key constraint references could be left pointing
at tables dropped during operations simulating unsupported table alterations
because of an unexpected failure to disable foreign key constraint checks.
SQLite3 does not allow disabling such checks while in a transaction so they
must be disabled beforehand.
Thanks ezaquarii for the report and Carlton and Tim for the review.
2018-12-15 18:51:59 -05:00
Carlton Gibson
a394289b58
Fixed #30036 -- Removed unused imports in pagination example.
2018-12-12 18:49:47 +01:00
Jon Dufresne
c5568340a5
Added blank line in docs/releases/2.2.txt.
2018-12-09 10:26:55 -05:00
Simon Charette
c8ffdbe514
Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+.
...
SQLite 3.26 repoints foreign key constraints on table renames even when
foreign_keys pragma is off which breaks every operation that requires
a table rebuild to simulate unsupported ALTER TABLE statements.
The newly introduced legacy_alter_table pragma disables this behavior
and restores the previous schema editor assumptions.
Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and
troubleshooting assistance.
2018-12-07 13:32:37 -05:00
Benjamin Wohlwend
79c196cfb2
Fixed #28766 -- Added ResolverMatch.route.
...
Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
2018-12-06 18:05:40 -05:00
Rodrigo
ad191d9e01
Fixed #29895 -- Doc'd why MySQL's atomic DDL statements don't work for atomic migrations.
2018-12-06 16:03:02 -05:00
Tim Graham
88619e6129
Bumped mysqlclient requirement to >= 1.3.13.
...
There are test failures with older versions.
2018-12-06 14:49:27 -05:00
Tim Graham
4c7c608a1d
Reverted "Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb."
...
This reverts commits b3b1d3d45f
and
9fa0d3786f
due to reverse build failures
for which a solution isn't forthcoming.
2018-12-05 15:30:23 -05:00
Tim Graham
284b3221a2
Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with mysqlclient 1.3.14+.
2018-12-05 14:46:23 -05:00
Carlton Gibson
196b420fcb
Added stub release notes for 2.1.5 release.
2018-12-04 16:21:38 +01:00
Carlton Gibson
346721a038
Added release date for 2.1.4.
2018-12-03 17:29:46 +01:00
Carlton Gibson
8245c99ee6
Fixed #29930 -- Allowed editing in admin with view-only inlines.
...
Co-authored-by: Tim Graham <timograham@gmail.com>
2018-12-03 07:44:18 -08:00
Carlton Gibson
950112548e
Added release date for 1.11.17.
2018-12-03 15:14:58 +01:00
raratiru
793a71b7be
Fixed #29991 -- Doc'd logger propogation for the default logging config.
2018-11-29 16:59:43 -05:00
Basil Dubyk
7d1123e5ad
Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields.
2018-11-28 15:40:14 -05:00
Tim Graham
682cdf6cab
Refs #28205 -- Corrected ModelAdmin.prepopulated_fields docs regarding when they're populated.
2018-11-28 14:48:03 -05:00
Tim Graham
926fa7116f
Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.
2018-11-27 11:20:23 -05:00
Simon Charette
9a7d336c38
Corrected Aggregate docs to reflect that it accepts multiple expressions.
2018-11-27 09:22:24 -05:00
Mariusz Felisiak
f091ea3515
Refs #29722 -- Added introspection of materialized views for Oracle.
...
Thanks Tim Graham for the review.
2018-11-26 19:45:05 +01:00
Damian Dimmich
133e79399a
Updated docs for fast column creation with defaults in PostgreSQL 11.
2018-11-26 09:51:29 -05:00
Nick Pope
c512912463
Refs #23801 -- Made integer field max_length warning show correct field type.
2018-11-23 14:40:46 -05:00
andreage
78fc64578a
Fixed typo in docs/topics/i18n/translation.txt.
2018-11-23 10:11:51 +01:00
Mariusz Felisiak
d5f4ce9849
Fixed #29949 -- Refactored db introspection identifier converters.
...
Removed DatabaseIntrospection.table_name_converter()/column_name_converter()
and use instead DatabaseIntrospection.identifier_converter().
Removed DatabaseFeatures.uppercases_column_names.
Thanks Tim Graham for the initial patch and review and Simon Charette
for the review.
2018-11-21 09:06:50 +01:00
redodo
2e4776196d
Fixed #29953 -- Added CSS class to column headers in tabular inlines.
...
The class name is the same as one given to the fields in the change list.
2018-11-20 18:17:53 -05:00
Tim Graham
5d327a63ef
Refs #29849 -- Forwardported 2.1.4 release note.
2018-11-20 17:45:29 -05:00
Tim Graham
3529d0eabf
Corrected docs and removed unused code for got_request_exception signal's sender argument.
...
Inaccurate since 7d1b69dbe7
.
2018-11-20 10:15:58 -05:00
Nick Pope
ebd270627c
Refs #29722 -- Added introspection of partitions for PostgreSQL.
2018-11-19 14:06:01 -05:00
Thomas Grainger
0607699902
Fixed #29478 -- Added support for mangled names to cached_property.
...
Co-Authored-By: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2018-11-19 13:40:49 -05:00
Tim Graham
f436c82637
Doc'd purpose of "Database backend API" backwards incompatible changes section.
2018-11-17 15:58:10 -05:00
Tim Graham
2fd21a1858
Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.
2018-11-17 15:40:35 -05:00
Claude Paroz
e7e5505902
Fixed #29959 -- Cached GEOS version in WKBWriter class.
...
Regression in f185d929fa
.
2018-11-16 14:45:21 -05:00
Tim Graham
97cec6f75d
Removed release date for 2.0.10 and 1.11.17.
2018-11-16 09:34:10 -05:00
Prabakaran Kumaresshan
8250538bfc
Fixed #29864 -- Added link targets for low-level cache API.
2018-11-15 17:32:41 -05:00
Mathew Payne
26bb2611a5
Fixed #29952 -- Lowercased all passwords in contrib.auth's auth/common-passwords.txt.gz.
2018-11-15 14:11:03 -05:00
François Freitag
9b15ff08ba
Used auto-numbered lists in documentation.
2018-11-15 13:54:28 -05:00
Timothy Allen
e819554018
Fixed #29939 -- Increased Group.name max_length to 150 characters.
2018-11-14 15:13:34 -05:00
Basil Dubyk
35a08b8541
Fixed #17210 -- Made NullBooleanSelect use unknown/true/false as query data.
2018-11-14 13:43:34 -05:00
Daniel Musketa
ca2856fb62
Fixed typo in docs/ref/middleware.txt.
2018-11-14 09:47:22 -05:00
Mariusz Felisiak
ff8020ed49
Fixed #29788 -- Added support for Oracle Managed File (OMF) tablespaces.
2018-11-13 18:22:41 -05:00
Katie McLaughlin
9886dffdf4
Fixed #29940 -- Recommended using the ORM rather than raw SQL.
2018-11-13 18:15:24 -05:00
Simon Charette
db13bca60a
Fixed #29641 -- Added support for unique constraints in Meta.constraints.
...
This constraint is similar to Meta.unique_together but also allows
specifying a name.
Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13 17:57:27 -05:00
Simon Charette
8eae094638
Generalized check constraint docs for other constraints.
2018-11-13 17:57:27 -05:00
Simon Charette
dba4a634ba
Refs #29641 -- Refactored database schema constraint creation.
...
Added a test for constraint names in the database.
Updated SQLite introspection to use sqlparse to allow reading the
constraint name for table check and unique constraints.
Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13 15:25:44 -05:00
Tobias Bengfort
b1243a55a5
Doc'd PermissionsMixin's usage of User.is_active and is_superuser.
2018-11-12 10:44:22 -05:00
Sergey Fedoseev
d48662122c
Corrected docs regarding RegisterLookupMixin subclasses.
2018-11-12 10:20:35 -05:00
Mads Jensen
961f8e9985
Updated some links to https and new locations.
2018-11-10 17:40:50 -05:00