| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-11 | Refs #32018 -- Used --header-link-color for header links in admin. | Michel Le Bihan | |
| 2021-01-11 | Fixed #32313 -- Corrected QuerySet.in_bulk() signature. | Iuri de Silvio | |
| 2021-01-11 | Refs #31791 -- Improved performance of URLResolver.resolve(). | David Smith | |
| Performance regression in 11ebc6479ffda87376b60c9475d33d8120f86368. | |||
| 2021-01-09 | Fixed typo in docs/internals/contributing/writing-code/coding-style.txt. | hashlash | |
| 2021-01-07 | Fixed #32191 -- Made CookieStorage use RFC 6265 compliant format. | Florian Apolloner | |
| Co-authored-by: Craig Smith <hello@craigiansmith.com.au> | |||
| 2021-01-07 | Fixed #32315 -- Doc'd FieldFile.path. | Hasan Ramezani | |
| 2021-01-07 | Fixed #32018 -- Extracted admin colors into CSS variables. | Matthias Kestenholz | |
| Defined all colors used in the admin CSS as variables. Implemented the following standardizations and accessibility improvements while at it: - Improved the contrast of text to not use ratios of less than 3:1 anymore. - Most hover states already used desaturated and darkened colors. Changed object tools to follow the same rule instead of showing the primary color on hover. Various places used similar colors; those have been merged with the goal of reducing the count of CSS variables. Contrasts have been improved in a few places. - Many borders used slightly different colors (e.g. #eaeaea vs. #eee) - Help texts used #999, this has been changed to --body-quiet-color (#666) which has a better contrast. Introduced fast color transitions on links and buttons. | |||
| 2021-01-06 | Refs #32191 -- Added Signer.sign_object()/unsign_object(). | Florian Apolloner | |
| Co-authored-by: Craig Smith <hello@craigiansmith.com.au> | |||
| 2021-01-06 | Refs #25175 -- Removed postgresql_psycopg2 in django.db.utils.load_backend(). | Mariusz Felisiak | |
| Follow up to 944469939b9eb93fda0924f78faba5c0ffae2dff. | |||
| 2021-01-06 | Fixed #32322 -- Fixed autocomplete widget wrapping. | Viktor Grabov | |
| 2021-01-05 | Fixed #32314 -- Fixed detection when started non-django modules with "python ↵ | William Schwartz | |
| -m" in autoreloader. django.utils.autoreload.get_child_arguments() detected when Python was started with the `-m` option only for `django` module. This commit changes the logic to check __spec__, see https://docs.python.org/3/reference/import.html#main-spec Now packages can implement their own __main__ with the runserver command. | |||
| 2021-01-05 | Fixed #32231 -- Allowed passing None params to QuerySet.raw(). | Alexander Lyabah | |
| 2021-01-05 | Refs #32231 -- Added tests for QuerySet.raw() with an escaped % symbol. | Alexander Lyabah | |
| 2021-01-04 | Fixed #32310 -- Fixed note about reverse accessors for intermediate table ↵ | Fabio Sangiovanni | |
| for self-referential ManyToManyField. | |||
| 2021-01-04 | Fixed #32298 -- Fixed URLValidator hostname length validation. | Akshat1Nar | |
| URLValidator now validates the maximum length of a hostname without the userinfo and port. | |||
| 2021-01-04 | Added stub release notes for 3.1.6. | Carlton Gibson | |
| 2021-01-04 | Added release date for 3.1.5. | Carlton Gibson | |
| 2021-01-04 | Refs #28741 -- Doc'd SESSION_COOKIE_DOMAIN requirement with CSRF_USE_SESSIONS. | Tim Graham | |
| Similar considerations as refs #32065, again adding some nuance to afd375fc343baa46e61036087bc43b3d096bb0ca. | |||
| 2021-01-04 | Fixed typo in docs/ref/templates/builtins.txt. | Roland Geider | |
| 2021-01-04 | Simplified django.db.utils.load_backend(). | William Schwartz | |
| Previously load_backend() performed search by computing the (sole) entry of django.db.backends.__path__ manually from django.db.utils.__file__. Now django.db.backends.__path__ is used directly. | |||
| 2021-01-02 | Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup. | Tim Graham | |
| 2021-01-02 | Updated CVE URL. | Tim Graham | |
| 2020-12-31 | Fixed #32304 -- Fixed prefixing STATIC_URL and MEDIA_URL by SCRIPT_NAME for ↵ | Mariusz Felisiak | |
| absolute URLs with no domain. Thanks Adam Hooper for the report. Regression in c574bec0929cd2527268c96a492d25223a9fd576. | |||
| 2020-12-31 | Fixed #31413 -- Fixed isolation of migrations.test_loader on databases that ↵ | Hasan Ramezani | |
| don't support transactions. | |||
| 2020-12-30 | Fixed #32294 -- Prevented ManyToManyField's hidden related name collisions ↵ | manav014 | |
| between apps. | |||
| 2020-12-30 | Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0. | Mariusz Felisiak | |
| 2020-12-29 | Fixed #32302 -- Allowed migrations to be loaded from regular packages with ↵ | William Schwartz | |
| no __file__ attribute. The migrations loader prevents the use of PEP-420 namespace packages for holding apps' migrations modules. Previously the loader tested for this only by checking that app.migrations.__file__ is present. This prevented migrations' being found in frozen Python environments that don't set __file__ on any modules. Now the loader *additionally* checks whether app.migrations.__path__ is a list because namespace packages use a different type for __path__. Namespace packages continue to be forbidden, and, in fact, users of normal Python environments should experience no change whatsoever. | |||
| 2020-12-29 | Fixed #32299 -- Prevented mutating handlers when processing middlewares ↵ | Mariusz Felisiak | |
| marking as unused in an async context. Thanks Hubert Bielenia for the report. | |||
| 2020-12-29 | Added app labels to related fields checks messages E302-E305. | Mariusz Felisiak | |
| 2020-12-29 | Corrected related fields checks messages in docs. | Mariusz Felisiak | |
| 2020-12-29 | Used model's Options.label where applicable. | Mariusz Felisiak | |
| Follow up to b7a3a6c9ef0a89625881b47594120bca55fa2e49. | |||
| 2020-12-28 | Refs #31358 -- Fixed decoding salt in Argon2PasswordHasher. | Florian Apolloner | |
| Argon2 encodes the salt as base64 for representation in the final hash output. To be able to accurately return the used salt from decode(), add padding, b64decode, and decode from latin1 (for the remote possibility that someone supplied a custom hash consisting solely of bytes -- this would require a manual construction of the hash though, Django's interface does not allow for that). | |||
| 2020-12-28 | Refs #31358 -- Simplified Argon2PasswordHasher.must_update() by using decode(). | Florian Apolloner | |
| 2020-12-28 | Fixed #32301 -- Made clearsessions raise CommandError when clear_expired() ↵ | François Freitag | |
| is not implemented. | |||
| 2020-12-28 | Fixed #32158 -- Fixed loaddata crash on SQLite when table/column names are ↵ | Chinmoy Chakraborty | |
| SQL keywords. | |||
| 2020-12-28 | Fixed #27827 -- Used "raise from" when raising InvalidTemplateLibrary ↵ | Jacob Walls | |
| exceptions in get_package_libraries(). This change sets the __cause__ attribute to raised exceptions and makes small cleanups in error messages. | |||
| 2020-12-23 | Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in ↵ | Jon Dufresne | |
| docs. | |||
| 2020-12-23 | Removed forms-MAX_NUM_FORMS POST data in docs | Jon Dufresne | |
| The field is ignored server-side and only exists as a client-side convenience. Removing it slightly simplifies the documentation and avoids some distractions. Added note:: for MIN_NUM_FORMS/MAX_NUM_FORMS in Understanding the management form section. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2020-12-23 | Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields ↵ | Hannes Ljungberg | |
| argument optional and kwarg-only. | |||
| 2020-12-23 | Fixed #32165 -- Added pre-commit hooks | David Smith | |
| * Added pre-commit hooks for isort, flake8 and eslint * Added documentation on how to install and use the tool | |||
| 2020-12-23 | Refs #31265 -- Updated .eslintignore to match eslint tests | David Smith | |
| 2020-12-23 | Fixed isolation of test_migrate_fake_split_initial. | Mariusz Felisiak | |
| 2020-12-22 | Fixed #32285 -- Raised ImproperlyConfigured when AppConfig.label is not a ↵ | Hasan Ramezani | |
| valid Python identifier. | |||
| 2020-12-22 | Refs #32285 -- Made AppConfigStub do not call super().__init__(). | Hasan Ramezani | |
| Calling super().__init__() is unnecessary and enforces the use of various workarounds. | |||
| 2020-12-21 | Fixed #32269 -- Fixed parse_duration() for negative days in ISO 8601 format. | starryrbs | |
| 2020-12-21 | Added more assertions for parse_duration() with negative timedeltas. | starryrbs | |
| 2020-12-21 | Fixed #32208 -- Allowed adding lazy() objects. | Hasan Ramezani | |
| Co-authored-by: Claude Paroz <claude@2xlibre.net> | |||
| 2020-12-21 | Corrected code-block directives in docs/ref/models/meta.txt. | Jon Dufresne | |
| 2020-12-21 | Fixed typo in docs/ref/files/storage.txt. | joshuapatel | |
| 2020-12-20 | Updated isort URL to new location. | Jon Dufresne | |
