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
First Step of the Journey

I went to sleep early last night and missed working on Events. However, I have been working on the email verification through Vonage for the last 3 hours and I am almost done with it. It was not as easy as it seemed in the documentation, it was not v...

Read: https://shamun.hashnode.dev/first-step-of-the-journey
👍1
Gestión de Usuarios en Django

Simplificando la Autenticación y Autorización
En el mundo del desarrollo web, la autenticación y autorización de usuarios son aspectos cruciales para garantizar la seguridad y la privacidad de los datos. Django, uno de los frameworks web más populare...

Read: https://jorgecespedes.hashnode.dev/gestion-de-usuarios-en-django
👍1
Navigating Django App Deployment with Aptible

Being able to manage APIs and deploy applications while gaining the advantages of automated scaling and rigorous security procedures is advantageous with Continuous Integration and Continuous Deployment (CI/CD). It gives devs the chance to concentrat...

Read: https://afimaamedufie.hashnode.dev/navigating-django-app-deployment-with-aptible
👍1
Collaboration

The last whole day was spent in the research of using the right data storage to handle the videos that will be uploaded by the users. I thought of exploring this now because most probably I will have to go for a cloud solution and I will have to lear...

Read: https://shamun.hashnode.dev/collaboration
How to handle file uploads in Django

If your goal is to understand

How to create a File Field in Django

How Django manages and stores these files

How to access the file objects for further editing

How to access these files in your code and render them on a web page


Then you are at...

Read: https://superbemiloju.hashnode.dev/how-to-handle-file-uploads-in-django
👍1
Django Unleashed Framework
Photo
Django security releases issued: 4.2.5, 4.1.11, and 3.2.21

In accordance with our security release policy, the Django team
is issuing Django 4.2.5, Django 4.1.11, and Django 3.2.21.
These releases addresses the security issue detailed below. We encourage all
users of Django to upgrade as soon as possible.
CVE-2023-41164: Potential denial of service vulnerability in django.utils.encoding.uri_to_iri()

django.utils.encoding.uri_to_iri() was subject to potential denial of service attack via certain inputs with a very large number of Unicode characters.

Thanks MProgrammer for the report.

This issue has severity "moderate" 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.5 (download Django 4.2.5 | 4.2.5 checksums)
* Django 4.1.11 (download Django 4.1.11 | 4.1.11 checksums)
* Django 3.2.21 (download Django 3.2.21 | 3.2.21 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/sep/04/security-releases/
Managing superusers when using the Django admin as a backend for employees

Out-of-the-box Django comes with a superuser checkbox that can be set on each user in the admin. Superusers are somewhat equivalent to the root user in Linux: it gives all permissions no matter what group you are in.
Staff users and super users
Super...

Read: https://deepintodjango.com/managing-superusers-when-using-the-django-admin-as-a-backend-for-employees
2023 Django Developers Survey

The DSF is once again partnering with JetBrains to run the2023 Django Developers Survey .

Please take a moment to fill it out. The survey is an important metric of Django usage and helps guide future technical and community decisions.

The survey will be open until October 1st, 2023 Anywhere on Earth (AoE). After the survey is over, the aggregated results will be published.

JetBrains will randomly choose 10 winners (from those who complete the survey in its entirety), who will each receive a $100 Amazon Gift Card or a local equivalent. Full terms and conditions are available on the survey website.

Read: https://www.djangoproject.com/weblog/2023/sep/05/2023-django-developers-survey/
👍1
Setting Up a Django Project

Django(Python Django) is a high-level web development framework. It provides and flexible project structure and makes it easier to start new projects, In addition to that it follows the Model-View-Controller(MVC) architectural pattern, commonly refer...

Read: https://chrisdevcode.hashnode.dev/setting-up-a-django-project
1
Django Unleashed Framework
Photo
Last call for DjangoCon US Hotel Reservations

DjangoCon US 2023 is just about here!

While the conference isn’t until Oct 16-20, we’re sharing this now
because discounted hotel rooms are filling up fast and will go away
entirely on September 15th.

If you can’t make it in person this year, we also have online tickets: https://ti.to/defna/djangocon-us-2023.

All talks will be available online via the LoudSwarm platform, so you
won’t miss any action. We have eleven exclusive talks for our online
attendees, so you get more content. Online tickets are a great and
affordable way to access the treasure trove of knowledge being shared
without making a larger time or financial commitment.
Tutorials are virtual on October 8th

This year’s conference will have the tutorials the week before the
conference. There wasn’t space at the venue to hold them in-person. You
can find the full schedule on our website: https://2023.djangocon.us/tutorials/. This year, we are excited to have
tutorials ranging from mastering test driven development to
supercharging your Django development environment with VS Code and dev
containers.
The In-person DjangoCon US Experience

On Monday, October 16th, we kick off with the main conference schedule
packed full of talks. Again, that full schedule is live so that you can
start planning which room you will be in during the event: https://2023.djangocon.us/talks/

Two particular talks we’re excited about are Natalia Bidart’s talk
“Inside Out: My Journey of Understanding Inclusion” and Thibaud Colas’
talk “Django’s accessibility track record”.

After two days of talks, on Wednesday the 18th, we will have a full
day’s worth of deep-dive sessions, ending with a career development
panel. Finally, on Thursday and Friday, we will be hosting two full days
of sprints where anyone can get involved making contributions to the
Django ecosystem: https://2023.djangocon.us/sprints/. Note that sprints
are included in the main ticket prices, but we do ask that you register
ahead of time, so we know how many folks will be coming to each day’s
session: https://ti.to/defna/djangocon-us-2023
Beyond The Talks and Sprints

There is so much happening at DjangoCon US beyond the main conference
agenda. We will have board game sessions, impromptu meetups, breakout
sessions for those interested in various topics, and so much more! All
of the things that are traditionally very difficult to do online, we
plan to facilitate in-person so that attendees get the most out of their
conference experience.

Plus, you can explore Durham, North Carolina with the great people you
meet here. We think you’ll find it a diverse, welcoming spot with lots
to do within walking distance of the conference!

We are incredibly excited to see everyone online and in person. We hope
that you will join us at this year’s conference!

Read: https://www.djangoproject.com/weblog/2023/sep/06/last-call-for-djangocon-us-hotel-reservations/
Как сделать свою страницу в Django Admin с выразительной Hand Chart?

Привет Хабр! Меня зовут Вячеслав Разводов, я ведущий разработчик Группы "Иннотех".

Мир покера – увлекательный и непредсказуемый. Волнение перед каждой раздачей, стратегические решения, анализ оппонентов – все это создавало уникальную атмосферу напряжения и интриги. Моя страсть к покеру не знала границ, и я уделял этому искусству не только массу времени, но и старался постоянно совершенствоваться. Читал книги, учился считать ауты. И конечно, много играл с друзьями и онлайн-площадках PokerStarts, PokerDom. Время шло, моя страсть к покеру под остыла. Однажды я получил предложение поучаствовать в проекте связанным с покерной тематикой. Конечно я согласился не раздумывая.


Читать: https://habr.com/ru/companies/T1Holding/articles/751176/
Капибара, Новый Старый Пикабу

Пикабу долгое время было уютным уголком для обмена историями, опытом, творчеством, мнениями и эмоциями. Однако ряд нововведений, таких как отмена баянометра, изменение алгоритмов и скрытие отрицательных оценок, привели к потере духа оригинального портала. Многие из нас, пришедшие туда в молодости и теперь ставшие взрослыми, почувствовали, что наши ценности и мнения игнорируются. В ответ на это, мы, группа энтузиастов, создали "Капибару" – проект, который стремится сохранить лучшие стороны Пикабу, предоставляя пространство где пользователи сами решают какой контент "годный" и какой контент хотят видеть в своей ленте.


Читать: https://habr.com/ru/articles/759598/
Интеграция Telegram ботов в Django приложениях

Как же объединить Django и Telegram бота в одном проекте?

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


Читать: https://habr.com/ru/articles/759784/
👍1
Django или Fast API: выбираем Python-фреймворк для веб-разработки

Многие программисты не могут прийти к единственно верному ответу, когда спорят о том, что лучше: язык С+ или Python, писать приложение, обладая навыками программирования, или создать программу из-под коробки. Сегодня этот спор не обошел и нас: Django или FastAPI? О деталях фреймворков — Анастасия Иванова, технический писатель МТС Exolve (входит в экосистему МТС).


Читать: https://habr.com/ru/companies/ru_mts/articles/759848/
React JS and Django

Everyone would agree when I say that React is way better for front than HTML, CSS, and Javascript. I am in the process of learning to use it as the face for a Django web application. I am given a task to read data from a CSV file uploaded by a user a...

Read: https://shamun.hashnode.dev/react-js-and-django
👍1
Custom SQL In Django Migration

In my project, one use case came with custom SQL migration.
Step1:
Create the empty migration
python manage.py makemigrations <project_name--empty -n <relevant# python manage.py makemigrations app --empty -n creating_users

Step 2:
Open c...

Read: https://venkatesh.hashnode.dev/custom-sql-in-django-migration
👍1
Django: Creating models dynamically

My original idea with siteplan was to allow a quick way to start and run a new django project (or app). The official way is to always start a minimal app that contains at least the following:

models.py

settings.py

urls.py


Apparently, you need th...

Read: https://grep.koditi.my/django-creating-models-dynamically
Google Spreadsheets integration in Python (part one)

Let's explore how we can integrate the Google Sheets API in our Python application with Django. We will tackle this in segments, with part one covering how to get API keys from Google, part two covering how to set up our spreadsheet(s), while part th...

Read: https://brayo.hashnode.dev/google-spreadsheets-integration-in-python-part-one
Google Spreadsheets integration in Python (part two)

For this tutorial, I recommend using Google spreadsheets on the web.
Open your preferred browser and head to https://docs.google.com/spreadsheets.Create a new spreadsheet. We'll call ours "Applications".On the top right, click on share:

Open your pr...

Read: https://brayo.hashnode.dev/google-spreadsheets-integration-in-python-part-two