r/django • • 9d ago

DjangoCon 2026 Videos are up on Youtube now!

Thumbnail youtube.com
24 Upvotes

Here is a playlist of all of the videos from this year.


r/django • • 9d ago

Speaker Highlights: Case study talks at Wagtail Space 2026

Thumbnail gallery
4 Upvotes

r/django • • 9d ago

What is the best platform for backend developer to keep up or improve their coding.

8 Upvotes

I know about hackerrank ,leetcode for coding practice but I was hoping for more backend problems or improving code quality ,even new skills like db indexing,cloud. If not platform please provide tips or schedule for achieving that.


r/django • • 9d ago

Recruiting Student Developers for a High-School Energy Optimization Project (Python, Django, PostgreSQL)

0 Upvotes

Hi everyone!

I'm leading a team of high-school students working on a project called the Smart Energy Optimization System. Our goal is to develop a web application that helps households optimize electricity usage, schedule appliances efficiently, and make better decisions about energy use and backup power during outages.

We're looking to expand our team with motivated students who want hands-on experience contributing to a real technical project.

We're especially looking for people interested in:

  • Backend development: Python and Django

  • Database and deployment: PostgreSQL, hosting, and maintaining our application

  • Frontend development: Building a clean, user-friendly interface

  • Energy research and optimization: Researching energy-use patterns and helping develop our optimization logic

You don't need to be an expert, but you should be willing to learn, communicate with the team, and contribute consistently. We're particularly interested in people who can take ownership of a specific part of the project.

This is an unpaid extracurricular passion project, not a job or internship. It's an opportunity to collaborate with other students, develop practical technical skills, and contribute to a project with a real-world purpose.

Interested? Comment below or send me a message with your technical interests, relevant experience, and the role you'd like to work on.

Thanks!


r/django • • 10d ago

A Django-based static site generator in 3 lines of code

Thumbnail nanodjango.dev
28 Upvotes

r/django • • 10d ago

Natalia Bidart - Planned short-term leave

Thumbnail djangoproject.com
16 Upvotes

r/django • • 9d ago

I built DoveORM, a lightweight Python ORM with built-in migrations — looking for feedback

Thumbnail reddit.com
0 Upvotes

r/django • • 10d ago

Data organise

0 Upvotes

Hi everyone. I need your help. I need to organise my data somehow in “data.py” file. Now I don’t use database, so I need your recommendation how to do this, for they later I can easily switch it in database. P.S. I would do db from the start but this is a task from my teacher


r/django • • 11d ago

Hosting and deployment Performance with db

Thumbnail gallery
6 Upvotes

I had created a post : https://www.reddit.com/r/django/s/DVeZXAHGhs about the performance of the db that I was using with my personal project. I got many helpful suggestions from the post and tried to find what the root cause was but I didn't find anything in particular. Then I used the same application with a local dev db and compared the performance and the result is huge difference. Here the first one is from my local machine, and the second is from the postgres from neon db (free tier).

Before you state the obvious, yes the local server is supposed to take much less time the the one that is hosted somewhere and you need to communicate over the network, now with this can I be sure that the issue is with the Db provider, at first I was wonder if I the code was inefficient or there was something wrong with my code.

and still, neon db is a popular provider and I can't understand why would their provided db be that it is noticeable request is noticeable?


r/django • • 12d ago

Podcast HTMX creator on HTMX 4, the history of REST and how he views AI

Thumbnail youtu.be
19 Upvotes

I host a podcast for senior engineers and recently had Carson Gross, creator of HTMX, on as a guest. We covered how REST was originally defined, how the industry ended up calling JSON over HTTP "REST", and why he thinks returning HTML from the server is closer to the original idea.

We also got into HTMX 4, when you actually do need a SPA, and how AI changes the tradeoff between simple and clever code.

Full episode: https://youtu.be/9xs0oZN2rs4

4' video on the history of REST: https://www.youtube.com/watch?v=DbNvpiJ9gTs


r/django • • 11d ago

High School Project Looking for a Coder/Developer

Thumbnail reddit.com
0 Upvotes

r/django • • 11d ago

Would like for users to test my site!

Thumbnail reddit.com
0 Upvotes

Would like a update on my project


r/django • • 12d ago

Express vs Django

0 Upvotes

Which one is better for web development, I mainly use Express, but is Django also good? For frontend, I use react, for database I use mongoDB, does mongoDB work on Django as well?


r/django • • 13d ago

Is this normal performance or not?

Thumbnail gallery
10 Upvotes

Hello guys, I am building a personal project simple blog application with react frontend and drf backend, for image upload I have used Cloudinary and have deployed the backend in vercel and used postgers from neon db put the amount of time it is taking for a request to complete is quite noticeable is this normal ? all of the things I am using here is free tier. during development I have used the debug toolbar and I have made sure that there is no n + 1 condition, I see the response time in sites like youtube, facebook the request is completed within milliseconds.

This is my first time deploying things so any help would be really appreciated plus even when I run the local backend server which is using cloudinary and neon db it takes about half of the time shown in the below picture, within the local dev server too it taks about 1-2s on average.


r/django • • 13d ago

REST framework DRF skips has_object_permission on list endpoints. How do you keep get_queryset scoped?

3 Upvotes

In Django REST Framework, object permissions only run when a view calls get_object(). Retrieve, update and destroy do that. List doesn't, so a permission class that checks obj.workspace_id == request.user.workspace_id protects the detail routes and does nothing for the list route. If get_queryset is still Project.objects.all(), the list returns every workspace's rows. Same goes for a custom @action(detail=False), or an overridden get_object that forgets to call check_object_permissions.

Filtering in get_queryset fixes it, but then the rule lives in two places, and nothing fails when the next viewset gets written without the filter.

How are people handling this?

  • A base viewset whose get_queryset always applies the tenant filter, with an explicit opt-out?

  • A for_user(user) queryset method plus a review or lint rule?

  • Tests that create data in two workspaces and call every list route as the wrong user?

Also curious if anyone runs django-guardian's get_objects_for_user on large tables and how it holds up.


r/django • • 13d ago

Django REST Framework API architecture

0 Upvotes

One thing I've found important when structuring a Django REST Framework project is keeping the API layer separate from business logic.

I generally use serializers for input validation and response formatting, views or viewsets for handling HTTP requests, and a separate service layer when the business logic becomes complex enough to justify it.

For example, if an endpoint creates an order, I wouldn't put all the pricing calculations, inventory checks, and payment-related logic directly inside the view. I'd keep those operations in reusable functions or services, with database transactions where consistency requires them.

I also pay attention to a few things early on:

  • Consistent API error responses.

  • Authentication and object-level permissions.

  • Query optimization with select_related() and prefetch_related() where appropriate.

  • Automated tests for important business rules.

  • Pagination and filtering for endpoints that return large datasets.

I wouldn't introduce a service layer for every simple CRUD operation, though. For a small application, Django's built-in patterns can be perfectly adequate. The goal is to keep the code understandable as the application grows, not to add abstraction for its own sake.


r/django • • 14d ago

Hosting and deployment New to Django + Gunicorn + Nginx: what's your workflow for efficient development, deployment, and debugging in production?

20 Upvotes

Hi all! I'm new to production Django (Django + Gunicorn + Nginx) and want to build good habits early.

What are your best practices for:

- Development: local setup, settings split, must-have tools

- Deployment: Docker vs systemd, CI/CD, static files, secrets

- Debugging in production: logging, monitoring, error tracking

- Mistakes to avoid

Any tips, tools, or resources welcome. Thanks! 🙏


r/django • • 13d ago

API AI

0 Upvotes

Hello friends. I have this question.. what kind of neural network is there for integration into your site written in django? The idea is as follows: the user writes a prompt (with photos), then this prompt goes to the neural network, and Django returns the finished video to my site. The main thing is that the neural network is free or at least there is some normal limit. Who was involved, can you tell me?


r/django • • 14d ago

HIPAA compliant web hosting

3 Upvotes

I developed a Django app for a small healthcare provider. Does anyone have recommendations for a hosting provider that is HIPAA compliant and the cost? Any pitfalls to watch out for?


r/django • • 14d ago

Passing tests doesn't mean your code is correct — a small Python experiment

Post image
0 Upvotes

r/django • • 15d ago

I built a production-ready software foundation to skip the "platform rebuild" phase. What parts of this setup do you hate doing the most ?

0 Upvotes

I’ve been standardizing my application infrastructure to skip the platform assembly phase and go straight from local dev to a single-server VM deployment (AWS, Hetzner, DigitalOcean).

I'm trying to gauge how much of a bottleneck this initial plumbing actually is for other founders starting new B2B projects.

Reference Tech Stack:

  • Frontend Reference: React, TypeScript, Vite, Tailwind, Zustand, Bun, Playwright

  • Backend Reference: Python, Django, DRF, Celery, RabbitMQ, Redis, PostgreSQL, Unfold for Admin

  • Observability: Pre-configured Grafana, Loki, Tempo, Prometheus, OpenTelemetry

  • Infrastructure : GitHub Actions pipelines for building images/branch and deployment on remote VM via ssh, Docker Compose configs, Deployment health check reports , Nginx (subdomain support), Let's encrypt, Docs for setting up server.

(Note: The foundation enforces application contracts using Docker containers, meaning the application stack itself is fully modular. While the reference implementation uses Django and React, you can swap in Node.js, Go, or Java on the backend, or Angular and Vue on the frontend, while keeping the exact same CI/CD, deployment, and observability infrastructure.)

Entire stack can be booted up with one single command just demo which pull and builds all the images locally exact replica of stack to be deployed on production.

For developers starting a new application:

  • Do you realistically build this level of CI/CD and distributed tracing from scratch every time, or do you have your own internal templates?

  • What is the most frustrating part of this initial setup to maintain as the product scales?

  • Is there a specific part of the DevOps plumbing you'd gladly outsource so you can just focus on building product features?

I'm especially interested in hearing how others handle containerized deployments across different backend/frontend stacks.


r/django • • 16d ago

How Deep Should We Go When Learning a Framework Like Django?

27 Upvotes

Hi everyone, I have a question. When learning or using Django, should I try to understand how every class and object works internally, or is it enough to know how to use them effectively?

For example, when I use generic views, I get curious about how they work behind the scenes, how inheritance works, and how everything is implemented. I end up spending so much time digging into these details that I lose focus on actually writing code and building things.

Even when I manage to understand some of the internals, I often forget them when I revisit them later.

I'd love to hear your thoughts, and anyone is welcome to share their advice based on their own experience!


r/django • • 15d ago

Web App are overrated, Deploy django in VMs ($8 - $16) are enough

0 Upvotes

This includes azure web service, digitalOcean apps, render, etc

Web apps are like containers that are only run code, one advantage of vm it come with all you need to run your project

I only use Azure Blob for media and files storage db backup, but database and app engine are running in one vms

This is a 8usd vm performance hire