Django Unleashed Framework
1.45K subscribers
2.18K photos
2.6K links
Лучшие материалы по разработке на фреймворке Django на русском и английском языке

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

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

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

Другие наши проекты: https://tprg.ru/media
Download Telegram
Get Access to Your Remote PostgreSQL Database running on VPS in No Time: Here's How

Connecting to a PostgreSQL database running on an Ubuntu VPS from a local machine using VS Code involves the following steps:

Install the "PostgreSQL" extension in VS Code:

it should look like the below screenshot.👇

Click "Install" to install...

Read: https://selftaughtdev.me/get-access-to-your-remote-postgresql-database-running-on-vps-in-no-time-heres-how
👍1
Wagtail get parent page gotchas (tldr; use specific property)

I was implementing a tag page, a page for listing blog entries for a particular tag using RoutablePageMixin.
class BlogIndexPage(RoutablePageMixin, Page):
intro = models.CharField(max_length=250)
content_panels = Page.content_panels + [
...

Read: https://grep.koditi.my/wagtail-get-parent-page-gotchas-tldr-use-specific-property
Introduction to Django Signals: A Simple Guide

Introduction:
Django signals are a powerful tool for sending automatic notifications, updating caches, and performing other tasks in a Django application. They allow you to create "hooks" that trigger certain actions when certain events occur in your...

Read: https://blog.devjunction.in/introduction-to-django-signals-a-simple-guide
Maximizing Security in Your Django Web App: Advanced Best Practices

Django is a powerful web framework that is widely used for building web applications. It provides a lot of security features out of the box, such as CSRF protection, cross-site scripting (XSS) protection, and secure password hashing. However, as a de...

Read: https://maxzeno.hashnode.dev/maximizing-security-in-your-django-web-app-advanced-best-practices
Let's make a backend framework like Django (part 1)

Introduction
Hey there! Are you tired of using pre-existing backend frameworks like Django, and want to create your own instead? Well, you're in luck! In this blog post, we'll be walking through the steps of creating your very own backend framework s...

Read: https://blog.algolearn.net/lets-make-a-backend-framework-like-django-part-1
Субъективные итоги года в мире Python

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

Это — текстовая выжимка из выпуска.


Читать: https://habr.com/ru/post/708204/
Outreachy: Week four

I wish you all a happy holiday season!
This is the last week of the year, and I can't help but reflect on my experience so far in the technology industry. What I find more important is how my Outreachy internship experience with Wagtail has impacted ...

Read: https://activuscode.hashnode.dev/outreachy-week-four
Deploying Django Apps with AWS Copilot

I recently got familiar with AWS Copilot, a CLI tool that makes it easier to build, debug, and deploy applications that run on Amazon Elastic Container Service (ECS) and AWS Fargate.
It provides a set of tools and commands that allow developers to bu...

Read: https://asankal.hashnode.dev/deploying-django-apps-with-aws-copilot
Django Logging

As a developer, you are bound to face multiple errors during and after your development phase, and will be your responsible for debugging them.
Debugging an application can become a nightmare if logging is not implemented properly.
You might end up e...

Read: https://www.sidequirk.com/django-logging
Mastering Middleware

What is Middleware?
In Django, middleware is a lightweight plugin that processes requests and responses. It sits between the request and response, and can modify the request or response before it reaches the view or after the view processes the reque...

Read: https://maxzeno.hashnode.dev/mastering-middleware
10 Common Django Interview Questions and Answers

Introduction:
If you're preparing for a job interview that involves Django, it's important to be well-prepared and have a solid understanding of the framework. In this article, we'll cover 10 common Django interview questions that you may encounter, ...

Read: https://blog.devjunction.in/10-common-django-interview-questions-and-answers
Exploring the Pros and Cons of Django vs NodeJS

What Is Django?
Django is a free and open-source web framework, written in Python, which follows the model-view-template architectural pattern. It is maintained by the Django Software Foundation, an independent organization established as a 501(c)(3)...

Read: https://sense.hashnode.dev/exploring-the-pros-and-cons-of-django-vs-nodejs
Python Django chat app tutorial

This article was originally published on the DeadSimpleChat Blog: https://deadsimplechat.com/blog/python-django-chat-app-tutorial/

In this article, we are going to learn how to build a Django chat app. We a going to scaffold a new project from scrat...

Read: https://metered.hashnode.dev/python-django-chat-app-tutorial
❤‍🔥1
Dev Retro 2022

To quote the great computer scientist sister Maria Von Trapp, "Let's start at the very beginning, a very good place to start."
It astounds me, for lack of any other word, that I am even in a position to write a 'Dev Retro' post for 2022. At this poin...

Read: https://rdmullins.hashnode.dev/dev-retro-2022
👍2
Reduce response time in Django Views

Most of us might have faced the problem of our Django views running too slow with response times taking longer than 10 sec. Sometimes we might also get a HTTP 408 error meaning "The request was timed out" which makes the user experience worse.
In som...

Read: https://for-devs-by-devs.hashnode.dev/reduce-response-time-in-django-views
👍2
Optimizing docker image

Hi, this is second blog of series where we dockerize django application. Here is link to first part if you want to start from beginning it. In this blog we will be optimizing our docker image size and managing docker permissions.
First we will be loo...

Read: https://avik.com.np/optimizing-docker-image
Django bugfix release: 4.1.5

Today we've issued the 4.1.5 bugfix release.

The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.

Read: https://www.djangoproject.com/weblog/2023/jan/02/bugfix-release/
How Python can help web developers

As a web developer, you're no stranger to the never-ending quest for tools and technologies that can help you build better, faster, and more efficient websites and applications. Well, allow us to introduce you to a little language called Python.
You ...

Read: https://codeape.hashnode.dev/how-python-can-help-web-developers
Лучшие open-source инструменты для Python проектов

Open-source проекты, сторонние инструменты и библиотеки - это то, за что мы действительно любим Python. В этой статье я собрал самые полезные, валидированные сообществом и проверенные временем инструменты, конфигурации которых можно встретить в популярных проектах с открытым исходным кодом.

Инструменты распределены по этапам/сферам разработки. По каждому из них я дам небольшое описание и попытаюсь рассказать о его пользе. Если утилита имеет дополнительные расширения/плагины, то я расскажу про самые полезные (на мой взгляд).


Читать: https://habr.com/ru/post/708916/
Dev Retro 2022 - Beginning of my professional career

My apologies if there are any errors due to my level of English.
Before doing my dev retro 2022, I'll talk a little bit about 2021 or should I say the last 6 months of 2021, because these months have a serious impact on my career choice. So let's go....

Read: https://tawaldevuniverse.hashnode.dev/dev-retro-2022-beginning-of-my-professional-career
Асинхронный django. Фильм 4-й: Воскрешение

Некоторые читатели видели мои статьи об асинхронном django. Последней попыткой была версия, основанная на гринлетах. Но и о ней я написал в предыдущей статье, что решил её не развивать. Писать фреймворки - дело неблагодарное, поэтому даже небольших сомнений хватило, чтобы так решить.
Однако недавно мне пришла в голову более изящная форма для этого всего, и сомнения исчезли. Проекту быть! Встречайте - fibers <здесь
Помимо этих хороших новостей, Вы узнаете о том, что корутины - это простые генераторы, а также, как выглядит самый простой Awaitable.

Обложка, если что - из последней Матрицы. Это Сати - девушка и причёска, любуйтесь.
Читать

Читать: https://habr.com/ru/post/708946/