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
Deploying your Django app on Heroku

In this article, we will be deploying our app on Heroku. Heroku is a Platform as a Service (PAAS) and they offer web server and database hosting which is sufficient to deploy our app to the web.
Before moving on with this tutorial, there is a prerequ...

Read: https://blog.acel.cyou/deploying-your-django-app-on-heroku
Introduction to Django vs Node.js

Overview of Django vs Node.js
Django and Node.js are both popular tools for building web applications, but they have some significant differences. Django is a Python-based web framework that is designed for the rapid development and deployment of com...

Read: https://sense.hashnode.dev/introduction-to-django-vs-nodejs
👍1
Introduction to Elastic Beanstalk with Django, RDS, Docker and Nginx

Objectives

Understand the problem Elastic Beanstalk solves.

Learn the steps required to set up and deploy a Django app with Elastic Beanstalk.

Use docker for containerizing the app.

Set up Nginx as a reverse proxy server.

Learn how to connect an...

Read: https://moreabouttech.com/introduction-to-elastic-beanstalk-with-django-rds-docker-and-nginx
Асинхронный django: в защиту DEP-9

DEP-9 - это официальный "RFC" по асинхронности для проекта django . Доброе утро, дорогие читатели. Возможно, вы читали мои статьи про django, асинхронность и мой проект "fibers". Что касается проекта - автор только одуплился после новогодних праздников, новостей в этом плане нет. Вместо этого, я расскажу вам об официальном подходе, DEP-9 - насколько он хорош и как вписывается в общую картину.

Раньше я упоминал DEP-9 в своих статьях, но, к сожалению, делал это не в том ключе, котором нужно. Представление о нём у меня сформировалось на ранних этапах и во время первых попыток создания асинхронной версии django - и таким и осталось на долгое время. Я думал, что - вот, есть нативная асинхронность - asyncio, а есть всякие там адаптеры и запуск в другом потоке. Может быть, Вы думаете так же? Тогда мы идём к Вам!

Кадр взят с DjangoCon. Участникам Panel Discussion раздали листочки и задали вопрос: "How do you feel about async in django?" Вы видите автора DEP-9, Эндрю Гудвина (второй слева), поднявшего вверх большой палец, отреагировав так на вариант соседа (тот нарисовал смайл). Сам Эндрю Гудвин нарисовал галочку.
Читать

Читать: https://habr.com/ru/post/711722/
Как подключить препроцессор SASS/SCSS к Django

"Тачка на прокачку" уже давно не выходит. А вот "Django на прокачку" снова продолжает вас радовать. В сегодняшнем эпизоде мы:

1.       Узнаем, что такое препроцессоры и чем они интереснее обычного CSS;

2.       Разберёмся с SASS и SCSS, узнаем, чем они отличаются;

3.       И рассмотрим на практике, как использовать SASS/SCSS в Django-проекте.

Как обычно, меньше болтовни – больше кода. Центрирует картинку Макс. Выходит за рамки Егор. Статью написали авторы канала PyLounge. Поехали!
Подключить SASS/SCSS к Django

Читать: https://habr.com/ru/post/711954/
A walkthrough of some of the most popular and quirky techniques for building complex applications with Django

1. Caching: Caching is a process of storing data in temporary memory so that it can be accessed quickly when needed. Django provides a powerful cache framework that can be used to store data across multiple requests, reducing the number of database q...

Read: https://sense.hashnode.dev/a-walkthrough-of-some-of-the-most-popular-and-quirky-techniques-for-building-complex-applications-with-django
Introduction to Django web development

What is Django?
Django is an open-source web framework written in Python that allows for the rapid development of web applications. It was originally developed for the newspaper industry, but is now used by a variety of organizations and businesses. ...

Read: https://sense.hashnode.dev/introduction-to-django-web-development
Elasticsearch with Python — Part 1 [Installation and basics]

In this article, I am covering how to install, the basics of Elasticsearch and how to integrate it with python. So let’s get started…
Elasticsearch:
Elasticsearch [ES] is an open-source, RESTful, distributed search and analytics engine built on Apach...

Read: https://devshailesh.hashnode.dev/elasticsearch-with-python-part-1-installation-and-basics
Пишем ETL-процесс на Python, часть 2

Сегодня мы сделаем web-интерфейс для управления запуском ETL-процесса. В прошлой статье мы написали консольный скрипт, который разово разово запускает выгрузку. Но как это передать заказчику ?!
Читать

Читать: https://habr.com/ru/post/711590/
Mastering Django: A Beginner's Guide to Building Powerful Websites with Python and Django

Django for Beginners: Build websites with Python and Django is a comprehensive guide for anyone looking to learn the popular web framework, Django. Written by William S. Vincent, an experienced software developer and author, the book is perfect for b...

Read: https://devread.hashnode.dev/mastering-django-a-beginners-guide-to-building-powerful-websites-with-python-and-django
Building Course Assist: Prologue

Course Assist as stated in the series description is a project that helps students with assignments. Got the idea a little over a year ago now and long story short it took me almost the whole year last year to nearly complete it due to my terrible pl...

Read: https://andysonm.hashnode.dev/building-course-assist-prologue
Introduction to Django

Django is a high-level Python web framework that enables rapid development of secure and maintainable websites. It follows the model-view-controller (MVC) architectural pattern and emphasizes reusability and "pluggability" of components.
Django inclu...

Read: https://basically.hashnode.dev/introduction-to-django
Exploring the Power and Flexibility of Django: A High-Level Python Web Framework

Django is a high-level Python web framework that enables developers to build robust and reliable web applications quickly and easily. It follows the model-view-controller (MVC) architectural pattern and is built on top of Python's standard library. T...

Read: https://shivamdev.hashnode.dev/exploring-the-power-and-flexibility-of-django-a-high-level-python-web-framework
Create A Django Form With Django Crispy Forms And HTMX.

A form is an essential part of most web applications, as it is used to collect input from users. Django is a Python web framework that provides a way to create forms without having to write HTML code. But creating forms the traditional way in Django ...

Read: https://superhero.hashnode.dev/create-a-django-form-with-django-crispy-forms-and-htmx
Асинхронный django: разоблачение Великого и Ужасного

Доброе утро, дорогие читатели! Это новый выпуск про асинхронность и django. Собственно, это follow-up: это должна была быть тема моей предыдущей статьи, но в тот раз у автора "не хватило проницательности" - как однажды выразился филин Гуамоко из "Волшебника Изумрудного города".

В общем, есть среди так называемых core разработчиков django один джентльмен по фамилии Гудвин. django channels, а также большинство фич, связанных с асинхронностью - это его творчество. В предыдущей статье я хотел похвалить использованный им подход, но потом разочаровался в нём: подход так себе.

А недавно - на последней конференции - что выдал этот кадр: он заявил, что, в общем-то, не очень привязан к django как к веб-фреймворку - что в этом плане, ему больше нравится FastAPI! Кроме того, в своём собственном проекте он использует клон FastAPI, django-ninja! Напомню, что по сюжету повести, великий и ужасный обманщик в конце покидает Изумрудный город на воздушном шаре.

После этих выяснившихся фактов, я думаю, читателю будет проще воспринять мою критику в его сторону. Кроме критики, большая часть посвящена тому, как нужно было сделать: автор практикует конструктивный подход. А FastAPI - объективно, хороший фреймворк - в статье автор также делится своим мнением о нём.
Читать

Читать: https://habr.com/ru/post/712644/
How to download data in multiple file formats (CSV, XLS, TXT) with Django REST Framework

A lot of the time, our typical server response is in the form of JSON or XML. This serves our use cases a good number of times, however, there are times when the need to provide data in form of a file arises.
In this article, we will be exploring how...

Read: https://moreabouttech.com/how-to-download-data-in-multiple-file-formats-csv-xls-txt-with-django-rest-framework
How to deploy your Django application to Railway with a custom Domain

By the time you are reading this, I believe you already have a website running on a development environment, Whether it's a Django application or react application running on your localhost.
Before you can host a website externally you're first going...

Read: https://meekkaran.com/how-to-deploy-your-django-application-to-railway-with-a-custom-domain
Technologies I used as a Full Stack Developer in recent time

The world of technology is like a never-ending rollercoaster ride, with new tools and frameworks popping up every other day. As a Full stack developer, it's my job to keep my finger on the pulse of what's new and exciting in the tech landscape. In th...

Read: https://navaneethsharma.hashnode.dev/technologies-i-used-as-a-full-stack-developer-in-recent-time
Database: Types, Configuration, and Migration

Django comes with its own default database SQLite, which is a lightweight and simple relational database management system.
While SQLite is a good choice for development and testing, it may not be suitable for production environments due to its limit...

Read: https://akolade.hashnode.dev/database-types-configuration-and-migration
What is Django's Object-relational mapping (ORM)?

Django's Object-relational mapping (ORM) feature is a way to interact with databases using Python code, rather than writing raw SQL queries. It allows developers to work with databases using Python classes and objects, rather than tables and rows. To...

Read: https://machinesintheclouds.com/what-is-djangos-object-relational-mapping-orm