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
Django Crypto App Part 3: Wrap-Up and Testing

Introduction
Welcome to the final part of the 3-part technical tutorial series, where have been building a Django project that enables users to manage their cryptocurrency portfolios. To implement the functionalities and additional features, we'll be...

Read: https://opensourced.hashnode.dev/django-crypto-app-part-3-wrap-up-and-testing
Add Django Coverage & Quality pipelines in Gitlab

Introduction
If you have a Django project and you want to leverage Gitlab's pipelines to see your test cases running or see the code coverage %. The below article would help you do it step by step.
Code Coverage setup
For the code coverage you need t...

Read: https://chiragc.com/add-django-coverage-quality-pipelines-in-gitlab
Backends for Typescript React Apps

Highly Rated Backend Options
Let’s discuss backend options when using React and Typescript. Here are some of the most popular backend options for use with React and TypeScript with brief summaries and takeaways to help you compare them and find the r...

Read: https://jonchristie.hashnode.dev/backends-for-typescript-react-apps
Developing Django REST API

In this article, we will cover- APIs- Django REST APIs- HTTP methods and- Create our very own first REST API application.
What is an API?
API is short for Application Programming Interface and it allows you to interface with other applications and pu...

Read: https://waughkes.hashnode.dev/developing-django-rest-api-clh7p9frb000j09mf63o3fft3
Django Unleashed Framework
Photo
Django security releases issued: 4.2.1, 4.1.9, and 3.2.19

In accordance with our security release policy, the Django team
is issuing Django 4.2.1, Django 4.1.9, and Django 3.2.19.
These releases addresses the security issue detailed below. We encourage all
users of Django to upgrade as soon as possible.
CVE-2023-31047: Potential bypass of validation when uploading multiple files using one form field

Uploading multiple files using one form field has never been supported by forms.FileField or forms.ImageField as only the last
uploaded file was validated. Unfortunately, Uploading multiple files
topic suggested otherwise.

In order to avoid the vulnerability, ClearableFileInput
and FileInput` form widgets now raise ValueError when
the multiple HTML attribute is set on them. To prevent the exception and
keep the old behavior, set allow_multiple_selected to True.

For more details on using the new attribute and handling of multiple files
through a single field, see Uploading multiple files.

Thanks Moataz Al-Sharida and nawaik for reports.

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

* Django main branch
* Django 4.2
* Django 4.1
* Django 3.2
Resolution

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

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

The following releases have been issued:

* Django 4.2.1 (download Django 4.2.1 | 4.2.1 checksums)
* Django 4.1.9 (download Django 4.1.9 | 4.1.9 checksums)
* Django 3.2.19 (download Django 3.2.19 | 3.2.19 checksums)

The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
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 or the django-developers list. Please see our security
policies
for further
information.

Read: https://www.djangoproject.com/weblog/2023/may/03/security-releases/
Django Vs. Laravel: A War of Two Powerful Web Development Frameworks 🔥

Imagine your city is under attack and Thanos is destroying building one after one. You are on the verge of a collapsing building and you have only choice to choose between Captain America and Iron Man to rescue you.
On the one hand, you have Captain ...

Read: https://makerspace.hashnode.dev/django-vs-laravel-a-war-of-two-powerful-web-development-frameworks
Growing Django Skills: GitHub MiniProjects

Bismillah,
Over the past few days, I've been experimenting with Django, learning new concepts through the Django official documentation and Real Python contributors.
In this article, I'll just share an overview of a few mini-projects that you can fin...

Read: https://chiefomar.hashnode.dev/growing-django-skills-github-miniprojects
Дайджест Python #8: обновления Django и обучение GPT-4

Собрали дайджест из материалов по Python с 15 по 30 апреля. Узнайте, как подключить AutoGPT проекту, как изменился Django и как обучить GPT-4.

Читать: «Дайджест Python #8: обновления Django и обучение GPT-4»
👍1
Portfolio App: Islamic Calendar Web App - Bugs Here and There

Bismillah,
Asalaam Aleykum brothers and sisters. I hope you have been well, I know I have Alhamdullilah.
In the previous article, I discussed how I'll be working on a Portfolio App for showcasing my skills as a Developer. Well, I started that this mo...

Read: https://chiefomar.hashnode.dev/portfolio-app-islamic-calendar-web-app-bugs-here-and-there
👍1
Django unit testing - Part (2/2): Implent unit testing and coverage in django

Intro
This article is using the following versions:

Django==4.2.1

djangorestframework==3.14.0


Disclaimer: This is a very on-top look over these topics, you can find it deeper in the docs.
First article link:
https://zomor.hashnode.dev/django-unit...

Read: https://zomor.hashnode.dev/django-unit-testing-part-22-implent-unit-testing-and-coverage-in-django
Add Django Coverage and Quality pipelines in Gitlab

Introduction
If you have a Django project and you want to leverage Gitlab's pipelines to see your test cases running or see the code coverage percentage. This article will guide you step by step.
Code Coverage setup
For the code coverage you need to ...

Read: https://blog.chiragc.com/add-django-coverage-and-quality-pipelines-in-gitlab
📰 Monthly digests: April 2023

In the company where I work, I do a monthly digest with information that I find valuable and interesting to share with my colleagues and discuss them.This digest will be mostly related to Django framework.
Links

🎸 Django 4.2 released - Django 4.2 i...

Read: https://hashnode.dmytrolitvinov.com/monthly-digests-april-2023
👍2
Kicking Bugs Out: Django + Postgresql Migrations, plus more bugs showing up...

Bismillah,
Asalaam Aleykum brothers and sisters, I hope your weekend was refreshing. Welcome back to the blog.
As you might remember, in the previous article I had the following bug:
raise MigrationSchemaMissing( django.db.migrations.exceptions.Migra...

Read: https://chiefomar.hashnode.dev/kicking-bugs-out-django-postgresql-migrations-plus-more-bugs-showing-up
Автоматическая документация API Django Rest Framework с помощью DRF Spectacular

Целью этой статьи является демонстрация возможностей drf-spectacular для документирования API и основного набора техник, которые покроют большую часть сценариев использования. Мы настроим генерацию документации и рассмотрим все основные способы гибкой настройки отображения.


Читать: https://habr.com/ru/articles/733942/
👍2
Django Unleashed Framework
Photo
Announcing DjangoCon Africa 2023

The African Django community is excited to announce the first DjangoCon Africa event, taking place this year in Zanzibar, Tanzania, from 6th - 11th November 2023. The first event since the global pandemic postponed our planning in 2020. We are thrilled to convene, support one another and give back to the African Python web community now that travel and health safety guidelines have normalized.

DjangoCon Africa 2023 will be held at the State University of Zanzibar where we have three meeting rooms, one auditorium, 15 minutes away from food and activities, and convenient access to students, professionals, and international travelers.

About DjangoCon Africa

DjangoCon Africa will include 3 days of single-track talks, 2 days of workshops and sprints, and one day of touring for international visitors.

The event will also include a Django Girls workshop to be held the weekend before DjangoCon Africa. To make the conference as inclusive as possible, the event will offer financial aid to members of under-represented communities in software to ensure they can also attend.

The CFP, which is open to all, will also be announced as soon as the month of June.

Sponsorship

The success of DjangoCon Africa lies hugely in the sponsorship of organizations and individuals within the Python/Django community. We are appealing to organizations and individuals to help us make DjangoCon Africa possible by sponsoring the event.

If you are interested in sponsoring DjangoCon Africa 2023, please contact the team at [email protected].

Read: https://www.djangoproject.com/weblog/2023/may/10/announcing-djangocon-africa-2023/
From Database to CSV: A Step-by-Step Guide to Exporting Data in Django

Introduction
CSV (Comma Separated Values) is a file format used to store data in tabular form, with each row representing a record and each column representing a field. CSV files are widely used for data exchange between different software applicatio...

Read: https://blog.jumashafara.com/from-database-to-csv-a-step-by-step-guide-to-exporting-data-in-django
Introduction to Django: A Comprehensive Guide

Django is a popular web framework written in Python that helps developers build web applications quickly and easily. It is designed to be scalable, secure, and easy to maintain. Django is used by large and small organizations alike, including Instagr...

Read: https://devread.hashnode.dev/introduction-to-django-a-comprehensive-guide
GSoC 2023 with Orthogonal Labs (INCF)

It is my pleasure to let you all know that I have been accepted as a contributor in Google Summer of Code 2023 with Orthogonal Labs which comes under the umbrella organisation INCF - International Neuroinformatics Coordinating Facility.
My proposal i...

Read: https://rajagopalan.hashnode.dev/gsoc-2023-with-orthogonal-labs-incf