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
Understanding Django Middleware: A Practical Guide

Django middleware is a powerful tool that allows you to process requests and responses globally across your entire Django application. In this post, we'll explore what middleware is, how it works, and walk through some practical examples.
What is Dja...

Read: https://kenan7.com/understanding-django-middleware-a-practical-guide

@django_prog
___
Другие наши проекты
From Frontend to Full Stack: A Developer's Journey into Backend Territory

As a front-end developer, I've always been comfortable crafting user interfaces and bringing designs to life in the browser. However, I recently decided to venture into the world of backend development, and boy, was it an eye-opening experience! My t...

Read: https://theadekolaexperience.hashnode.dev/from-frontend-to-full-stack-a-developers-journey-into-backend-territory

@django_prog
___
Другие наши проекты
Болевые точки Django в современной разработке

Сегодня хочу поговорить про Django. Django — замечательный фреймворк. А еще крайне популярный, его часто осваивают новички и используют в своих проектах. На самом деле у Django есть и несколько минусов, а точнее нюансов, на которые важно обращать внимание и о которых важно знать, приступая к разработке.

Читать: «Болевые точки Django в современной разработке»

@django_prog
___
Другие наши проекты
1
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
___
Другие наши проекты