Django Unleashed Framework
1.47K subscribers
2.16K photos
1 video
2.57K links
Лучшие материалы по разработке на фреймворке Django на русском и английском языке

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

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

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

Другие наши проекты: https://tprg.ru/media
加入频道
Complete Guide to the Django Services and Repositories Design Pattern with the Django REST Framework

Introduction to the Django Services and Repositories Design Pattern with Django REST Framework
You can find the complete code and structure of the project in the following GitHub link: Click.
In the world of software development, code organisation an...

Read: https://mateoramirezr.hashnode.dev/django-services-and-repositories-design-pattern-with-rest-api

@django_prog
___
Другие наши проекты
Django security releases issued: 5.0.7 and 4.2.14

In accordance with our security release policy, the Django team
is issuing releases for Django 5.0.7 and Django 4.2.14.
These releases address the security issues detailed below. We encourage all
users of Django to upgrade as soon as possible.
CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()

urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.

Thanks to Elias Myllymäki for the report.

This issue has severity "moderate" according to the Django security policy.
CVE-2024-39329: Username enumeration through timing difference for users with unusable passwords

The django.contrib.auth.backends.ModelBackend.authenticate() method
allowed remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.

This issue has severity "low" according to the Django security policy.
CVE-2024-39330: Potential directory-traversal in django.core.files.storage.Storage.save()

Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().

Built-in Storage sub-classes were not affected by this vulnerability.

Thanks to Josh Schneier for the report.

This issue has severity "low" according to the Django security policy.
CVE-2024-39614: Potential denial-of-service in django.utils.translation.get_supported_language_variant()

get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.

To mitigate this vulnerability, the language code provided to get_supported_language_variant() is now parsed up to a maximum length of 500
characters.

Thanks to MProgrammer for the report.

This issue has severity "moderate" according to the Django security policy.
Affected supported versions

* Django main branch
* Django 5.1 (currently at beta status)
* Django 5.0
* Django 4.2
Resolution

Patches to resolve the issue have been applied to Django's main, 5.1, 5.0, and
4.2 branches. The patches may be obtained from the following changesets.
CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()

* On the main branch
* On the 5.1 branch
* On the 5.0 branch
* On the 4.2 branch
CVE-2024-39329: Username enumeration through timing difference for users with unusable passwords

* On the main branch
* On the 5.1 branch
* On the 5.0 branch
* On the 4.2 branch
CVE-2024-39330: Potential directory-traversal in django.core.files.storage.Storage.save()

* On the main branch
* On the 5.1 branch
* On the 5.0 branch
* On the 4.2 branch
CVE-2024-39614: Potential denial-of-service in django.utils.translation.get_supported_language_variant()

* On the main branch
* On the 5.1 branch
* On the 5.0 branch
* On the 4.2 branch
The following releases have been issued

* Django 5.0.7 (download Django 5.0.7 | 5.0.7 checksums)
* Django 4.2.14 (download Django 4.2.14 | 4.2.14 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/jul/09/security-releases/

@django_prog
___
Другие наши проекты
Framework Review: Using WordPress as Django/NodeJS Developer, My Thoughts.

The joke around town is that real developers don't use WordPress. I thought that 'joke' was gospel, and always looked down upon WordPress developers, as if they were second-class citizens in the software world, until a recent client engagement. Has a...

Read: https://lewinskie.hashnode.dev/framework-review-using-wordpress-as-djangonodejs-developer-my-thoughts

@django_prog
___
Другие наши проекты
30 самых полезных библиотек Python для веб-разработки в 2024 году

Узнайте о лучших библиотеках Python, которые помогут вам в 2024 году. От анализа данных до веб-разработки — все, что нужно для эффективного программирования на Python.

Читать: «30 самых полезных библиотек Python для веб-разработки в 2024 году»

@django_prog
___
Другие наши проекты
👎1
Travel through Open Source

A Long Time Ago, In A Galaxy Far, Far Away...

My travel started with the Djangonaut Space program. For those who don't know what I'm talking about check this out: https://djangonaut.space/

💡
If you want to become a Django contributor but don't kno...

Read: https://raffaellascode.hashnode.dev/travel-through-open-source

@django_prog
___
Другие наши проекты
Mastering Backend Foundations: Why Starting with Node.js Sets You Up for Success

🚀 Exciting Journey into Node.js Backend Development 🚀
I wanted to share a bit about my recent journey diving deep into Node.js for backend development. It's been an eye-opening experience that I believe every aspiring backend developer should consi...

Read: https://ritiksharmaaa.hashnode.dev/mastering-backend-foundations-why-starting-with-nodejs-sets-you-up-for-success

@django_prog
___
Другие наши проекты
Deploy Django to Azure - The Easy Way

The general perception is that deploying applications on the cloud is complicated, but that is not always true. We have really easy ways to deploy stuff on the cloud as well. So I will be demonstrating how to deploy Django Webpps to Azure easily.
Pr...

Read: https://blog.rachitkhurana.tech/deploy-django-to-azure-the-easy-way

@django_prog
___
Другие наши проекты
👍2
Python (Django) en el BackEnd: Un Análisis Completo

El desarrollo web moderno requiere herramientas potentes y eficientes para crear aplicaciones robustas y escalables. Python, con su enfoque en la simplicidad y legibilidad, se ha convertido en uno de los lenguajes de programación más populares para e...

Read: https://jorgecespedes.hashnode.dev/python-django-en-el-backend-un-analisis-completo

@django_prog
___
Другие наши проекты
👍2
ASHPense Manager

Introduction
Here's an opportunity to discuss a project I completed during my one-year software engineering intensive training at ALX. This portfolio project concluded the foundation curriculum.
About ASHPense Manager
ASHPense Manager is a web applic...

Read: https://amoaful.hashnode.dev/ashpense-manager

@django_prog
___
Другие наши проекты
Python, JavaScript, and Beyond: Danielle Ferrazzano’s Favorite Tools for Software Development

In the dynamic field of software development, the right tools and technologies can significantly enhance productivity and innovation. Danielle Ferrazzano, a software developer at Tech Innovators Inc. in Austin, Texas, has mastered an array of program...

Read: https://danielleferrazzano.hashnode.dev/python-javascript-and-beyond-danielle-ferrazzanos-favorite-tools-for-software-development

@django_prog
___
Другие наши проекты
From Algorithms to Empathy: Danielle Ferrazzano’s Approach to Collaborative Software Development

In the fast-paced world of software development, technical prowess is essential, but it is empathy and collaboration that truly drive innovation and success. Danielle Ferrazzano, a software developer at Tech Innovators Inc. in Austin, Texas, exemplif...

Read: https://danielleferrazzano.hashnode.dev/from-algorithms-to-empathy-danielle-ferrazzanos-approach-to-collaborative-software-development

@django_prog
___
Другие наши проекты
Crafting Modern Web APIs with Django and Django REST Framework: A Comprehensive Guide

Introduction
In the interconnected world of the internet, much of our online activities depend on the seamless interaction of multiple computers through APIs (Application Programming Interfaces). These APIs define the communication protocols between ...

Read: https://www.developerchronicles.com/crafting-modern-web-apis-with-django-and-django-rest-framework-a-comprehensive-guide

@django_prog
___
Другие наши проекты
📰 Обзор новостей Python/FastAPI/Django (08-14 июля 2024)

Узнайте о последних обновлениях в мире Python! Включая безопасные релизы Django 5.0.7 и 4.2.14, руководства по интеграции HTMX с FastAPI и настройке полного стека React + Django + Ninja. Подробности в статье!

Подробности: https://poovarasu.hashnode.dev/pythonfastapidjango-weekly-news-summary-0807202414072024

#en

@django_prog | Другие наши каналы
Понимание основных структур данных: типы, использование и производительность

Структуры данных делятся на линейные и нелинейные. Линейные включают массивы, списки, стеки и очереди, которые упрощают операции по обходу, вставке и удалению. Нелинейная структура, например, хэш-таблицы, обеспечивает быструю работу с ключами и значениями. Узнайте больше в статье!

Подробности: https://ritiksharmaaa.hashnode.dev/dsa-week-2-understanding-essential-data-structures-types-uses-and-performance

#en

@django_prog | Другие наши каналы
Настройка VSCode Dev Containers для Django + PostgreSQL, Celery и RabbitMQ

Если вы устали от ручной настройки окружения для разработки, рекомендуем воспользоваться VSCode Dev Containers. Это позволяет создать единое контейнеризированное окружение для вашего Django-проекта с PostgreSQL, Celery и RabbitMQ. Узнайте больше о настройке и необходимых компонентах в статье.

Подробности: https://anj.hashnode.dev/set-up-of-a-django-project-with-postgresql-celery-valkey-and-rabbitmq-using-vscode-dev-containers-and-docker-compose

#en

@django_prog | Другие наши каналы
👍3
Понимание нелинейных структур данных

Статья объясняет важность нелинейных структур данных, таких как деревья и графы. Эти структуры применяются в различных областях, включая компьютерные сети и базы данных. Примеры на Python помогают лучше разобраться в концепциях и их практическом применении.

Подробности: https://ritiksharmaaa.hashnode.dev/dsa-week-2-ii-non-linear-data-structures-explained-a-beginners-guide

#en

@django_prog | Другие наши каналы
👍1
Django Unleashed Framework
Photo
Как развернуть модели машинного обучения с Django и Docker на AWS

В статье рассматривается, как развернуть модели машинного обучения с использованием Django REST Framework и Docker на AWS. Руководство охватывает настройку проекта Django, создание REST API для прогнозирования, контейнеризацию приложения с Docker и настройку CI/CD. В конце статьи также обсуждаются лучшие практики и передовые методы деплоя.

Подробнее:
[Ссылка на статью] Развертывание ML моделей с Django и Docker на AWS

Пост: В статье описывается, как развертывать машинные модели с помощью Django REST Framework и Docker на AWS. Ключевые моменты включают настройку Django проекта, создание API для предсказаний, контейнеризацию с Docker, развертывание на EC2, настройку CI/CD и масштабирование. Узнайте, как автоматизировать и оптимизировать ваш процесс развертывания! Как эффективно развернуть модели машинного обучения

Узнайте, как развернуть свои модели машинного обучения и сделать их доступными в виде API. Научитесь использовать Django REST Framework, AWS EC2 и GitHub Actions. Для подробного обсуждения посетите AhmadWKhan.com. Поддержите автора!

Подробности: https://blog.ahmadwkhan.com/guide-to-deploying-machine-learning-models-with-django-and-docker-to-aws

#en

@django_prog | Другие наши каналы
❤‍🔥2
Эффективное Управление Ошибками в Django с Sentry

Sentry — это мощный инструмент для отслеживания ошибок в реальном времени. Интеграция с Django позволяет оперативно управлять ошибками. Зарегистрируйтесь на Sentry, создайте проект, установите Sentry SDK и настройте приложение для отправки отчетов об ошибках.

Подробности: https://djangodev.hashnode.dev/how-to-integrate-sentry-with-django-for-effective-error-handling

#en

@django_prog | Другие наши каналы
Постройте свой LLM с Django, PostgreSQL и API

В статье Ananya Mathur обсуждаются различные типы крупных языковых моделей (LLM), их преимущества и примеры использования. Также приводится техстек для создания собственного LLM с использованием Django, PostgreSQL и Postman. Узнайте, какие библиотеки и фреймворки могут пригодиться!

Ссылки на оригинальную статью здесь нет.

Подробности: https://anabot12.hashnode.dev/large-language-model-llm-with-django-postgresql-and-api

#en

@django_prog | Другие наши каналы