Django Unleashed Framework
1.46K subscribers
2.17K photos
2.58K links
Лучшие материалы по разработке на фреймворке Django на русском и английском языке

Разместить рекламу: @tproger_sales_bot

Правила общения: https://tprg.ru/rules

Другие каналы: @tproger_channels

Другие наши проекты: https://tprg.ru/media
Download Telegram
Battle-Tested Tips for Debugging Django and React Apps

Hey there, fellow code explorer! If you're reading this, you probably know that building web applications with Django and React can be incredibly rewarding. However, it's not all smooth sailing; sooner or later, you'll find yourself navigating the ma...

Read: https://read.seyeogunnowo.com/battle-tested-tips-for-debugging-django-and-react-apps
Advanced Query Techniques in Django's ORM

As a seasoned Django developer, you're likely well-acquainted with the power and convenience that the Django Object-Relational Mapping (ORM) system provides. However, to truly master Django development and optimize your database interactions, it's cr...

Read: https://read.seyeogunnowo.com/advanced-query-techniques-in-djangos-orm
👍1
Docker For Beginners - Creating Your First Docker Container

Introduction
Awesome folks, we're back for part two! Today, we'll build our first Docker container and run a Django to-do app with MySQL and Nginx containers! If you have not read my first blog on Docker, where I delve deep into Docker and Virtual Ma...

Read: https://mahboobalam.hashnode.dev/docker-for-beginners-creating-your-first-docker-container
Integrando React.js con Django: Una Sinfonía de Desarrollo Web Moderno

La combinación de React.js, una biblioteca de JavaScript para construir interfaces de usuario interactivas, y Django, un framework web de Python para desarrollo rápido y limpio del lado del servidor, ofrece una solución poderosa para construir aplica...

Read: https://jorgecespedes.hashnode.dev/integrando-reactjs-con-django-una-sinfonia-de-desarrollo-web-moderno
Django Decorators: An incomprehensive guide

Mastering Django Decorators: A Deep Dive into Pythonic Web Development
Django, a web framework written in Python, is celebrated for its simplicity and flexibility. One of the powerful features that contribute to this reputation is decorators. Decorat...

Read: https://blog.nischallamichhane.com.np/django-decorators
Mastering Django Forms: An Incomprehensive Guide

What are Forms?
Django, a high-level web framework written in Python, empowers developers to create robust and scalable web applications. One of the fundamental components of building interactive web forms in Django is its powerful form handling syst...

Read: https://blog.nischallamichhane.com.np/django-forms
Simple Django Tip #8

Introduction
In the past few posts, I have been sharing a couple of different tips that can be used in the starting stages of a Django project. A few of them are how to setup pytest in a django project, how to maintain secrets in a .env file, how to ...

Read: https://hellosambhavi.com/simple-django-tip-8
Django on Windows Server 2019/ 2022 Base AWS

Environment where I performed the testing
Windows Server 2019 and Windows Server 2022 Base in AWS

Launch an EC2 windows instance.

Access the server using RDP.

Go to Server Manager and Add Roles

Proceed based by clicking Next button.

On the servi...

Read: https://arislankareem.hashnode.dev/django-on-windows-server-2019-2022-base-aws
Day-25 | Docker Containerzation for Django.

Django, a high-level Python web framework, has become the go-to choice for web developers due to its simplicity, flexibility, and scalability. In this blog, we'll explore various aspects of Django development, from creating your own application to co...

Read: https://alvxndevops.hashnode.dev/day-25-docker-containerzation-for-django
👍1
Enhancing Your Django Apps: Inline SVG Icons with Iconify and Tailwind

When building a web application, we often face the challenge of managing a diverse set of icons. Icons are integral to user interface design. However, managing these icons can quickly become cumbersome, especially when aiming for consistency and effi...

Read: https://enzircle.hashnode.dev/enhancing-your-django-apps-inline-svg-icons-with-iconify-and-tailwind
2
Django, PostgreSQL, Gunicorn/uWSGI, Nginx

Подробное описание шагов при деплое web-проекта на Django с PostgreSQL, Nginx, Gunicorn.

Задачи статьи - агрегировать информацию из мануалов по деплою, избавить читателя от повторений ошибок и описать теоретически, для чего делаются те или иные шаги, чтобы избежать бездумного копирования и вопросов "почему у меня не работает".


Читать: https://habr.com/ru/articles/790886/
Handling Concurrency in Django with select_for_update

Key Takeaways
By the time you are done reading this article, you will:

Understand the age-old problem of managing concurrency in scalable applications


Learn how you can leverage Django’s inbuilt select_for_update function to manage concurrency sce...

Read: https://tosxn.hashnode.dev/handling-concurrency-in-django-with-selectforupdate
Handling JSON Data Serialization when Working with Django REST Framework APIs

Introduction
Website development, and computer programming in general, involves handling and manipulating data. Many web apps constitute database serves that hold various types of data. Client computers frequently need to retrieve or update the data,...

Read: https://nickoch.hashnode.dev/handling-json-data-serialization-when-working-with-django-rest-framework-apis
A Guide to Building Your Own Custom Tags and Filters

In Django, making dynamic content can be hard without built-in tools. It gets confusing without ready-made ways to add special actions in templates. That's where custom template tags come in! They rescue us by making it easy to do special things in o...

Read: https://bisesh-blog.hashnode.dev/a-guide-to-building-your-own-custom-tags-and-filters
What is framework?

A framework is a set of conceptural structure and guidelines used to build something useful
A framework may include predefined classes and functions that can be used to process input, manage hardware devices, and interact with system software
Why use...

Read: https://devopsumesh.hashnode.dev/what-is-framework
How to migrate SQL db data in Django?

I recently had a task at hand to migrate from a on VM PostgreSQL DB instance to Azure PostgreSQL Flexible server (a cloud native managed PostgreSQL server). We use docker compose for service orchestration for local development due to its easy of use ...

Read: https://nikhilakki.in/how-to-migrate-sql-db-data-in-django
👍2
Django Roadmap 2024

Perfect for beginners, it will guide you through building your first web app and mastering core Django concepts. And if you're an experienced developer, this guide is the ultimate resource for refreshing your skills and staying at the forefront of yo...

Read: https://tech.raturi.in/django-roadmap
Model-View-Controller (MVC) in Django

Model-View-Controller is a software architectural pattern used to implement a logic between user's interface, data and the controlling flow. It is divided into three parts:

Model: contains the data to be sent or updated.

View: handles layout and di...

Read: https://blur.hashnode.dev/model-view-controller-mvc-in-django
🔥2
Django security releases issued: 5.0.2, 4.2.10, and 3.2.24

In accordance with our security release policy, the Django team
is issuing Django 5.0.2, Django 4.2.10, and Django 3.2.24.
These releases address the security issue detailed below. We encourage all
users of Django to upgrade as soon as possible.
CVE-2024-24680: Potential denial-of-service in intcomma template filter

The intcomma template filter was subject to a potential denial-of-service
attack when used with very long strings.
Affected supported versions

* Django main branch
* Django 5.0
* Django 4.2
* Django 3.2
Resolution

Patches to resolve the issue have been applied to Django's main branch and the
5.0, 4.2, and 3.2 stable branches. The patches may be obtained from the
following changesets:

* On the main branch
* On the 5.0 release branch
* On the 4.2 release branch
* On the 3.2 release branch

The following releases have been issued:

* Django 5.0.2 (download Django 5.0.2 | 5.0.2 checksums)
* Django 4.2.10 (download Django 4.2.10 | 4.2.10 checksums)
* Django 3.2.24 (download Django 3.2.24 | 3.2.24 checksums)

The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E
General notes regarding security reporting

As always, we ask that potential security issues be reported via private email
to [email protected], and not via Django's Trac instance, nor via
the Django Forum, nor via the django-developers list. Please see our security
policies
for further information.

Read: https://www.djangoproject.com/weblog/2024/feb/06/security-releases/
Leveraging HTMX for Dynamic UI in Django Projects

What is HTMX?
HTMX is a powerful tool that allows developers to create highly interactive and dynamic user interfaces without the need for heavy JavaScript frameworks. At its core, HTMX uses HTML attributes to define behaviour, making it an ideal com...

Read: https://mounir.hashnode.dev/leveraging-htmx-for-dynamic-ui-in-django-projects