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
Building Your First Django Application: A Step-by-Step Guide

In the previous blog post, we introduced Django and discussed its key features and advantages. In this blog post, we will walk you through setting up a Django development environment and building your first Django application.
Prerequisites
Before yo...

Read: https://devread.hashnode.dev/building-your-first-django-application-a-step-by-step-guide
Telegram Django Bot за пару строк

На Хабре много статей про разработку Телеграм ботов на Python, в том числе при помощи Django. Однако, большинство из них направлено на первичное ознакомление с API Телеграм.

В этой статье я хочу рассказать как можно упростить разработку ботов, сократив количество кода в разы, и не создавать велосипед.


Читать: https://habr.com/ru/articles/734786/
Exploring Django Models: Creating and Managing Data

Welcome back to our exciting Django basics series! In the previous posts, we introduced Django and built our first app. Now, we're going to delve into the world of Django models, where we'll learn how to create and manage data in our web applications...

Read: https://devread.hashnode.dev/exploring-django-models-creating-and-managing-data
Mastering Django Queries: Unleash the Power of Data Retrieval

Introduction:
Welcome back to our thrilling Django Basics series! In the previous posts, we introduced Django, built our first app, and explored Django models. Today, we're going to unlock the true power of data retrieval with Django queries. Don't w...

Read: https://devread.hashnode.dev/mastering-django-queries-unleash-the-power-of-data-retrieval
How to Build Your Own Website with Django

Hello! Last week, my friends and I wanted to participate in a hackathon, and I was tasked with building a website that my friend Yash could deploy to the cloud. I didn't have any prior experience with HTML, CSS, or JavaScript, but since I know Python...

Read: https://blogrohit.hashnode.dev/how-to-build-your-own-website-with-django
Python with Django: A Winning Combination for Web Application Development

Today, I want to highlight the winning combination of Python with Django for web application development. Python and Django are powerful tools that offer numerous advantages in terms of productivity, scalability, and security. Let's explore why Pytho...

Read: https://readmethis.hashnode.dev/python-with-django-a-winning-combination-for-web-application-development
👎1
Django Unleashed Framework
Photo
May 2023 Grants

I wanted to share today some of the great things that DSF donations go towards. This month was a particularly big month in grant approval, so I wanted to highlight some of those, and with it, some of the exciting things happening in the Django community.

$6,000 to DjangoCon Africa

The first DjangoCon Africa was scheduled to take place in 2020. However, with the global health situation as it was, 2023 is now the inaugural DjangoCon Africa, and the DSF is excited to be part of that. This grant is to help DjangoCon Africa get started, and to fund smaller grants help attendees attend DjangoCon Africa. DjangoCon Africa will be November 6-11. https://2023.djangocon.africa/

$6,000 to DjangoCon US

This year, DjangoCon US is a hybrid conference, taking place in Durham, NC, and online. This was a great success last year, making the conference more accessible than ever, and there has been special focus this year on enhancing both conference experiences. 100% of the DSF’s donation for DjangoCon US will go to Opportunity Grants, to help people who would be unable to afford the conference, travel, or lodging, to attend the conference. DjangoCon US will take place October 16-20, and a special online tutorials day will happen the week before the conference, on October 8th. Tutorial tickets are separate from conference tickets. https://2023.djangocon.us/

While we are talking about DjangoCons, I didn’t want to go without talking about DjangoCon Europe and DjangoCon Australia, even though grants for these were approved in previous months.

DjangoCon Europe is coming up soon! May 29th- June 2 in Edinburgh! https://2023.djangocon.eu/ Tickets are on sale now!

DjangoCon Australia is a one day track that runs alongside PyCon US. It will be August 18, and PyCon AU will continue August 19-22. The CFP is open now: https://2023.djangocon.com.au/

$1,000 Other

The DSF also vets and approves smaller grants for Django groups all over the world. This month, $1000 in other grants was given out.

$10,000 to DjangoGirls

Finally, I wanted to highlight the DSF’s work with DjangoGirls. DjangoGirls is an organization that provides the reference materials and other resources to empower local groups around the world to host workshops, with a focus on teaching women Python and Django. The DSF supports the organization as a whole, as well as directly sponsoring local groups.

If you are in a position to support these efforts, please consider donating to the DSF. None of this can happen without community support.

For individual and smaller company donations, donate here: https://www.djangoproject.com/fundraising/

If you wish, your name and a link of your choice can appear on our website for one year. Donations can be one-time, monthly, quarterly, or yearly.

You can also donate through GitHub: https://github.com/sponsors/django

For companies able to make a larger commitment ($2000+), please look at corporate membership: https://www.djangoproject.com/foundation/corporate-membership/ and consider making an application: https://www.djangoproject.com/foundation/corporate-membership/join/

Thank you,

Catherine Holmes

DSF Assistant

Read: https://www.djangoproject.com/weblog/2023/may/15/may-2023-grants/
Django 5.x Steering Council Election Results

The Steering Council for the Django 5.x release cycle will be:

* Simon Charette
* Andrew Godwin
* Adam Johnson
* James Bennett

Congratulations to the new council, and a special thank you for the departing members Thomas Forbes and Florian Apolloner.

Thank you to everyone who participated in the nominations and voting.

Voting breakdown:

* 268 eligible voters
* 74 votes received

There were not enough candidates to fill the positions available, so all candidates were successful.

Full voting breakdown available on RankedVote.co.

Read: https://www.djangoproject.com/weblog/2023/may/16/django-5x-steering-council-election-results/
🔥1
Дайджест Python #9: PandasAI, Телеграм-бот на Django и языковые модели на Python

Собрали лучшие материалы по Python с 1 по 15 мая. Узнайте, что такое PandasAI и как сделать языковую модель на Python.

Читать: «Дайджест Python #9: PandasAI, Телеграм-бот на Django и языковые модели на Python»
Guia do PEP 8: Convenções de Estilo de Código Python

Vamos abordar agora um pouco sobre o PEP 8. Falarei resumidamente dos principais conceitos dessa convenção


Introdução:
Quando se trata de escrever código Python limpo, legível e consistente, seguir as diretrizes do PEP 8 é fundamental. O PEP 8 é um...

Read: https://viana.hashnode.dev/pep8
Создаем блог на Django с опросами и тестами. Краткая инструкция. Часть 1

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

В Proglib собрали небольшой шаблон, на базе которого можно создать свой блог на Django, а после — задеплоить на виртуальный сервер. Материал будет полезен новичкам, которые знакомы с базовыми концепциями фреймворка и хотят закрепить знания. Подробности под катом!


Читать: https://habr.com/ru/companies/selectel/articles/735556/
Error Exception Handling in Django/Python

Write

Get unlimited access to all of Medium for less than $1/week.
Become a member

Ejikeme Blaise
Just now
Hi Python/Django Developers, which two most popular exceptions.py do you use in your code?
Me: ObjectDoesNotExist and IntegrityError!
The for...

Read: https://blaismart.hashnode.dev/error-exception-handling-in-djangopython
Building Course Assist Part 14: Adding timestamps to conversations and creating a professional business email

With the launch of Course Assist nearly approaching I've spent the last couple of days adding some final touches and testing the app to make sure everything is working the way it's supposed to. Some of the latest tasks I did as stated in the title ar...

Read: https://andysonm.hashnode.dev/building-course-assist-part-14-adding-timestamps-to-conversations-and-creating-a-professional-business-email
Crud using Django Rest Framework(DRF)

Today, we will build a CRUD API with the help of Django Rest Framework. The API will allow users to add, update, and delete items. Each item will consist of an item name, price, and quantity.

Here are the steps for performing the task as described b...

Read: https://bisesh-blog.hashnode.dev/crud-using-django-rest-frameworkdrf
Проектирование ML-сервиса для прогнозирования котировок акций (для Advisors’ Axiom от Росбанка)

Привет, меня зовут Илья Померанцев, я руководитель ML-направления в Globus IT. Расскажу, как мы разработали нейросеть для оценки тональности новостей для инвестиционной платформы Advisors’ Axiom от Росбанка.

О проекте

Инвестиционная платформа Advisors’ Axiom — это площадка для совместной работы инвесторов сегмента Premium и VIP, инвестиционных консультантов и финансовых экспертов, разработанная ПАО «Росбанк».

Для проекта была разработана нейросеть для прогнозирования котировок акций в зависимости от тональности финансовых новостей. Полученная информация поможет клиентам, инвестиционным консультантам и финансовым экспертам более эффективно инвестировать денежные средства в ценные бумаги компаний. Вот о ее разработке мы и расскажем подробнее.

Задача

Задача сервиса — получение, оценка (классификация) финансово-экономических новостей на основе машинного обучения модели нейронной сети для классификации текстов финансово-экономической направленности по трем видам тональностей.


Читать: https://habr.com/ru/articles/736122/
Load Testing Django APIs with Locust: A Quick Guide

My interest in APIs performance, metrics monitoring, and observability has been piqued ever since I read this awesome article by Shalvah. My first foray into this world which I would like to document is Load Testing.
By the end of this article, you'l...

Read: https://damisola.hashnode.dev/load-testing-django-apis-with-locust-a-quick-guide
Configurando o banco de dados MariaDB no framework Django

Hoje veremos como realizar a configuração do banco de dados MariaDB utilizando o driver mysqlclient no framework web Django.

📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta MariaDB 10.4 ou superior.

Para ver como configurar o fra...

Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-mariadb-no-framework-django
Configurando o banco de dados PostgreSQL no framework Django

Hoje veremos como realizar a configuração do banco de dados PostgreSQL utilizando-se o driver psycopg3 no framework web Django.

📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta PostgreSQL 11 ou superior.


Instalação
Para instalar ...

Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-postgresql-no-framework-django
👍1
Configurando o banco de dados MySQL no framework Django

Hoje veremos como realizar a configuração do banco de dados MySQL utilizando-se o driver mysqlclient no framework web Django.

📝 Código testado no Django 4.2.
📝 O framework Django 4.2 suporta MySQL 8 ou superior.


Dependências
Ubuntu
sudo apt inst...

Read: https://blog.justcode.com.br/configurando-o-banco-de-dados-mysql-no-framework-django
👍1
Battle of the Backend API Frameworks: Django REST Framework vs. NestJS - Which One Reigns Supreme?

Software architects often find themselves in a perplexing dilemma when it comes to making tech stack decisions. This predicament becomes especially challenging when comparing frameworks like Django REST Framework and NestJS. On one hand, Django REST ...

Read: https://triglon.hashnode.dev/battle-of-the-backend-api-frameworks-django-rest-framework-vs-nestjs-which-one-reigns-supreme