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
Интеграция и кастомизация OpenAPI в Django/Django Rest Framework

Рассмотрим способы интеграции OpenAPI схемы в экосистему Django/DRF с помощью библиотеки drf-spectacular, а также некоторые проблемы, возникающие при кастомизации API и, соответственно, их решения.


Читать: https://habr.com/ru/articles/727936/
"Effortless Deployment: Running Django todo Web Applications in Docker Containers"

Why should one use Docker to deploy apps?
Docker works as a container for your apps. You can build apps, containerize them with Docker and run them anywhere. Dockerized apps run on any OS, starting from Windows to Linux. So, you can build your app an...

Read: https://harishgaikwad.hashnode.dev/effortless-deployment-running-django-todo-web-applications-in-docker-containers
Python Дайджест: как сделать CI для OpenSource проекта с Github Actions

Экватор рассказа про техническое оживление Python Дайджест проекта. Ранее рассказал как перейти с Python 3.4 на Python 3.11 и автоматически актуализировать весь код. В этой части расскажу про организацию CI для Open Source проекта на основе Github Actions — как гонять тесты, проверять код, зависимости, разворачивать приложение и делать бэкапы на внешнее хранилище.


Читать: https://habr.com/ru/companies/first/articles/726826/
How to implement Auto Expiring Token in Django Rest Framework

Introduction
Today I will be talking about one of the crucial features you might have found missing in the Django Rest Framework, and that is the ability to create authentication tokens that expire after a set period, let's say after 20-25 days, ever...

Read: https://idiomaticprogrammers.hashnode.dev/how-to-implement-auto-expiring-token-in-django-rest-framework
👍1
Django and HTMX - A Lovely Couple

Django is a popular Python web framework that follows the model-template-view (MVT) architectural pattern. It provides a powerful and flexible way to build web applications, with features like URL routing, database integration, and a templating engin...

Read: https://pythonislove.com/django-and-htmx-a-lovely-couple
Security tips that we must follow in django

Django is a popular web framework used by many developers to build secure and scalable web applications. While Django provides many security features out of the box, it's essential to follow some best practices to ensure the security of your web appl...

Read: https://blog.shahriaarrr.ir/django-security-tips
Getting Started with Django- Installation Guide

Getting started with Django can be a bit tricky for beginners, but with a step-by-step approach, you can quickly create your first Django project and add it to a GitHub repository. In this article, we'll go through the process of creating a Python en...

Read: https://arunarivanandam.hashnode.dev/getting-started-with-django-installation-guide
👍1
Project on Building and Deploying a Docker Image for a React-Django Web App on Ubuntu

Step 1: Update the packet manager
In the first step, we need to update the packet manager using the apt-get command in Ubuntu. This will ensure that we have the latest version of the packet manager before we proceed with the installation of Docker.

...

Read: https://irfan786.hashnode.dev/project-on-building-and-deploying-a-docker-image-for-a-react-django-web-app-on-ubuntu
Дайджест Tproger: волшебство CSS-анимаций и GPT внутри гуманоидного робота

Дайджест Типичного программиста Держите выжимку из самых полезных и интересных материалов в IT-сфере за последние дни.

Читать: «Дайджест Tproger: волшебство CSS-анимаций и GPT внутри гуманоидного робота»
Classifying retinal disease using CNN

There a lot of pre defined architectures meant for image processing.
I have trained my model using VGG-16, LeNet architecture.
The diseases chosen appear very similar but requires completely different treatments.A wrong diagnose will deteriorate eye ...

Read: https://nithu22.hashnode.dev/classifying-retinal-disease-using-cnn
Custom Response Header in Django

So I was wondering how to build a habit of writing blogs daily, and my friend suggested that we could write about the little things we learn every day, so we decided to start a series called Today I Learned where we will write about the little things...

Read: https://idiomaticprogrammers.hashnode.dev/custom-response-header-in-django
Релиз Django LTS 4.2: обзор изменений и необходимости обновления

В апреле 2023 года вышла новая LTS-версия Django Web Framework, одного из самых популярных фреймворков для веб-разработки на Python.

«Вышла новая версия! Почему вы до сих пор не перешли на неё?» — такой вопрос часто возникает у студентов, изучающих этот фреймворк на курсах программирования. Аналогичный вопрос можно услышать и от начинающего специалиста, который недавно приступил к выполнению своих обязанностей в качестве бэкенд-разработчика.

А стоит ли сейчас вообще начинать новый проект на Django или изучать этот фреймворк? В этой статье я, Евгений Бартенев, техлид и автор курса «Python-разработчик», помогу разобраться с этими и другими вопросами. Мы поговорим о разных типах релизов Django, посмотрим на главные изменения в новом и затронем основные аспекты, которые следует учитывать при обновлении версии Django в проекте.


Читать: https://habr.com/ru/companies/yandex_praktikum/articles/727626/
django-admin startapp vs python manage.py startapp

django-admin startapp and python manage.py startapp are both commands used to create a new Django app within a project. However, they are executed differently.
django-admin is a command-line tool that allows you to execute various Django-related task...

Read: https://vicentereyes.org/django-admin-startapp-vs-python-managepy-startapp
Pytest Django Tutorial: Testing Your Django Apps With Selenium Pytest

Django reduces the development complexities of large-scale websites. But when developing a website with Django, UI automation testing is as essential as unit testing. Even if your team operates a CI/CD pipeline, you want to ensure you catch bugs earl...

Read: https://idowuomisola.hashnode.dev/pytest-django-tutorial-testing-your-django-apps-with-selenium-pytest
1
Creating Simple Django Application

1.Install Django

To install Django, you can follow the below steps:

Make sure you have Python installed on your system. You can download the latest version of Python from the official website: https://www.python.org/downloads/

Open the command pro...

Read: https://narendra95.hashnode.dev/creating-simple-django-application
👍1
Cloudflare R2 with Django Storages

Cloudflare R2 is a new object storage solution that offers several benefits for developers. One of the main benefits is that it eliminates egress fees, which are fees charged by cloud providers for accessing data stored on their networks. This can re...

Read: https://asankal.hashnode.dev/cloudflare-r2-with-django-storages
👏1
Building Course Assist Part 8: Deploying the Course Assist backend to AWS.

With the active development of Course Assist now complete I've started the deployment process with the first step being deploying the backend to Amazon Web Services (AWS)😁. The backend was built in Python using Django and the Django rest framework f...

Read: https://andysonm.hashnode.dev/building-course-assist-part-8-deploying-the-course-assist-backend-to-aws
🔥1
Как не допустить свалки в Django-проекте: MTV, services.py, новые приложения

В этом материале мы обсудим, как писать чистый код, и какие концепции и типовые ошибки превращают утончённые проекты в заросли и свалки.

Читать: «Как не допустить свалки в Django-проекте: MTV, services.py, новые приложения»
👍1
How to download Pandas Dataframe as Excel or CSV in Django?

Introduction
Pandas is an essential tool used by Python developers used for data analysis purposes, but what is the point of the analysis if we are not able to provide that insight to the end user. When Django and Pandas are used in conjunction we ca...

Read: https://idiomaticprogrammers.hashnode.dev/how-to-download-pandas-dataframe-as-excel-or-csv-in-django
🔥1
Como criar Middlewares customizados no Django

Fala Dev! Na paz?!
Nesse meu primeiro post aqui no Hashnode você vai aprender a criar Middlewares no Django, que são trechos de código para tratamento prévio ou posterior de requisições que chegam e saem do seu sistema Django.
Ficou confuso? Então bo...

Read: https://pythonacademy.hashnode.dev/como-criar-middlewares-customizados-no-django
👎1