Week ending January 9, 2022
Triaged:
https://code.djangoproject.com/ticket/33406 -
Micro-optimisation for Value._resolve_output_field (by modifying
CharField.__init__) (accepted)
https://code.djangoproject.com/ticket/33407 - Radiolist etc.
styling has changed since it's using div elements not ul
elements (accepted)
https://code.djangoproject.com/ticket/33408 - Adding
nullable OneToOneField crashes on SQLite. (accepted)
https://code.djangoproject.com/ticket/33409 - Django logs
out after a redirect with a long Cyrillic message (needsinfo)
https://code.djangoproject.com/ticket/33410 -
captureOnCommitCallbacks executes callbacks multiple times.
(accepted)
https://code.djangoproject.com/ticket/33412 - Postgres db
backend does not restart connection after disconnect (duplicate)
https://code.djangoproject.com/ticket/33415 - @classproperty
breakes @abc.abstractmethod (needsinfo)
https://code.djangoproject.com/ticket/33417 - Made month and
year selectable in the admin calender widget. (duplicate)
https://code.djangoproject.com/ticket/33419 -
forms.Field.help_text shouldn't be HTML-escaped when form is
rendered with as_ul(), as_p(), as_table(). (created)
https://code.djangoproject.com/ticket/33420 - Cannot import
name RequestSite from partially initialized module. (fixed)
https://code.djangoproject.com/ticket/33421 - Skip
consistency checks on makemigrations (wontfix)
https://code.djangoproject.com/ticket/33423 - Load urls from
function in URLResolver (wontfix)
https://code.djangoproject.com/ticket/33424 - Jsonfield data
being returned as str (duplicate)
https://code.djangoproject.com/ticket/33425 - Technical 404
debug page reported incorrect view name for CBVs. (created)
Reviewed/committed:
https://github.com/django/django/pull/15274 - Refs #31026 --
Changed @jinja2_tests imports to be relative.
https://github.com/django/django/pull/15266 - Refs #29026 --
Allowed customizing InteractiveMigrationQuestioner's prompt
destination.
https://github.com/django/django/pull/15277 - Fixed #33406
-- Avoided creation of MaxLengthValidator(None) when resolving
Value.output_field for strings.
https://github.com/django/django/pull/15268 - Fixed #33402
-- Optimized multiple AlterFooTogether operations.
https://github.com/django/django/pull/15276 - Avoided
suggestion of plain text database password in sessions topic.
https://github.com/django/django/pull/15269 - Refs #33216 --
Made @deconstructible do not change path for subclasses.
https://github.com/django/django/pull/15284 - Fixed
malformed attribute directives in docs.
https://github.com/django/django/pull/15280 - Fixed #32511
-- Corrected handling prefetched nested reverse relationships.
https://github.com/django/django/pull/15267 - Fixed #33400
-- Added support for msg_prefix and count arguments to
assertTemplateUsed()/assertTemplateNotUsed() used as context
managers.
https://github.com/django/django/pull/15285 - Fixed #33410
-- Fixed recursive capturing of callbacks by
TestCase.captureOnCommitCallbacks().
https://github.com/django/django/pull/15282 - Refs #33348 --
Deprecated passing errors=None to
SimpleTestCase.assertFormError()/assertFormsetErrors().
https://github.com/django/django/pull/15228 - Avoided
isinstance(…, Variable) calls in FilterExpression.resolve().
https://github.com/django/django/pull/15161 - Fixed #33216
-- Simpilified deconstructed paths for some expressions.
https://github.com/django/django/pull/15132 - Fixed #28628
-- Changed \d to [0-9] in regexes where appropriate.
https://github.com/django/django/pull/15289 - Fixed #33419
-- Restored marking forms.Field.help_text as HTML safe.
https://github.com/django/django/pull/15292 - Fixed #33425
-- Fixed view name for CBVs on technical 404 debug page.
Authored:
https://github.com/django/django/pull/15278 - Fixed #33408
-- Fixed adding primary keys/unique fields on SQLite.
https://github.com/django/django/pull/15290 - Refs #32355 --
Removed unnecessary list() calls before reversed() on dictviews.
Week ending January 16, 2022
Triaged:
https://code.djangoproject.com/ticket/33414 - Diamond
inheritance causes duplicated PK error when creating an object,
if the primary key field has a default. (accepted)
https://code.djangoproject.com/ticket/33426 - ResolverMatch
repr is incorrect for Class Based Views (accepted)
https://code.djangoproject.com/ticket/33428 - Confirm
support for PostGIS 3.2 (accepted)
https://code.djangoproject.com/ticket/33429 - Wrong results
when using .values().distinct() with default ordering
(duplicate)
https://code.djangoproject.com/ticket/33418 - Alternates
does not use langcodes in alternate urls (invalid)
https://code.djangoproject.com/ticket/33422 - Document
@isolate_apps (accepted)
https://code.djangoproject.com/ticket/33432 - Missing comma
in 'How to create CSV output' (accepted)
https://code.djangoproject.com/ticket/33430 - Calling
command via `call_command` with option that is `required` and
has set `dest` leads to an error (invalid)
https://code.djangoproject.com/ticket/33433 - Avoid calling
resolve() when unnecessary in technical_404_response (accepted)
https://code.djangoproject.com/ticket/33434 - Browser font
resizing doesn’t work in Django admin due to pixel values
(accepted)
https://code.djangoproject.com/ticket/33435 -
Subquery.as_sql() generates invalid SQL. (accepted)
https://code.djangoproject.com/ticket/33436 - Remove
test_restrictions_with_no_joining_columns (wontfix)
https://code.djangoproject.com/ticket/33439 -
SMTPAuthenticationError in EmailMessage/EmailMultiAlternatives
when using 'Some Name <em...@gmail.com>'. (invalid)
https://code.djangoproject.com/ticket/33441 - Model
Field.__hash__() should be immutable. (accepted)
https://code.djangoproject.com/ticket/33440 - Cannot escape
% character when using gettext(). (invalid)
Reviewed/committed:
https://github.com/django/django/pull/15291 - Simplified
@stringfilter decorator and Library with unwrap().
https://github.com/django/django/pull/15297 - Fixed #33426
-- Fixed ResolverMatch.__repr_() for class-based views.
https://github.com/django/django/pull/15298 - Fixed #33428
-- Confirmed support for PostGIS 3.2.
https://github.com/django/django/pull/14751 - Fixed #29026
-- Added --scriptable option to makemigrations.
https://github.com/django/django/pull/15248 - Fixed #13251
-- Made pre/post_delete signals dispatch the origin.
https://github.com/django/django/pull/15270 - Fixed #11715
-- Changed default value of ModelAdmin.actions/inlines to empty
tuples.
https://github.com/django/django/pull/15304 - Fixed #33432
-- Fixed typo in docs/howto/outputting-csv.txt.
https://github.com/django/django/pull/15302 - Alphabetized
field attributes in form topic docs.
https://github.com/django/django/pull/15305 - Fixed #33433
-- Avoided unnecessary resolve() calls in
technical_404_response().
https://github.com/django/django/pull/13910 - Added
exception to SuspiciousOperation logging.
https://github.com/django/django/pull/15311 - Refs #33426 --
Simplified technical_404_response() with
ResolverMatch._func_path.
https://github.com/django/django/pull/15310 - Changed
django.utils.log.log_response() to take exception instance.
https://github.com/django/django/pull/15286 - Fixed #33396
-- Added view name to technical 500 debug page.
https://github.com/django/django/pull/15190 - Improved
Model.__init__() properties loop.
https://github.com/django/django/pull/15139 - Fixed #29708
-- Deprecated PickleSerializer.
https://github.com/django/django/pull/15256 - Refs #28135 --
Refactored out _find_groups()/_get_group_start_end() hooks in
admindocs.
https://github.com/django/django/pull/15194 - Clarified how
contrib.auth picks a password hasher for verification.
https://github.com/django/django-docker-box/pull/40 - Fixed
#29 -- Fixed crash of docs.
https://github.com/django/django/pull/15315 - Fixed #33441
-- Restored immutability of models.Field.__hash__().
https://github.com/django/django/pull/15316 - Fixed #28135
-- Made simplify_regex() handle non-capturing groups.
Authored:
https://github.com/django/django/pull/15300 - Refs #30141 --
Removed unused branch in parse_duration().
https://github.com/django/django/pull/15307 - Updated Python
license for 2022.
https://github.com/django/django/pull/15308 - Refs #32681 --
Fixed VariableDoesNotExist when rendering some admin template.
https://github.com/django/asgiref/pull/310 - Added testing
for Python 3.10.
Best,
Mariusz