Menu

#Django

187 posts

Feed·
20 of 187 posts
Django in Production #20: Series Wrap-Up — Operations Runbook, Incident Checklist, and What's Next
📰
0Read More

Django in Production #20: Series Wrap-Up — Operations Runbook, Incident Checklist, and What's Next

DEV Community: django·Linh Fish Dev·about 24 hours ago
#5NrOjuAk
#devtodjango#devto#dev#incident#runbook

This final episode wraps up the journey of taking the expense tracker to production: a complete operations runbook, an incident checklist for your next on-call shift, and a clear upgrade path.

15s
Should You Run Django on Free-Threaded Python Yet?
🖼️
0Read More

Should You Run Django on Free-Threaded Python Yet?

DEV Community: django·Papan Sarkar·2 days ago
#L24mGNZ9
#devtodjango#devto#dev#django#threaded

Django's main branch now ships a beta free-threading classifier, but the recommended Postgres driver still has no free-threaded wheels.

15s
How I handle ~1M requests a day on 1 vCPU and 2GB RAM (and keep bots out without user accounts)
📰
0Read More

How I handle ~1M requests a day on 1 vCPU and 2GB RAM (and keep bots out without user accounts)

DEV Community: django·Bhavin Patel·2 days ago
#1mpwDa9c
#devtodjango#devto#dev#django#redis

I run a Tempgbox : free temporary email service on one vCPU and 2GB of RAM. Django, PostgreSQL,...

15s
I ran my architecture tool on 7 open-source repos as a new user. Here's what broke.
📰
0Read More

I ran my architecture tool on 7 open-source repos as a new user. Here's what broke.

DEV Community: opensource·Saurabh·2 days ago
#RHEcdxXZ
#devtoopensource#devto#dev#archilens#django

ArchiLens reads a Git repository, builds a module dependency graph from real imports, draws C4-style...

15s
Architecting Scalable E-Commerce & Booking Platforms with React, Django REST & PostgreSQL (Sub-Second TTFB Architecture)
📰
0Read More

Architecting Scalable E-Commerce & Booking Platforms with React, Django REST & PostgreSQL (Sub-Second TTFB Architecture)

DEV Community: django·Uchit Chakma·3 days ago
#qs2tX1ZZ
#devtodjango#devto#dev#models#django

Architecting Scalable E-Commerce & Booking Platforms with React, Django REST &...

15s
Django 6.1 Fetch Modes: The N+1 Fix With a Catch
📰
0Read More

Django 6.1 Fetch Modes: The N+1 Fix With a Catch

DEV Community: database·Papan Sarkar·3 days ago
#167cwdSc
#devtodatabase#devto#dev#models#django

Django 6.1 can collapse an N+1 query loop into two queries with one queryset method — and here is the relation it quietly does not cover.

15s
Django: Use auto_now and auto_now_add Correctly — When to Switch to default=timezone.now
📰
0Read More

Django: Use auto_now and auto_now_add Correctly — When to Switch to default=timezone.now

DEV Community: django·Linh Fish Dev·4 days ago
#1MmHE4Id
#devtodjango#devto#dev#django#update

auto_now_add and auto_now look convenient — until you import old data or bulk-update 1,000 rows. Here's when to switch to default=timezone.now.

15s
JOPS Meets Django: Class-Based SPAs on a Python Backend
📰
0Read More

JOPS Meets Django: Class-Based SPAs on a Python Backend

DEV Community: django·Arik Wald·4 days ago
#NFufw5A4
#devtodjango#devto#dev#details#jops

jops-core 1.1.11 runs a JOPS single-page app in any Django project, as its own app or inside any template with a new template tag.

15s
Django's Built-In CSP: What 6.0 Shipped and 6.1 Fixed
📰
0Read More

Django's Built-In CSP: What 6.0 Shipped and 6.1 Fixed

DEV Community: django·Papan Sarkar·4 days ago
#M9YpQtSv
#devtodjango#devto#dev#filters#django

Django 6.0 moved Content Security Policy into core and 6.1 made the admin survive a nonce policy. Here is what breaks when you switch it on.

15s
Architecting Full-Stack React & Django Web Applications: Zero-Bloat REST APIs, Edge Caching, and Sub-Second Core Web Vitals
📰
0Read More

Architecting Full-Stack React & Django Web Applications: Zero-Bloat REST APIs, Edge Caching, and Sub-Second Core Web Vitals

DEV Community: django·Uchit Chakma·5 days ago
#5kUm1NlN
#devtodjango#devto#dev#react#django

Architecting Full-Stack React & Django Web Applications: Zero-Bloat REST APIs, Edge...

15s
Django: Write Create and Edit Views Twice as Fast with CreateView and UpdateView in 5 Minutes
📰
0Read More

Django: Write Create and Edit Views Twice as Fast with CreateView and UpdateView in 5 Minutes

DEV Community: django·Linh Fish Dev·6 days ago
#1MfiWcNe
#devtodjango#devto#dev#form#views

Django ships CreateView and UpdateView for exactly this job: declare the model, fields and template, and Django renders the form, validates, saves and redirects — no more duplicated GET/POST view pairs.

15s
pledge: a fast double-entry ledger inside PostgreSQL, ready for Django
📰
0Read More

pledge: a fast double-entry ledger inside PostgreSQL, ready for Django

DEV Community: postgres·6 days ago
#QZM74Vtm
#devtopostgresql#devto#dev#pledge#transfer

pledge is a double-entry ledger that runs inside PostgreSQL, with a Django package on top. If your...

15s
0Read More

Fresher confused about choosing a Backend Tech Stack: Python Django vs Java Spring Boot. Which should I learn?

#backend#python#java#development#django

Hi everyone! I'm a fresher currently preparing for Software Development Engineer (SDE) roles, and I'm planning to start learning backend development.…

15s
Circular imports in Python: why every big Python repo has them, and the few that actually break
📰
0Read More

Circular imports in Python: why every big Python repo has them, and the few that actually break

DEV Community: tutorial·Raghav Chamadiya·6 days ago
#3Gf94u9V
#devtotutorial#devto#dev#import#models

All 51 popular Python repos I checked have circular import chains and run fine. The three patterns that raise 'partially initialized module', and their fixes.

15s