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
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
Docker- How To Dockerize A Django Application

Here I will work you through the steps to dockerize your Django application
Check Dependencies:
First make sure you have Docker and Python installed if not install them
#This checks the version of python
$ python --version

#This checks the version o...

Read: https://hilarydev.hashnode.dev/docker-how-to-dockerize-a-django-application
👍1
React Django To-do app using Jenkins

1. Jenkins Installation on Ubuntu
Jenkins requires Java to run.
sudo apt update
sudo apt install openjdk-11-jdk -y

First, add the repository key to your system:
sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
https://pkg.jenkins.io/debian/j...

Read: https://rushikesh-rawool.hashnode.dev/react-django-to-do-app-using-jenkins
👍1
Simple Django Tip #9

Image attribute: Social media illustrations by Storyset
Introduction
I started to write about Django tips in concurrence to my development with a product I'm building. As and when I complete developing a logical step, I take the crux of it and share ...

Read: https://hellosambhavi.com/simple-django-tip-9
Building a Simple Blogging GraphQL API with Django and Strawberry

What is GraphQL?
GraphQL is a query language for APIs that enables clients to request only the data they need and nothing more. Unlike traditional REST APIs, where clients are often constrained by the fixed structure of the responses, GraphQL allows ...

Read: https://aniketdubey.hashnode.dev/building-a-simple-blogging-graphql-api-with-django-and-strawberry
👍4
Django Rest Framework Customization Mastery

As a Django developer, mastering the art of customizing serializers, views, and models in DRF is a significant step towards building powerful and flexible web applications. In this article, we'll delve into various customization techniques and provid...

Read: https://austinik.hashnode.dev/django-rest-framework-customization-mastery
Middleware in Django: The Unseen Hand of Your Backend Development

In the bustling world of web development, every request and response needs a smooth journey. Django, the ever-popular Python framework, empowers developers with a powerful tool called middleware to manage this flow seamlessly. Think of middleware as ...

Read: https://techvillian.hashnode.dev/middleware-in-django-the-unseen-hand-of-your-backend-development
👍1