<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News - New Comments: &#34;django&#34;</title><link>https://news.ycombinator.com/newcomments</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 25 Aug 2026 05:50:29 +0000</lastBuildDate><atom:link href="https://hnrss.org/newcomments?q=django" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by grandimam in "Does Python still need to be async-first?"]]></title><description><![CDATA[
<p>> each thread has non-trivial overhead.<p>Agreed. But I am not proposing a thread-per request model. The model will most likely be a fixed pool of workers, potentially combined with multiple processes, an M x N model.<p>I also agree that co-routines are cheaper than OS threads if the application itself is mostly waiting for network I/O. My question is what happens the moment the workload isn't purely I/O bound.<p>Right now, the solution seems to be an escape hatch where CPU-bound work is executed behind a thread-pool - see FastAPI or Starlette for example.<p>With free-threaded Python, I am interested in whether a framework can instead own that complexity: application code remains synchronous or async-partially (at the main thread).<p>> Removing GIL has nothing to do with that<p>It doesn't make network I/O faster, agreed. But, the more interesting consequence of removing the GIL is that with threads we can actually parallelise for CPU-bound Python code which earlier required multi-processor.<p>> How is it different from Flask or Django<p>This is probably the most important question. It's still in beta, so a lot of things can change. But simply put that Flask/Django lets one write sync code but do not provide the execution model I am describing. Concurrency is supplied at the server layer - gunicorn workers, etc.<p>The thesis that I am proposing is a framework runtime where concurrency and parallelism are first-class primitives. Now, that free-threaded makes threads capable of CPU parallelism can the framework own the concurrency and parallelism while application code stays async.</p>
]]></description><pubDate>Sun, 23 Aug 2026 07:23:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49406728</link><dc:creator>grandimam</dc:creator><comments>https://news.ycombinator.com/item?id=49406728</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49406728</guid></item><item><title><![CDATA[New comment by theamk in "Does Python still need to be async-first?"]]></title><description><![CDATA[
<p>Author seems to miss the the primary reason people build network apps with async: resource usage.<p>If you don't have co-routines, you need to have something else. That "something else" is most commonly threads, and each thread has non-trivial overhead, in scheduling and memory. A coroutine is much more memory efficient.<p>Removing GIL has nothing to do with that, coroutines are even worse re GIL problems. And of course, there are plenty of thread-based frameworks for Python,  already - Flask and Django are most well known examples, but there are tons of others.<p>So my first question for author would be: "how is this different from Flask"?</p>
]]></description><pubDate>Sun, 23 Aug 2026 02:28:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=49405668</link><dc:creator>theamk</dc:creator><comments>https://news.ycombinator.com/item?id=49405668</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49405668</guid></item><item><title><![CDATA[New comment by lackoftactics in "Bun 1.4"]]></title><description><![CDATA[
<p>Those are strong claims and I think we need better evidence to support it. Most of the backend frameworks are batteries included to extent like Django, Laravel, Phoenix. Also many decisions made by Rails team are quite debatable, hotwire and getting rid of TypeScript being top ones recently.<p>Tbh we need to do some real research about it, because all those articles are just feelings that it seems to work better. But mostly it feels better, because we got stronger models and improved agent harnesses</p>
]]></description><pubDate>Sat, 22 Aug 2026 15:23:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=49400703</link><dc:creator>lackoftactics</dc:creator><comments>https://news.ycombinator.com/item?id=49400703</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49400703</guid></item><item><title><![CDATA[New comment by gertburger in "OTel isn’t going well"]]></title><description><![CDATA[
<p>(I haven't attempted to use opentelemetry-instrumentation-django in at least a year so my information might be dated and my memory is patchy :P)<p>If I recall the primary issue was the forced loading of the django settings file by otel.<p>I get that fully automated instrumentation should be turn-key and the current approach kinda works on basic applications.<p>But most production django applications are monoliths and generally larger apps. They have non-trivial configuration processes which are often multi step and source settings from multiple places.<p>Otel should not assume it can just randomly load a the django settings at an arbitrary time point in the startup process.<p>In one of our apps the MIDDLEWARE setting specifically is dynamically generated and re-ordered based on enabled features. That application's startup process also has multiple stages and the initialisation of django occurs much later, after dependant config loaders etc have been initialised.<p>What would allow us to integrate with opentelemetry-instrumentation-django much more easily is a set of smaller primitives that we can configure and call at the appropriate time.<p>opentelemetry-instrumentation-django has (had?) a lot of logic hidden inside a large "inject" function which could not easily be extracted into the constituent parts and applied in a compatible manner.<p><a href="https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2301" rel="nofollow">https://github.com/open-telemetry/opentelemetry-python-contr...</a></p>
]]></description><pubDate>Sat, 22 Aug 2026 10:42:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=49398376</link><dc:creator>gertburger</dc:creator><comments>https://news.ycombinator.com/item?id=49398376</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49398376</guid></item><item><title><![CDATA[New comment by gertburger in "OTel isn’t going well"]]></title><description><![CDATA[
<p>I've found their django instrumentation to be kinda useless for larger apps.<p>The only choices you get is full auto instrumentation, which breaks most non-trivial apps, or zero assistance/documentation.<p>There is no in-between where I can inject the functionality required in a way that is compatible with the application.</p>
]]></description><pubDate>Sat, 22 Aug 2026 07:27:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49397444</link><dc:creator>gertburger</dc:creator><comments>https://news.ycombinator.com/item?id=49397444</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49397444</guid></item><item><title><![CDATA[New comment by cpill in "Harvest hikes bills by 1500% after purchased by Bending Spoons"]]></title><description><![CDATA[
<p>GUYS!LLMs killed the SaaS star!<p>Just vibe code a vanilla Django app. No front-end frame work. No mobile app (just use your mobile's browser). Basic security baked in. It can handle 100k traffic a day easy which is 99% of small to medium businesses.<p>There are hundreds of cheap, easy to use hosting providers out there now (an LLM can figure out how to use). Or self host on a Raspberry Pi if you are slightly nerby (there are hundreds of videos on YouTube about it). Hit a technical hurdle: LLM will fix it.<p>Can't figure it out yourself, just throw a couple grand at a recent graduate to drive the LLM for you. There are tens of thousands who would do it for the experience on their CV.<p>SaaS is dead!</p>
]]></description><pubDate>Thu, 20 Aug 2026 19:47:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=49379274</link><dc:creator>cpill</dc:creator><comments>https://news.ycombinator.com/item?id=49379274</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49379274</guid></item><item><title><![CDATA[New comment by cube00 in "Rewriting in Rust"]]></title><description><![CDATA[
<p>> our attempt to give it an <i>honest</i> look.<p>Oh no, what are we hiding?<p>> introduces bugs you already fixed.<p>Isn't this why every bug fix gets a unit test?<p>I appreciate rewrite isn't always the answer but it's a strange post when the authors should be giving constructive ways forward so we move to Rust and then use their 1k star Django clone they link to.<p>Instead anytime a question is posed it falls back to "sometimes" and little detail after that.<p>Citing a nine year old paper instead of something newer or doing their own benchmarking wasn't ideal either.</p>
]]></description><pubDate>Thu, 20 Aug 2026 07:59:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=49371695</link><dc:creator>cube00</dc:creator><comments>https://news.ycombinator.com/item?id=49371695</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49371695</guid></item><item><title><![CDATA[New comment by robomartin in "PostgreSQL for Everything"]]></title><description><![CDATA[
<p>Years ago I used PostgreSQL under Django to drive an industrial test and inspection robotic cell (which I also designed and built) at a major technology company. It worked very well. PostgreSQL maintained machine state, path planning, sensor readings, faults, operator input, etc.<p>I wanted to see how far I could push that toolset. It worked surprisingly well. Django's capabilities meant such things as multi-user login pages, access controls and remote monitoring were very easy.</p>
]]></description><pubDate>Thu, 20 Aug 2026 02:30:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=49369756</link><dc:creator>robomartin</dc:creator><comments>https://news.ycombinator.com/item?id=49369756</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49369756</guid></item><item><title><![CDATA[New comment by zelphirkalt in "PostgreSQL for Everything"]]></title><description><![CDATA[
<p>I can't recommend this "switch". If you are not testing locally with the same relational database as in production, you can miss mistakes and bugs. This is not just theoretical. One example where I thought I will be fine using SQLite was with a small Django project. But time and time again I ran into limitations of either SQLite or Django's database adapter for SQLite, when it came to dealing with many to many relationships in the model and through tables, requiring me to work around the limitations. There is no guarantee, that these workarounds in turn will work the same in PostgreSQL in production.<p>Anyway, it is a basic practice of keeping test and dev environment as close as feasible to production, to avoid missing issues and wrong assumptions.</p>
]]></description><pubDate>Wed, 19 Aug 2026 16:07:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49363435</link><dc:creator>zelphirkalt</dc:creator><comments>https://news.ycombinator.com/item?id=49363435</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49363435</guid></item><item><title><![CDATA[New comment by amanzi in "When I worked at Apple, I remember seeing code that was 15 years old"]]></title><description><![CDATA[
<p>I agree with Mitchell's original post: "stay frosty with AI", and I disagree with response that says "the houses are better". I'm assuming that Mitchell was saying you should treat all AI code with caution, and the more I work with AI-generated code, the more I agree with this sentiment. Even the frontier models (Fable, Opus, Sol, etc) all make fundamental errors from time to time, and if you're not keeping your eyes open these are easy to miss.<p>Just the other day, I got Fable to help generate a sign-up flow for a Django app. It looked perfect to me, and like the Twitter post linked to, I looked at it with marvel and delight. But I got Sol to review the code and it spotted some fundamental issues with the flow that would have let bad actors enumerate accounts and log in before their account was verified - both of which were supposed to be checked.<p>To continue with the analogy, yes we can "will houses into existence", but unless we've checked the bricks and the foundations, these houses can easily crumble into rubble.</p>
]]></description><pubDate>Tue, 18 Aug 2026 22:09:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=49353440</link><dc:creator>amanzi</dc:creator><comments>https://news.ycombinator.com/item?id=49353440</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49353440</guid></item><item><title><![CDATA[New comment by znpy in "Rethinking Database Programming"]]></title><description><![CDATA[
<p>> Look at all the features supported here:<p>> <a href="https://www.postgresql.org/docs/current/sql-createtable.html" rel="nofollow">https://www.postgresql.org/docs/current/sql-createtable.html</a><p>Unironcally, yesterday i was vibe-coding a small app for personal use using Django and was quite shocked to discover that Django's orm does not support something as simple as specifying a database schema other than the default "public" one out of the box.<p>You either have to add options specific from libpq:<p><pre><code>    DATABASES = {
        "default": {
            "ENGINE": "django.db.backends.postgresql",
            "NAME": "mydatabase",
            "USER": "myuser",
            "PASSWORD": "mypassword",
            "HOST": "localhost",
            "PORT": "5432",
            "OPTIONS": {
                "options": "-c search_path=myapp,public",
            },
        }
    }
</code></pre>
Or you have to do it from the postgresql side:<p><pre><code>    ALTER ROLE myuser
    IN DATABASE mydatabase
    SET search_path = myapp, public;

</code></pre>
It's not ergonomic at all.</p>
]]></description><pubDate>Tue, 18 Aug 2026 15:24:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=49347054</link><dc:creator>znpy</dc:creator><comments>https://news.ycombinator.com/item?id=49347054</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49347054</guid></item><item><title><![CDATA[New comment by Izkata in "Rethinking Database Programming"]]></title><description><![CDATA[
<p>Yeah, from the post it might even be more limited than Django (python) ever was.  For example it allows the user to define its own fields, which was used over a decade ago in libraries to extend Django and provide json support long before it was officially supported.</p>
]]></description><pubDate>Tue, 18 Aug 2026 11:51:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=49344321</link><dc:creator>Izkata</dc:creator><comments>https://news.ycombinator.com/item?id=49344321</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49344321</guid></item><item><title><![CDATA[New comment by brandonjohnson0 in "Ask HN: Who wants to be hired? (August 2026)"]]></title><description><![CDATA[
<p>Location: Everett, WA
Remote: Yes
Willing to relocate: No
Technologies: TypeScript, JavaScript, Python, React.js, Next.js, Node.js, Express, FastAPI, Django, LangGraph, Model Context Protocol (MCP), RAG, AWS, Docker, PostgreSQL, Redis
Résumé/CV: <a href="https://linkedin.com" rel="nofollow">https://linkedin.com</a> (available upon request)
Email: brandon.johnson13k@gmail.com<p>Senior Full Stack & AI Engineer with 11+ years of experience designing and scaling enterprise web applications, microservices, and AI/LLM integrations (LangGraph, MCP, custom RAG pipelines). Strong background across React, Node.js, Python, TypeScript, and AWS cloud infrastructure. Experienced in leading full-stack projects, optimizing backend performance, and deploying production agentic workflows. Open to remote senior or lead full-stack / AI engineering roles.</p>
]]></description><pubDate>Mon, 17 Aug 2026 04:25:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=49326545</link><dc:creator>brandonjohnson0</dc:creator><comments>https://news.ycombinator.com/item?id=49326545</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49326545</guid></item><item><title><![CDATA[New comment by hirvi74 in "Software Engineering fundamentals matter more"]]></title><description><![CDATA[
<p>> <i>Make sure it know how to run the tests before it starts writing any additional code.</i><p>Thank you for this advice. I can absolutely see how such advice could be helpful, and considering I have created environments (containerized) where that is not always possible, then that might explain some of my past results. XD<p>Do you have any advice on how to make LLMs actually <i>follow instructions</i> and how to prevent them 80/20-ing every task?<p>By the way, I appreciate you taking the time to reply. Thank you for you current and past contributions, I had a lot of fun with Django when I was in college.</p>
]]></description><pubDate>Sun, 16 Aug 2026 17:56:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=49322161</link><dc:creator>hirvi74</dc:creator><comments>https://news.ycombinator.com/item?id=49322161</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49322161</guid></item><item><title><![CDATA[New comment by alexPanf1l in "Ask HN: Who wants to be hired? (August 2026)"]]></title><description><![CDATA[
<p>Location: Minsk, Belarus
Remote: Yes
Willing to relocate: No (open to remote worldwide)
Technologies: Python, FastAPI, Django, asyncio, MCP servers, LLM integration (OpenAI, Claude, Gemini), RAG, AI agents, PostgreSQL, Redis, Docker, Playwright
Résumé/CV: <a href="https://github.com/Aleksey-Panf" rel="nofollow">https://github.com/Aleksey-Panf</a>
Email: panfilovaleksey29@gmail.com<p>Python backend engineer (~3 years), focused on AI integrations and MCP.<p>Open-source you can check right now:
- b2b-enrichment-mcp — MCP server that unifies several external APIs (Hunter, Apollo) behind one interface, with retries and error handling. Listed in awesome-mcp-servers.
- crosspost-mcp — an AI agent that publishes content to 5 social networks through a single interface.
- lead-list-cleaner — a Python CLI for cleaning and deduplicating data, with tests, MIT.<p>I build backend services and LLM-powered agents, integrate multiple providers, and use Claude Code / Cursor daily. Comfortable with async communication (written English is strong, spoken is limited).</p>
]]></description><pubDate>Sat, 15 Aug 2026 14:36:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=49310942</link><dc:creator>alexPanf1l</dc:creator><comments>https://news.ycombinator.com/item?id=49310942</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49310942</guid></item><item><title><![CDATA[New comment by rabail_anees in "Ask HN: Who wants to be hired? (August 2026)"]]></title><description><![CDATA[
<p>Location: Lahore, Pakistan
Remote: Yes
Willing to relocate: Yes
Technologies: Python, FastAPI, AI/ML, LLMs, LangChain, Django, REST APIs, PostgreSQL, SQL, Docker, AWS, Git
Résumé/CV: <a href="https://portfolio-five-vert-25.vercel.app/" rel="nofollow">https://portfolio-five-vert-25.vercel.app/</a>
Email: rabailanees@gmail.com</p>
]]></description><pubDate>Fri, 14 Aug 2026 19:00:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=49303169</link><dc:creator>rabail_anees</dc:creator><comments>https://news.ycombinator.com/item?id=49303169</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49303169</guid></item><item><title><![CDATA[New comment by simonw in "Choose Boring Technology (2015)"]]></title><description><![CDATA[
<p>I think this entire disagreement is about language, and in particular the implications of the term "boring".<p>The term we are looking for here is something that means:<p>"A piece of technology that has been around for long enough that all of the sharp edges have either been filed off or are well documented and understood. We would not be the first people to solve our particular problem using this stack - in fact we would be using it in a predictable way that many before us have already shown to work. It's widespread enough that many people already know it, both on our existing team and in the pool of people we might want to hire from. We won't get to show off about this - our usage of this technology will not become the thing of legends, or conference talks, or blog posts. Our problems require unique solutions in other areas, but for the bit that accepts incoming web requests and runs some queries against a database we can go with something that's low risk, well established and very unlikely to surprise us."<p>I think <i>boring</i> is a fantastic shortcut for that, especially if you can trust your collaborators to understand it to mean that.<p>If you <i>can't</i> trust your collaborators to understand that then sure, you need to find a different word.<p>A couple of decades ago I helped create Django. One of the achievements I'm most proud of is that Django has graduated over time to being one of the most clear examples of a "boring" technology - it's widely used, stable, reliable, and thoroughly understood.</p>
]]></description><pubDate>Fri, 14 Aug 2026 17:19:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=49301747</link><dc:creator>simonw</dc:creator><comments>https://news.ycombinator.com/item?id=49301747</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49301747</guid></item><item><title><![CDATA[New comment by robomartin in "Choose Boring Technology (2015)"]]></title><description><![CDATA[
<p>> 2 bare-metals with Linux, Postgres, HAProxy and PHP (or Python/Django) work perfectly fine for 99% of apps that businesses need.<p>I agree. Simple and effective.<p>I would add a third small machine to give HAProxy a third vote. The problem with only two machines is that, if communications between them fail, you don't want both believing the other died and doing the wrong thing. You could use that third machine for Postgres backups, which would be smart because Postgress replication is not the same as backup.</p>
]]></description><pubDate>Fri, 14 Aug 2026 15:55:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=49300510</link><dc:creator>robomartin</dc:creator><comments>https://news.ycombinator.com/item?id=49300510</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49300510</guid></item><item><title><![CDATA[New comment by 0xblinq in "The SvelteKit 3 Release Candidate is here"]]></title><description><![CDATA[
<p>> Nothing in the JS ecosystem comes close to it in terms of simplicity and integration-level<p>Adonisjs has existed for more than 10 years. I’ve used Django for many years and I find Adonis way better (and ages more modern) than Django.</p>
]]></description><pubDate>Fri, 14 Aug 2026 13:33:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=49298469</link><dc:creator>0xblinq</dc:creator><comments>https://news.ycombinator.com/item?id=49298469</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49298469</guid></item><item><title><![CDATA[New comment by thelastgallon in "Choose Boring Technology (2015)"]]></title><description><![CDATA[
<p>2 bare-metals with Linux, Postgres, HAProxy and PHP (or Python/Django) work perfectly fine for 99% of apps that businesses need. This will run with 99.99% uptime, 4-hour warranty from Dell/HPE (failover to the other server). Is also somewhat vertically scalable (upgrade RAM/SSD). Kids who finish high school can be taught to own and run this.<p>But .... if you run a multi cloud hybrid setup with kubernetes, service mesh, data [lake|pond|ocean] and millions of other fancy words in tech at each and every layer, you resume would look so awesome and you sound wicked smart. And the VP gets 600M budget for AWS and 600 developers, SREs, DevOps, PMO. It is not that things won't run, humans have perverse incentives.<p>I'm certain a lot of porn/adult industry run their setup like I mentioned with a Romanian dude running the entire infrastructure for $15K - $20K.</p>
]]></description><pubDate>Fri, 14 Aug 2026 13:08:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49298198</link><dc:creator>thelastgallon</dc:creator><comments>https://news.ycombinator.com/item?id=49298198</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49298198</guid></item></channel></rss>