# Latest

**URL:** https://forum.djangoproject.com/latest.md?page=2

[Latest](https://forum.djangoproject.com/latest.md) · [Categories](https://forum.djangoproject.com/categories.md) · [Tags](https://forum.djangoproject.com/tags.md)

**Page:** 3

---

## [Allow newlines inside {% %} tags](https://forum.djangoproject.com/t/allow-newlines-inside-tags/36040)

<div class="topic-metadata">

**Author:** [@boxed](https://forum.djangoproject.com/u/boxed)\
**Replies:** 36\
**Last updated:** [September 26, 2026, 6:50am UTC](https://forum.djangoproject.com/t/allow-newlines-inside-tags/36040 "2026-09-26T06:50:45Z")

</div>

After a discussion on mastodon: Jeff Triplett: &quot;@boxed @anze3db@fosstodon.org Agreed. I wish we c…&quot; - Mastodon That newlines inside {% %} is not allowed makes some formatting of templates more ugly and bad for…

---

## [One structured log line per request with django-wide-events](https://forum.djangoproject.com/t/one-structured-log-line-per-request-with-django-wide-events/46065)

<div class="topic-metadata">

**Author:** [@moonlitmarigold](https://forum.djangoproject.com/u/moonlitmarigold)\
**Replies:** 1\
**Last updated:** [September 23, 2026, 10:37am UTC](https://forum.djangoproject.com/t/one-structured-log-line-per-request-with-django-wide-events/46065 "2026-09-23T10:37:19Z")

</div>

Hi everyone, I recently came across loggingsucks.com, and it changed how I think about logging in Django. It introduced the idea of “wide-events”. Each request builds up one rich, structured event as it runs and emits i…

---

## [SilkUI modern UI components to Django](https://forum.djangoproject.com/t/silkui-modern-ui-components-to-django/46012)

<div class="topic-metadata">

**Author:** [@huguescodeur](https://forum.djangoproject.com/u/huguescodeur)\
**Replies:** 4\
**Last updated:** [September 21, 2026, 10:33pm UTC](https://forum.djangoproject.com/t/silkui-modern-ui-components-to-django/46012 "2026-09-21T22:33:52Z")

</div>

Hi everyone, I recently picked up an old side project I started in 2025 called NexUI, which is now SilkUI. The goal is to bring modern UI components to Django, inspired by the philosophy of shadcn/ui while keeping thin…

---

## [Upcoming newcomer sprints](https://forum.djangoproject.com/t/upcoming-newcomer-sprints/46026)

<div class="topic-metadata">

**Author:** [@CodenameTim](https://forum.djangoproject.com/u/CodenameTim)\
**Replies:** 7\
**Last updated:** [September 21, 2026, 10:23pm UTC](https://forum.djangoproject.com/t/upcoming-newcomer-sprints/46026 "2026-09-21T22:23:12Z")

</div>

We have a backlog of reserved tickets for newcomer sprints, but if those aren’t picked up during a sprint, we should clear them. Are there events beyond Djangonaut Space and Django on the Med in the next two months? If …

---

## [Removing \`null=True\` from \`GeneratedField\` should be a SQL no-op](https://forum.djangoproject.com/t/removing-null-true-from-generatedfield-should-be-a-sql-no-op/45954)

<div class="topic-metadata">

**Author:** [@mportesdev](https://forum.djangoproject.com/u/mportesdev)\
**Replies:** 3\
**Last updated:** [September 21, 2026, 8:39pm UTC](https://forum.djangoproject.com/t/removing-null-true-from-generatedfield-should-be-a-sql-no-op/45954 "2026-09-21T20:39:37Z")

</div>

As of Django 6.1, having a GeneratedField declared with an explicit null=True causes the warning (fields.W225) null has no effect on GeneratedField. Consider the following minimal example: class NumericPrefix(models.Fu…

---

## [Supporting aggregate expressions in QuerySet.update()](https://forum.djangoproject.com/t/supporting-aggregate-expressions-in-queryset-update/46053)

<div class="topic-metadata">

**Author:** [@jadaun-abhay](https://forum.djangoproject.com/u/jadaun-abhay)\
**Replies:** 6\
**Last updated:** [September 20, 2026, 3:07pm UTC](https://forum.djangoproject.com/t/supporting-aggregate-expressions-in-queryset-update/46053 "2026-09-20T15:07:49Z")

</div>

Hi all, I’d like to start a discussion about allowing aggregate expressions over related objects in QuerySet.update(). The problem Denormalized counters and totals are a common pattern, and refreshing them in bulk cur…

---

## [AttributeError: 'ManyToManyField' object has no attribute '\_m2m\_reverse\_name\_cache'. Did you mean: 'm2m\_reverse\_name'?](https://forum.djangoproject.com/t/attributeerror-manytomanyfield-object-has-no-attribute-m2m-reverse-name-cache-did-you-mean-m2m-reverse-name/46045)

<div class="topic-metadata">

**Author:** [@HimejoshiHeart](https://forum.djangoproject.com/u/HimejoshiHeart)\
**Replies:** 3\
**Last updated:** [September 20, 2026, 12:46am UTC](https://forum.djangoproject.com/t/attributeerror-manytomanyfield-object-has-no-attribute-m2m-reverse-name-cache-did-you-mean-m2m-reverse-name/46045 "2026-09-20T00:46:17Z")

</div>

currentmon.altforms.add(MonSpecies.objects.get(name=da,basepack=newpack)) ^ running throws up a AttributeError: 'ManyToManyField' object has no attribute '\_m2m\_reverse\_name\_cache'…

---

## [Proposal: let's reduce customization and use Sphinx's standard wording for version annotations](https://forum.djangoproject.com/t/proposal-lets-reduce-customization-and-use-sphinxs-standard-wording-for-version-annotations/46022)

<div class="topic-metadata">

**Author:** [@nessita](https://forum.djangoproject.com/u/nessita)\
**Replies:** 3\
**Last updated:** [September 20, 2026, 12:44am UTC](https://forum.djangoproject.com/t/proposal-lets-reduce-customization-and-use-sphinxs-standard-wording-for-version-annotations/46022 "2026-09-20T00:44:23Z")

</div>

I’m working through @medmunds PRs around improving everything related to Django docs building process and ability to switch themes. This work starts with cleaning up our custom docs/\_ext/djangodocs.py Sphinx extension, a…

---

## [Where to restate minor breaking changes in security releases?](https://forum.djangoproject.com/t/where-to-restate-minor-breaking-changes-in-security-releases/46036)

<div class="topic-metadata">

**Author:** [@jacobtylerwalls](https://forum.djangoproject.com/u/jacobtylerwalls)\
**Replies:** 18\
**Last updated:** [September 19, 2026, 7:56am UTC](https://forum.djangoproject.com/t/where-to-restate-minor-breaking-changes-in-security-releases/46036 "2026-09-19T07:56:53Z")

</div>

The Security Team tries very hard to avoid causing behavior changes in patch releases, but sometimes we have to. As the number of issues handled under the security process continues to increase\[1\], “sometimes” multiplied…

---

## [Best practice for intercepting error responses in Django and DRF](https://forum.djangoproject.com/t/best-practice-for-intercepting-error-responses-in-django-and-drf/29734)

<div class="topic-metadata">

**Author:** [@BarbaBillios](https://forum.djangoproject.com/u/BarbaBillios)\
**Replies:** 1\
**Last updated:** [September 18, 2026, 8:59pm UTC](https://forum.djangoproject.com/t/best-practice-for-intercepting-error-responses-in-django-and-drf/29734 "2026-09-18T20:59:14Z")

</div>

I have a Django app that uses the Django Rest Framework. Errors may occur on the Django side, like integrity errors in the database. The default error response will be something like: { "details": { "email": "user…

---

## [django-trusts 1.0.0rc1 — declarative object-level permissions](https://forum.djangoproject.com/t/django-trusts-1-0-0rc1-declarative-object-level-permissions/45996)

<div class="topic-metadata">

**Author:** [@thomasyip](https://forum.djangoproject.com/u/thomasyip)\
**Replies:** 1\
**Last updated:** [September 18, 2026, 7:20pm UTC](https://forum.djangoproject.com/t/django-trusts-1-0-0rc1-declarative-object-level-permissions/45996 "2026-09-18T19:20:17Z")

</div>

Release notes django-trusts 1.0.0rc1 is the first release candidate of the new schema-neutral object-authorization library for Django. With django-trusts, applications keep ownership of their permission models and declar…

---

## [Pogo - a runtime-aware Django ORM language server](https://forum.djangoproject.com/t/pogo-a-runtime-aware-django-orm-language-server/46046)

<div class="topic-metadata">

**Author:** [@amirhasanzadehpy](https://forum.djangoproject.com/u/amirhasanzadehpy)\
**Replies:** 0\
**Last updated:** [September 18, 2026, 7:09am UTC](https://forum.djangoproject.com/t/pogo-a-runtime-aware-django-orm-language-server/46046 "2026-09-18T07:09:16Z")

</div>

If you use PyCharm Professional, your editor already knows something about the Django ORM. Everywhere else, in VS Code, Neovim and Zed, that space is essentially empty. You get generic Python completion and nothing that …

---

## [Why does Django implement its own version of @cached\_property ?](https://forum.djangoproject.com/t/why-does-django-implement-its-own-version-of-cached-property/46029)

<div class="topic-metadata">

**Author:** [@jrief](https://forum.djangoproject.com/u/jrief)\
**Replies:** 3\
**Last updated:** [September 17, 2026, 7:47pm UTC](https://forum.djangoproject.com/t/why-does-django-implement-its-own-version-of-cached-property/46029 "2026-09-17T19:47:45Z")

</div>

Python offers the method decorator @cached\_property since version 3.9. The Django implementation seems to be older, but it nevertheless offers a similar functionality. Is there any specific reason for this? Otherwise, an…

---

## [Starting bimonthly Sprints on How to start contributing to Django](https://forum.djangoproject.com/t/starting-bimonthly-sprints-on-how-to-start-contributing-to-django/46043)

<div class="topic-metadata">

**Author:** [@Wasif-Shahzad](https://forum.djangoproject.com/u/Wasif-Shahzad)\
**Replies:** 0\
**Last updated:** [September 17, 2026, 3:32pm UTC](https://forum.djangoproject.com/t/starting-bimonthly-sprints-on-how-to-start-contributing-to-django/46043 "2026-09-17T15:32:36Z")

</div>

Hello, all! This is my first time posting here on forum. People from the official discord may already know me. I am a Junior Developer. I started contributing to Django in June after joining a sprint from @codenameti…

---

## [Fetch and count all records in M2M join table](https://forum.djangoproject.com/t/fetch-and-count-all-records-in-m2m-join-table/45967)

<div class="topic-metadata">

**Author:** [@IgorArnaut](https://forum.djangoproject.com/u/IgorArnaut)\
**Replies:** 10\
**Last updated:** [September 17, 2026, 2:53pm UTC](https://forum.djangoproject.com/t/fetch-and-count-all-records-in-m2m-join-table/45967 "2026-09-17T14:53:34Z")

</div>

I have two tables that are in M2M relationship. I have not created explicit model for the join table. class CustomUser(AbstractUser): class Meta: app\_label = "users" db\_table = "users" class Listing…

---

## [Should Django messages do more to account for caching?](https://forum.djangoproject.com/t/should-django-messages-do-more-to-account-for-caching/45223)

<div class="topic-metadata">

**Author:** [@sarahboyce](https://forum.djangoproject.com/u/sarahboyce)\
**Replies:** 3\
**Last updated:** [September 17, 2026, 11:15am UTC](https://forum.djangoproject.com/t/should-django-messages-do-more-to-account-for-caching/45223 "2026-09-17T11:15:40Z")

</div>

For context, the Security Team recently closed a report extrapolating from CVE-2026-35192. The report suggested that MessageMiddleware should call patch\_vary\_headers(response, ("Cookie",)) to better account for the inte…

---

## [select\_related removed when performing a deletion](https://forum.djangoproject.com/t/select-related-removed-when-performing-a-deletion/40857)

<div class="topic-metadata">

**Author:** [@PaulGilmartin](https://forum.djangoproject.com/u/PaulGilmartin)\
**Replies:** 5\
**Last updated:** [September 17, 2026, 10:07am UTC](https://forum.djangoproject.com/t/select-related-removed-when-performing-a-deletion/40857 "2026-09-17T10:07:49Z")

</div>

Today whilst investigating an n+1 query issue, we noticed that the following code is present in the django/db/models/query.py: class QuerySet(AltersData): ... def delete(self): """Delete the records in the c…

---

## [PR quality checks reject checked items using asterisk list markers](https://forum.djangoproject.com/t/pr-quality-checks-reject-checked-items-using-asterisk-list-markers/45990)

<div class="topic-metadata">

**Author:** [@prince889035-sys](https://forum.djangoproject.com/u/prince889035-sys)\
**Replies:** 9\
**Last updated:** [September 17, 2026, 6:02am UTC](https://forum.djangoproject.com/t/pr-quality-checks-reject-checked-items-using-asterisk-list-markers/45990 "2026-09-17T06:02:05Z")

</div>

Hi everyone, I’m Prince, a new Django contributor. While updating the description of my documentation PR, #21935, I encountered a confusing issue with the PR quality checks. My description used \* \[x\] for checked items.…

---

## [Contradictory Trac instructions on when to set "Has patch"](https://forum.djangoproject.com/t/contradictory-trac-instructions-on-when-to-set-has-patch/45465)

<div class="topic-metadata">

**Author:** [@smallsaucepan](https://forum.djangoproject.com/u/smallsaucepan)\
**Replies:** 6\
**Last updated:** [September 17, 2026, 12:26am UTC](https://forum.djangoproject.com/t/contradictory-trac-instructions-on-when-to-set-has-patch/45465 "2026-09-17T00:26:19Z")

</div>

When contributing a new patch (as a PR) the instructions on the Trac ticket are (bold mine): Check the “Has patch” flag on the ticket after sending a pull request and include a link to the pull request in the ticket co…

---

## [New Technical Governance - request for community feedback](https://forum.djangoproject.com/t/new-technical-governance-request-for-community-feedback/44927)

<div class="topic-metadata">

**Author:** [@CodenameTim](https://forum.djangoproject.com/u/CodenameTim)\
**Replies:** 4\
**Last updated:** [September 16, 2026, 8:55pm UTC](https://forum.djangoproject.com/t/new-technical-governance-request-for-community-feedback/44927 "2026-09-16T20:55:18Z")

</div>

Hello Django community, The Steering Council is excited to share our proposed new technical governance and ask for your feedback. Last year we suspended the formal voting process of the Steering Council. The updates we’…

---

## [Add Plausible Tracking to DjangoProject.com?](https://forum.djangoproject.com/t/add-plausible-tracking-to-djangoproject-com/35581)

<div class="topic-metadata">

**Author:** [@wsvincent](https://forum.djangoproject.com/u/wsvincent)\
**Replies:** 12\
**Last updated:** [September 16, 2026, 8:23pm UTC](https://forum.djangoproject.com/t/add-plausible-tracking-to-djangoproject-com/35581 "2026-09-16T20:23:33Z")

</div>

So I KNOW historically Django has been anti any sort of tracking. Heck, we don’t even have a list of users really, aside from Google Groups. But if the PSF can use Plausible and use it to help understand the community be…

---

## [Deploying Django with Gunicorn, PostgreSQL, and WhiteNoise on Lizard](https://forum.djangoproject.com/t/deploying-django-with-gunicorn-postgresql-and-whitenoise-on-lizard/45952)

<div class="topic-metadata">

**Author:** [@yuraoak](https://forum.djangoproject.com/u/yuraoak)\
**Replies:** 2\
**Last updated:** [September 16, 2026, 2:25pm UTC](https://forum.djangoproject.com/t/deploying-django-with-gunicorn-postgresql-and-whitenoise-on-lizard/45952 "2026-09-16T14:25:01Z")

</div>

I work on Lizard (lizard.build). We wrote a Django deployment guide and tested it with Django 6.1.1 and Python 3.13. The guide uses an explicit WSGI module in the Gunicorn command, collects static files for WhiteNoise i…

---

## [Feature Flags Framework for Django](https://forum.djangoproject.com/t/feature-flags-framework-for-django/45900)

<div class="topic-metadata">

**Author:** [@prafulgulani](https://forum.djangoproject.com/u/prafulgulani)\
**Replies:** 14\
**Last updated:** [September 15, 2026, 8:19am UTC](https://forum.djangoproject.com/t/feature-flags-framework-for-django/45900 "2026-09-15T08:19:15Z")

</div>

Hello everyone, Over the past few months, I, along with @nanorepublica, researched what a Feature Flag framework for Django could look like. For this we researched django-waffle, django-flags and some other paid feature…

---

## [Is it safe to run migrations on SQLite in production?](https://forum.djangoproject.com/t/is-it-safe-to-run-migrations-on-sqlite-in-production/45982)

<div class="topic-metadata">

**Author:** [@villager](https://forum.djangoproject.com/u/villager)\
**Replies:** 1\
**Last updated:** [September 14, 2026, 2:56pm UTC](https://forum.djangoproject.com/t/is-it-safe-to-run-migrations-on-sqlite-in-production/45982 "2026-09-14T14:56:10Z")

</div>

Is it still standard advice to warn developers about running migrations against SQLite in a production environment? The docs state (emphasis mine): This process generally works well, but it can be slow and occasionall…

---

## [Issue with parallel test runner on Python 3.14](https://forum.djangoproject.com/t/issue-with-parallel-test-runner-on-python-3-14/45958)

<div class="topic-metadata">

**Author:** [@cuu508](https://forum.djangoproject.com/u/cuu508)\
**Replies:** 3\
**Last updated:** [September 14, 2026, 10:51am UTC](https://forum.djangoproject.com/t/issue-with-parallel-test-runner-on-python-3-14/45958 "2026-09-14T10:51:32Z")

</div>

I’m not sure if I’ve hit a bug or I’m holding it wrong. In my project I use a custom test runner which overrides a few Django settings (adds MD5 password hasher to PASSWORD\_HASHERS for speed, stuff like that). The test …

---

## [dj-hyperview: Building server-driven mobile apps with Django and Hyperview](https://forum.djangoproject.com/t/dj-hyperview-building-server-driven-mobile-apps-with-django-and-hyperview/45968)

<div class="topic-metadata">

**Author:** [@eamigo86](https://forum.djangoproject.com/u/eamigo86)\
**Replies:** 2\
**Last updated:** [September 12, 2026, 2:10pm UTC](https://forum.djangoproject.com/t/dj-hyperview-building-server-driven-mobile-apps-with-django-and-hyperview/45968 "2026-09-12T14:10:54Z")

</div>

Hi Django community, I recently published the first beta of dj-hyperview, a Django package for building server-driven mobile applications with Hyperview. Hyperview renders native mobile interfaces from HXML returned by…

---

## [Proposal: add an Events page to djangoproject.com](https://forum.djangoproject.com/t/proposal-add-an-events-page-to-djangoproject-com/45969)

<div class="topic-metadata">

**Author:** [@pauloxnet](https://forum.djangoproject.com/u/pauloxnet)\
**Replies:** 0\
**Last updated:** [September 12, 2026, 12:35pm UTC](https://forum.djangoproject.com/t/proposal-add-an-events-page-to-djangoproject-com/45969 "2026-09-12T12:35:28Z")

</div>

I’ve opened a proposal to add a public Events page to “djangoproject.com”. The idea is to make Django-related events easier to discover through a central list of upcoming and past events, while reusing the event data an…

---

## [Django needs a REST story](https://forum.djangoproject.com/t/django-needs-a-rest-story/42814)

<div class="topic-metadata">

**Author:** [@zags](https://forum.djangoproject.com/u/zags)\
**Replies:** 55\
**Last updated:** [September 11, 2026, 6:39pm UTC](https://forum.djangoproject.com/t/django-needs-a-rest-story/42814 "2026-09-11T18:39:54Z")

</div>

In my DjangoCon US talk, “All the Ways to Use Django”, I had several ideas for how Django could improve as a framework. My first and most actionable idea was for Django to have native support REST APIs. I have been in …

---

## [DevOpsForge: Visual Docker Compose & Caddy reverse proxy builder for Django](https://forum.djangoproject.com/t/devopsforge-visual-docker-compose-caddy-reverse-proxy-builder-for-django/45965)

<div class="topic-metadata">

**Author:** [@Gohar01](https://forum.djangoproject.com/u/Gohar01)\
**Replies:** 0\
**Last updated:** [September 11, 2026, 3:45pm UTC](https://forum.djangoproject.com/t/devopsforge-visual-docker-compose-caddy-reverse-proxy-builder-for-django/45965 "2026-09-11T15:45:03Z")

</div>

Hi everyone, Setting up a robust Docker workflow for Django (managing Gunicorn, PostgreSQL, static files, and reverse proxy SSL) often requires piecing together configs from multiple outdated blog posts. I built a free…

---

## [Adding Support for Cross-Origin Embedder Policy and Cross-Origin Resource Policy Headers](https://forum.djangoproject.com/t/adding-support-for-cross-origin-embedder-policy-and-cross-origin-resource-policy-headers/45664)

<div class="topic-metadata">

**Author:** [@blighj](https://forum.djangoproject.com/u/blighj)\
**Replies:** 1\
**Last updated:** [September 11, 2026, 2:28pm UTC](https://forum.djangoproject.com/t/adding-support-for-cross-origin-embedder-policy-and-cross-origin-resource-policy-headers/45664 "2026-09-11T14:28:23Z")

</div>

I’ve been reviewing first time contributor @ashishmurugan’s PR 21705 for ticket-31923 It’s in good shape, they’ve done great work. It adds support for two new security headers COEP and CORP In my review I steered both…

[Previous page](https://forum.djangoproject.com/latest.md?page=1)

[Next page](https://forum.djangoproject.com/latest.md?page=3)
