summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-17Added BaseDatabaseSchemaEditor._effective_default() to allow testing without ↵Tim Graham
a connection.
2018-11-17Fixed #29505 -- Removed SchemaEditor's calling of callable defaults.Tim Graham
Thanks Eugene Pakhomov for the suggested fix.
2018-11-17Refs #29908 -- Optimized known related objects assignment.Simon Charette
Since CPython implements a C level attrgetter(*attrs) it even outperforms the most common case of a single known related object since the resulting attribute values tuple is built in C.
2018-11-17Doc'd purpose of "Database backend API" backwards incompatible changes section.Tim Graham
2018-11-17Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.Tim Graham
2018-11-17Added test for Model._check_column_name_clashes().Hasan Ramezani
2018-11-16Fixed typo in tests/admin_views/tests.py.Tim Graham
2018-11-16Fixed #29959 -- Cached GEOS version in WKBWriter class.Claude Paroz
Regression in f185d929fa1c0caad8c03fccde899b647d7248c6.
2018-11-16Removed release date for 2.0.10 and 1.11.17.Tim Graham
2018-11-15Fixed #29864 -- Added link targets for low-level cache API.Prabakaran Kumaresshan
2018-11-15Fixed #29952 -- Lowercased all passwords in contrib.auth's ↵Mathew Payne
auth/common-passwords.txt.gz.
2018-11-15Used auto-numbered lists in documentation.François Freitag
2018-11-15Added a test for a lookup in Model.refresh_from_db(fields=[...]).Hasan Ramezani
2018-11-15Fixed #17930 -- Allowed ORing (|) with sliced QuerySets.Ian Foote
2018-11-14Fixed #25884 -- Fixed migrate --run-syncdb when specifying an app label.Sarah Guermond
2018-11-14Fixed #29939 -- Increased Group.name max_length to 150 characters.Timothy Allen
2018-11-14Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering.Hasan Ramezani
2018-11-14Fixed #17210 -- Made NullBooleanSelect use unknown/true/false as query data.Basil Dubyk
2018-11-14Fixed typo in docs/ref/middleware.txt.Daniel Musketa
2018-11-13Fixed #29788 -- Added support for Oracle Managed File (OMF) tablespaces.Mariusz Felisiak
2018-11-13Fixed #29940 -- Recommended using the ORM rather than raw SQL.Katie McLaughlin
2018-11-13Fixed #29641 -- Added support for unique constraints in Meta.constraints.Simon Charette
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-13Generalized check constraint docs for other constraints.Simon Charette
2018-11-13Moved duplicate author declarations to setUpTestData() in DeleteViewTests.oliver
2018-11-13Refs #29641 -- Refactored database schema constraint creation.Simon Charette
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-12Fixed #29945 -- Moved contrib.postgres uninstallation logic to the app config.Simon Charette
2018-11-12Doc'd PermissionsMixin's usage of User.is_active and is_superuser.Tobias Bengfort
2018-11-12Corrected docs regarding RegisterLookupMixin subclasses.Sergey Fedoseev
2018-11-10Completed test coverage of contrib.humanize.templatetags.humanize.Hasan Ramezani
2018-11-10Updated some links to https and new locations.Mads Jensen
2018-11-10Removed dead links to botbot.me.Tim Graham
2018-11-10Fixed keep-alive support in manage.py runserver.Florian Apolloner
Ticket #25619 changed the default protocol to HTTP/1.1 but did not properly implement keep-alive. As a "fix" keep-alive was disabled in ticket #28440 to prevent clients from hanging (they expect the server to send more data if the connection is not closed and there is no content length set). The combination of those two fixes resulted in yet another problem: HTTP/1.1 by default allows a client to assume that keep-alive is supported unless the server disables it via 'Connection: close' -- see RFC2616 8.1.2.1 for details on persistent connection negotiation. Now if the client receives a response from Django without 'Connection: close' and immediately sends a new request (on the same tcp connection) before our server closes the tcp connection, it will error out at some point because the connection does get closed a few milli seconds later. This patch fixes the mentioned issues by always sending 'Connection: close' if we cannot determine a content length. The code is inefficient in the sense that it does not allow for persistent connections when chunked responses are used, but that should not really cause any problems (Django does not generate those) and it only affects the development server anyways. Refs #25619, #28440.
2018-11-09Used method chaining in DateTimeShortcuts.js.Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
2018-11-09Fixed #29941 -- Fixed missing variable in docs/ref/contrib/contenttypes.txt.Tim Graham
Regression in b47552b445547e60cc89213f79e02333cb63f270.
2018-11-09Fixed #29934 -- Added sqlparse as a require dependency.Tim Graham
2018-11-09Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins.Matthias Kestenholz
2018-11-09Removed unused variables.Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
2018-11-09Removed unused 'tz' variable in typecast_timestamp().Srinivas Reddy Thatiparthy
2018-11-09Fixed #29920 -- Added a test for smart_urlquote()'s UnicodeError branch.Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
2018-11-09Fixed #29931 -- Removed unused ValueError handling in naturalday template tag.Hasan Ramezani
2018-11-09Moved duplicate author declarations to setUpTestData() in UpdateViewTests.oliver
2018-11-09Fixed signing.dumps() example for Python 3.minusf
2018-11-08Fixed #29908 -- Fixed setting of foreign key after related set access if ↵Simon Charette
ForeignKey uses to_field. Adjusted known related objects handling of target fields which relies on from and to_fields and has the side effect of fixing a bug bug causing N+1 queries when using reverse foreign objects. Thanks Carsten Fuchs for the report.
2018-11-08Fixed #29933 -- Fixed typo in docs/intro/contributing.txt.mentix02
2018-11-06Refs #29926 -- Removed usage of gettext.translation()'s deprecated codeset ↵Tim Graham
parameter. https://bugs.python.org/issue33710
2018-11-06Used QuerySet.bulk_create() in a couple tests.oliver
2018-11-06Fixed #25251 -- Made data migrations available in TransactionTestCase when ↵romgar
using --keepdb. Data loaded in migrations were restored at the beginning of each TransactionTestCase and all the tables are truncated at the end of these test cases. If there was a TransactionTestCase at the end of the test suite, the migrated data weren't restored in the database (especially unexpected when using --keepdb). Now data is restored at the end of each TransactionTestCase.
2018-11-04Improved performance of runtests.py with os.scandir().Tom Forbes
2018-11-04Removed DatabaseOperation.savepoint_create/rollback_sql() on Oracle.Tom Forbes
Obsolete since 918f44e3ae650ff124067425d31c9d3deeba2224.
2018-11-03Refs #29883 -- Removed runtests.py's dependency on selenium.Tim Graham
Regression in d207ac1568bb4dee305f6692ed7ddee8a1ff8b99.