# Django Internals

**URL:** https://forum.djangoproject.com/c/internals/5.md

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

---

## [Welcome to Django Internals](https://forum.djangoproject.com/t/welcome-to-django-internals/13)

<div class="topic-metadata">

**Author:** [@andrewgodwin](https://forum.djangoproject.com/u/andrewgodwin)\
**Replies:** 0\
**Last updated:** [September 8, 2019, 6:44pm UTC](https://forum.djangoproject.com/t/welcome-to-django-internals/13 "2019-09-08T18:44:03Z")

</div>

For discussing the development of Django itself. If your question is instead about how to use Django, including questions about how to call the APIs properly, please post in the using Django forum. Feel free to use sub…

---

## [Qualifying the security posture of spatial libraries? (GDAL, GEOS, PROJ)](https://forum.djangoproject.com/t/qualifying-the-security-posture-of-spatial-libraries-gdal-geos-proj/46357)

<div class="topic-metadata">

**Author:** [@jacobtylerwalls](https://forum.djangoproject.com/u/jacobtylerwalls)\
**Replies:** 7\
**Last updated:** [November 7, 2026, 8:45am UTC](https://forum.djangoproject.com/t/qualifying-the-security-posture-of-spatial-libraries-gdal-geos-proj/46357 "2026-11-07T08:45:45Z")

</div>

One of the hot spots for CVEs in Django these days is our interface with the spatial libraries required by GeoDjango (GDAL, GEOS, and PROJ). Do we need to update the Django docs to be honest about how “gray” the security…

---

## [Trust in Django & LLM generated code in core](https://forum.djangoproject.com/t/trust-in-django-llm-generated-code-in-core/46358)

<div class="topic-metadata">

**Author:** [@carltongibson](https://forum.djangoproject.com/u/carltongibson)\
**Replies:** 11\
**Last updated:** [November 7, 2026, 7:15am UTC](https://forum.djangoproject.com/t/trust-in-django-llm-generated-code-in-core/46358 "2026-11-07T07:15:10Z")

</div>

Folks are increasingly using LLMs to generate PRs for Django. We’re asking folks to declare that usage, and often they do, but I still see a lot of commits (not necessarily just in Django) that are clearly (at least lar…

---

## [A Path to Modernizing APIs in Django (DEP 0017 Content Type Parsing)](https://forum.djangoproject.com/t/a-path-to-modernizing-apis-in-django-dep-0017-content-type-parsing/46361)

<div class="topic-metadata">

**Author:** [@wsvincent](https://forum.djangoproject.com/u/wsvincent)\
**Replies:** 8\
**Last updated:** [November 7, 2026, 6:55am UTC](https://forum.djangoproject.com/t/a-path-to-modernizing-apis-in-django-dep-0017-content-type-parsing/46361 "2026-11-07T06:55:11Z")

</div>

In the most recent Django Chat episode with Haki Benita the topic of APIs in Django came up. @carltongibson mentioned, “There’s a long standing DEP that’s been stalled for years about introducing content negotiation into…

---

## [New model instances with a primary key: what should Django allow? (#36259)](https://forum.djangoproject.com/t/new-model-instances-with-a-primary-key-what-should-django-allow-36259/46262)

<div class="topic-metadata">

**Author:** [@alin-morosanu](https://forum.djangoproject.com/u/alin-morosanu)\
**Replies:** 6\
**Last updated:** [November 6, 2026, 10:37am UTC](https://forum.djangoproject.com/t/new-model-instances-with-a-primary-key-what-should-django-allow-36259/46262 "2026-11-06T10:37:54Z")

</div>

Hi, I’m working on ticket 36259 with Djangonaut Space. I’d like your view on the intended behavior before I go further. The ticket lists four cases where a new model instance (built in Python, not loaded from the databa…

---

## [New Contributor Tutorials](https://forum.djangoproject.com/t/new-contributor-tutorials/46359)

<div class="topic-metadata">

**Author:** [@nanorepublica](https://forum.djangoproject.com/u/nanorepublica)\
**Replies:** 6\
**Last updated:** [November 5, 2026, 11:52pm UTC](https://forum.djangoproject.com/t/new-contributor-tutorials/46359 "2026-11-05T23:52:20Z")

</div>

For a little while I have been contemplating how new contributors could be most helpful to the community in regard to where we have the most need. My current perspective is that we likely do not need many more folk doing…

---

## [JSON persistence for Oracle](https://forum.djangoproject.com/t/json-persistence-for-oracle/46282)

<div class="topic-metadata">

**Author:** [@loiclefevre](https://forum.djangoproject.com/u/loiclefevre)\
**Replies:** 4\
**Last updated:** [November 5, 2026, 2:13pm UTC](https://forum.djangoproject.com/t/json-persistence-for-oracle/46282 "2026-11-05T14:13:43Z")

</div>

Hi, I wanted to bring some clarifications to the evolution of JSON persistence inside Oracle. That would probably lead to lower storage footprint, better performance and increased support for related capabilities. A/ P…

---

## [sqlparse is no longer maintained – implications for Django](https://forum.djangoproject.com/t/sqlparse-is-no-longer-maintained-implications-for-django/46346)

<div class="topic-metadata">

**Author:** [@andialbrecht](https://forum.djangoproject.com/u/andialbrecht)\
**Replies:** 2\
**Last updated:** [November 4, 2026, 6:21pm UTC](https://forum.djangoproject.com/t/sqlparse-is-no-longer-maintained-implications-for-django/46346 "2026-11-04T18:21:20Z")

</div>

Hi everyone, I’m the author of sqlparse, which Django has been using for many years. Today I’ve released version 0.6.1, and that will be the last release. There won’t be any further updates, including security fixes. F…

---

## [Django Steering Council Meetings - 2026](https://forum.djangoproject.com/t/django-steering-council-meetings-2026/43916)

<div class="topic-metadata">

**Author:** [@CodenameTim](https://forum.djangoproject.com/u/CodenameTim)\
**Replies:** 15\
**Last updated:** [November 3, 2026, 6:35pm UTC](https://forum.djangoproject.com/t/django-steering-council-meetings-2026/43916 "2026-11-03T18:35:08Z")

</div>

Continued from 2025 thread 2026-01-05 Revisit meeting times DEP 17 Content Negotiation New Trac triage state Annual Release Cycle DEP Steering Council Eligibility CLA for Django Consensus on 6.0 Community Blog Post 6.…

---

## [Proposed changes to Trac to address problematic contribution patterns - please vote](https://forum.djangoproject.com/t/proposed-changes-to-trac-to-address-problematic-contribution-patterns-please-vote/46191)

<div class="topic-metadata">

**Author:** [@sarahboyce](https://forum.djangoproject.com/u/sarahboyce)\
**Replies:** 24\
**Last updated:** [November 3, 2026, 11:53am UTC](https://forum.djangoproject.com/t/proposed-changes-to-trac-to-address-problematic-contribution-patterns-please-vote/46191 "2026-11-03T11:53:22Z")

</div>

The following changes to Trac have been suggested by members of Django’s Triage and Review team. We would appreciate quick votes (+1, 0, -1) on each proposal. After some discussion, I will create GitHub issues for the pr…

---

## [Expanding content in "Meet Django" section on home page and retiring Overview page](https://forum.djangoproject.com/t/expanding-content-in-meet-django-section-on-home-page-and-retiring-overview-page/46310)

<div class="topic-metadata">

**Author:** [@smallsaucepan](https://forum.djangoproject.com/u/smallsaucepan)\
**Replies:** 1\
**Last updated:** [November 3, 2026, 8:18am UTC](https://forum.djangoproject.com/t/expanding-content-in-meet-django-section-on-home-page-and-retiring-overview-page/46310 "2026-11-03T08:18:21Z")

</div>

The “Meet Django” content on djangoproject.com is currently split between the home page and the Overview page. Like this: This has a couple of drawbacks: only highlights 3 of the 5 main selling points of Django on …

---

## [Remove support for GeoDjango on 32-bit Windows.](https://forum.djangoproject.com/t/remove-support-for-geodjango-on-32-bit-windows/46347)

<div class="topic-metadata">

**Author:** [@smithdc1](https://forum.djangoproject.com/u/smithdc1)\
**Replies:** 1\
**Last updated:** [November 3, 2026, 7:07am UTC](https://forum.djangoproject.com/t/remove-support-for-geodjango-on-32-bit-windows/46347 "2026-11-03T07:07:49Z")

</div>

This forum post is related to this ticket – #37455 (Remove support for contrib.gis on 32-bit Windows.) – Django. My proposal is to remove support for GeoDjango with Windows 32-bit. The ticket goes into more detail, and…

---

## [Django Fellow Report - Jacob - 2026](https://forum.djangoproject.com/t/django-fellow-report-jacob-2026/43851)

<div class="topic-metadata">

**Author:** [@jacobtylerwalls](https://forum.djangoproject.com/u/jacobtylerwalls)\
**Replies:** 45\
**Last updated:** [November 2, 2026, 3:02pm UTC](https://forum.djangoproject.com/t/django-fellow-report-jacob-2026/43851 "2026-11-02T15:02:08Z")

</div>

Week ending 2026-01-04 (Week 01) Put in a half-week focusing on clearing 6.0 release blockers before taking a long weekend to ring in the New Year :bell:. Triaged #36203 (AdminSplitDateTime labels are not assoc…

---

## [Django Fellow Report - Natalia - 2026](https://forum.djangoproject.com/t/django-fellow-report-natalia-2026/43850)

<div class="topic-metadata">

**Author:** [@nessita](https://forum.djangoproject.com/u/nessita)\
**Replies:** 43\
**Last updated:** [November 2, 2026, 2:58pm UTC](https://forum.djangoproject.com/t/django-fellow-report-natalia-2026/43850 "2026-11-02T14:58:56Z")

</div>

Week ending 2026-01-04 (Week 01) New year :two: :six:, new report thread :thread: This was a quiet week work-wise as I was fully off for the New Year period. I hosted family at home for the week, which was both demandin…

---

## [Django Fellow Report - Sarah - 2026](https://forum.djangoproject.com/t/django-fellow-report-sarah-2026/44869)

<div class="topic-metadata">

**Author:** [@sarahboyce](https://forum.djangoproject.com/u/sarahboyce)\
**Replies:** 26\
**Last updated:** [November 2, 2026, 9:00am UTC](https://forum.djangoproject.com/t/django-fellow-report-sarah-2026/44869 "2026-11-02T09:00:00Z")

</div>

Week ending 2026-04-05 (Week 14) Hello hello :waving\_hand: I am back from maternity leave but working part-time for now :grin: I am currently working from Turkey :türkiye:. Discord is not easily accessed in Turkey so I …

---

## [Why does local django docs have a different styling/theme than the official one?](https://forum.djangoproject.com/t/why-does-local-django-docs-have-a-different-styling-theme-than-the-official-one/32761)

<div class="topic-metadata">

**Author:** [@RosanaRufer](https://forum.djangoproject.com/u/RosanaRufer)\
**Replies:** 18\
**Last updated:** [October 30, 2026, 10:48pm UTC](https://forum.djangoproject.com/t/why-does-local-django-docs-have-a-different-styling-theme-than-the-official-one/32761 "2026-10-30T22:48:15Z")

</div>

When running django documentation to preview my changes locally, I spent a fair amount of time thinking something was missing because it looks \[like this\], but then I asked (Django documentation — Django 5.0.6 documentat…

---

## [Should we stop recommending pylibmc?](https://forum.djangoproject.com/t/should-we-stop-recommending-pylibmc/42993)

<div class="topic-metadata">

**Author:** [@drew](https://forum.djangoproject.com/u/drew)\
**Replies:** 24\
**Last updated:** [October 29, 2026, 4:46pm UTC](https://forum.djangoproject.com/t/should-we-stop-recommending-pylibmc/42993 "2026-10-29T16:46:44Z")

</div>

The caching docs recommend using pylibmc or pymemcache for caching using memcached. However, there’s an exception swallowed on startup under Python 3.13 that has been fixed since July 2024, but there hasn’t been a pylib…

---

## [Proposal: Leverage Oracle Test Pilot for Django CI](https://forum.djangoproject.com/t/proposal-leverage-oracle-test-pilot-for-django-ci/45197)

<div class="topic-metadata">

**Author:** [@loiclefevre](https://forum.djangoproject.com/u/loiclefevre)\
**Replies:** 21\
**Last updated:** [October 28, 2026, 10:00pm UTC](https://forum.djangoproject.com/t/proposal-leverage-oracle-test-pilot-for-django-ci/45197 "2026-10-28T22:00:24Z")

</div>

Hello, I work at Oracle and I’m leading the Oracle Test Pilot for Third-Party Software program. During the last 3 years, we’ve been building Oracle Test Pilot to provide access to the latest versions of the Oracle data…

---

## [Where is the DEP discussion?](https://forum.djangoproject.com/t/where-is-the-dep-discussion/46183)

<div class="topic-metadata">

**Author:** [@villager](https://forum.djangoproject.com/u/villager)\
**Replies:** 8\
**Last updated:** [October 28, 2026, 2:23pm UTC](https://forum.djangoproject.com/t/where-is-the-dep-discussion/46183 "2026-10-28T14:23:24Z")

</div>

Draft DEPs do not always have a related Forum discussion, and when they do, the posts are not named or linked consistently making them difficult to find. DEP 0001 makes it very clear: a draft DEP should be presented t…

---

## [Group by, grouping sets, rollup & cube](https://forum.djangoproject.com/t/group-by-grouping-sets-rollup-cube/22198)

<div class="topic-metadata">

**Author:** [@shangxiao](https://forum.djangoproject.com/u/shangxiao)\
**Replies:** 1\
**Last updated:** [October 27, 2026, 1:11pm UTC](https://forum.djangoproject.com/t/group-by-grouping-sets-rollup-cube/22198 "2026-10-27T13:11:42Z")

</div>

Hi folks (in particular Adam, Simon & Mariusz) There’s a ticket & (closed) PR for adding support for GROUPING SETS, ROLLUP & CUBE by adding a method group\_by() to querysets. Is this something we can progress? I needed…

---

## [When should docs link to source files?](https://forum.djangoproject.com/t/when-should-docs-link-to-source-files/45949)

<div class="topic-metadata">

**Author:** [@rshide](https://forum.djangoproject.com/u/rshide)\
**Replies:** 2\
**Last updated:** [October 27, 2026, 3:05am UTC](https://forum.djangoproject.com/t/when-should-docs-link-to-source-files/45949 "2026-10-27T03:05:36Z")

</div>

I recently worked on ticket #37127 which ended up adding a version aware:sourcefile: Sphinx role and used it to link to Django’s builtin form templates. Now that it exists, I’m wondering if there are other instances tha…

---

## [Rename documentation files from \`.txt\` to \`.rst\`](https://forum.djangoproject.com/t/rename-documentation-files-from-txt-to-rst/39699)

<div class="topic-metadata">

**Author:** [@adamchainz](https://forum.djangoproject.com/u/adamchainz)\
**Replies:** 22\
**Last updated:** [October 26, 2026, 4:43pm UTC](https://forum.djangoproject.com/t/rename-documentation-files-from-txt-to-rst/39699 "2026-10-26T16:43:20Z")

</div>

13 years ago, Ticket #18448 proposed renaming the docs files from .txt to .rst, so editors and GitHub would automatically use reStructuredText syntax highlighting and other features. @jacobian closed it as wontfix it at …

---

## [Which sponsorship tiers to display](https://forum.djangoproject.com/t/which-sponsorship-tiers-to-display/46261)

<div class="topic-metadata">

**Author:** [@smallsaucepan](https://forum.djangoproject.com/u/smallsaucepan)\
**Replies:** 0\
**Last updated:** [October 24, 2026, 12:48pm UTC](https://forum.djangoproject.com/t/which-sponsorship-tiers-to-display/46261 "2026-10-24T12:48:52Z")

</div>

There is an open issue to achieve better promotion and visibility of corporate sponsors on the public website - Improvements to the Corporate Sponsor Experience · Issue #1171 · django/djangoproject.com · GitHub Accordin…

---

## [Proposal: Add opt-in \`USE\_HTML5\_DATE\_INPUT\` setting for native browser date/time pickers](https://forum.djangoproject.com/t/proposal-add-opt-in-use-html5-date-input-setting-for-native-browser-date-time-pickers/45095)

<div class="topic-metadata">

**Author:** [@dennybiasiolli](https://forum.djangoproject.com/u/dennybiasiolli)\
**Replies:** 3\
**Last updated:** [October 22, 2026, 12:12pm UTC](https://forum.djangoproject.com/t/proposal-add-opt-in-use-html5-date-input-setting-for-native-browser-date-time-pickers/45095 "2026-10-22T12:12:40Z")

</div>

Hi everyone, I’m sorry I can’t open a topic with more than 2 links here, but it follows a detailed research that I did after the suggestion from Jacob in a ticket I opened a few weeks ago. I created a blog article with…

---

## [Ticket #36846: Handling of ContentType for deleted models](https://forum.djangoproject.com/t/ticket-36846-handling-of-contenttype-for-deleted-models/44090)

<div class="topic-metadata">

**Author:** [@mthuurne](https://forum.djangoproject.com/u/mthuurne)\
**Replies:** 1\
**Last updated:** [October 20, 2026, 3:14pm UTC](https://forum.djangoproject.com/t/ticket-36846-handling-of-contenttype-for-deleted-models/44090 "2026-10-20T15:14:36Z")

</div>

In ticket #36846, the central question is what the expected behavior is when ContentType.get\_object\_for\_this\_type() is called when the ContentType represents a model that doesn’t exist in the code base anymore. There is…

---

## [How to identify the offending field in \`django.db.utils.DataError: value too long for type character varying(...)\`](https://forum.djangoproject.com/t/how-to-identify-the-offending-field-in-django-db-utils-dataerror-value-too-long-for-type-character-varying/46186)

<div class="topic-metadata">

**Author:** [@VBobCat](https://forum.djangoproject.com/u/VBobCat)\
**Replies:** 3\
**Last updated:** [October 19, 2026, 10:59pm UTC](https://forum.djangoproject.com/t/how-to-identify-the-offending-field-in-django-db-utils-dataerror-value-too-long-for-type-character-varying/46186 "2026-10-19T22:59:46Z")

</div>

When the error is in the log, but the data that caused it is no longer available, sometimes there’s no way of telling which field was the one that couldn’t store the longer string (when there are several fields with the …

---

## [djangoproject main menu getting quite large](https://forum.djangoproject.com/t/djangoproject-main-menu-getting-quite-large/46037)

<div class="topic-metadata">

**Author:** [@smallsaucepan](https://forum.djangoproject.com/u/smallsaucepan)\
**Replies:** 9\
**Last updated:** [October 19, 2026, 9:31am UTC](https://forum.djangoproject.com/t/djangoproject-main-menu-getting-quite-large/46037 "2026-10-19T09:31:18Z")

</div>

With the hopeful addition of Events as a top level item the main menu on the website will expand to 10 items, taking a lot of horizontal space. That will mean switching to the mobile menu on any window much smaller than …

---

## [Why both "donate" and "sponsor" top level menu items on the website?](https://forum.djangoproject.com/t/why-both-donate-and-sponsor-top-level-menu-items-on-the-website/46128)

<div class="topic-metadata">

**Author:** [@smallsaucepan](https://forum.djangoproject.com/u/smallsaucepan)\
**Replies:** 2\
**Last updated:** [October 19, 2026, 9:21am UTC](https://forum.djangoproject.com/t/why-both-donate-and-sponsor-top-level-menu-items-on-the-website/46128 "2026-10-19T09:21:48Z")

</div>

We made it bigger yesterday by adding “Sponsor” to the menu, which has made fundraising harder than it needs to be. (Sidenote: If anyone wants to change the subject to why “donate” and “sponsor” please create a new topi…

---

## [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:** 2\
**Last updated:** [October 19, 2026, 12:01am UTC](https://forum.djangoproject.com/t/is-it-safe-to-run-migrations-on-sqlite-in-production/45982 "2026-10-19T00:01:20Z")

</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…

---

## [Is it possible to run tests with Pycharm](https://forum.djangoproject.com/t/is-it-possible-to-run-tests-with-pycharm/3926)

<div class="topic-metadata">

**Author:** [@grouchoboy](https://forum.djangoproject.com/u/grouchoboy)\
**Replies:** 13\
**Last updated:** [October 12, 2026, 11:48pm UTC](https://forum.djangoproject.com/t/is-it-possible-to-run-tests-with-pycharm/3926 "2026-10-12T23:48:18Z")

</div>

Hello, I’m trying to not only use Django but also understand the code of the framework. Usually, when I’m with a codebase that I don’t know, I run the tests, change things to see what happen and put a breakpoint and ins…

[Next page](https://forum.djangoproject.com/c/internals/5.md?page=1)
