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
Django Unleashed: Unleash Your Web Development Superpowers

INTRODUCTION
Django is a high-level, open-source web framework written in Python. It follows the model-view-controller (MVC) architectural pattern, or more precisely, the model-template-view (MTV) pattern, which provides a structured and efficient wa...

Read: https://aryantech.hashnode.dev/django-unleashed-unleash-your-web-development-superpowers
How to create REST API using Django REST framework

Let me introduce you to Steve, a banana farmer who cultivates a diverse range of bananas, from Apple bananas to Lady Fingers bananas. And steve love's his bananas and wants to sell them to the online market. Let's say he already has a website to list...

Read: https://blog.akashrchandran.in/how-to-create-rest-api-using-django-rest-framework
How to use PDB in Django

Today, I would like to introduce you to the pdb (Python Debugger) module. Working with complex projects in Django can be a bit stressful when you have to ensure that you don't overlook any errors. The pdb module can help you debug errors and inspect ...

Read: https://neocodez.hashnode.dev/how-to-use-pdb-in-django
How to show Confetti on the screen when a user signs up on your Django app

Adding delightful animations to your web application can greatly enhance the user experience and make it more engaging. In this tutorial, we will explore how to implement confetti animation on the screen when a user signs up on your Django app. The c...

Read: https://chuddytech.hashnode.dev/how-to-show-confetti-on-the-screen-when-a-user-signs-up-on-your-django-app
Empowering Women in Tech: Reflecting on the Django Girls Event at AfricInnovate

With immense pride and joy I reflect on the incredible experience of being a coach at the recently concluded Django Girls Eket event held on Saturday, the 27th of May, 2023, at AfricInnovate. It has been an event that not only brought together aspiri...

Read: https://jackieriel.hashnode.dev/empowering-women-in-tech-reflecting-on-the-django-girls-event-at-africinnovate
The Dynamic Duo: Harnessing the Strengths of Nginx and Gunicorn for Flask/Django/FastAPI App Hosting

In the wild world of web development, every superhero needs a sidekick. Enter Nginx and Gunicorn, the dynamic duo that brings out the best in Flask, Django, and FastAPI app hosting. Like Batman and Robin or Peanut Butter and Jelly, Nginx and Gunicorn...

Read: https://sarthakshah.hashnode.dev/the-dynamic-duo-harnessing-the-strengths-of-nginx-and-gunicorn-for-flaskdjangofastapi-app-hosting
📰 Monthly digests: May 2023

🎸 Django: Avoid database queries in template context processors
👾 Lucide - Beautiful & consistent icon toolkit made by the community
🌱 Handling a Million Tasks in Django: Efficient Prioritization with Celery, Redis, and Flower
🚀 17 Django Tips an...

Read: https://hashnode.dmytrolitvinov.com/monthly-digests-may-2023
Создаем блог на Django с опросами и тестами. Краткая инструкция. Часть 2

В предыдущей части мы частично разобрали шаблон для нашего блога, выбрали виртуальную машину и запустили на ней нативный веб-сервер Django. Однако он предназначен только для тестирования и запуска приложений во время разработки. Для обработки запросов в продакшене нужно настроить Nginx и WSGI Gunicorn. В этой статье показываем, как это сделать.


Читать: https://habr.com/ru/companies/selectel/articles/736590/
Создаем блог на Django с опросами и тестами. Краткая инструкция. Часть 2

В предыдущей части мы частично разобрали шаблон для нашего блога, выбрали виртуальную машину и запустили на ней нативный веб-сервер Django. Однако он предназначен только для тестирования и запуска приложений во время разработки. Для обработки запросов в продакшене нужно настроить Nginx и WSGI Gunicorn. В этой статье показываем, как это сделать.


Читать: https://habr.com/ru/companies/selectel/articles/738942/
Building Course Assist Part 17: Customizing the Couse Assist admin interface

While developing Course Assist I've tried my best to automate as many of the processes involved in the project as possible but certain processes can't be automated such as the expert registration process and the expert earning payout process. For me ...

Read: https://andysonm.hashnode.dev/building-course-assist-part-17-customizing-the-couse-assist-admin-interface
👍1
Dockerized Django (Production ready in 1 click)

Hi reader,
I have created a production-ready dockerized boilerplate that you can use to quickly spin up the server which just one script. Here is how.
First, clone the repository https://github.com/nitinraturi/django-starter-boilerplate, and then run...

Read: https://raturi.in/dockerized-django
Django Deployment: Surviving the Wild Wild Web

Introduction
Welcome, fellow Django enthusiasts, to a hilarious yet insightful guide on deploying your Django server like a pro! In this blog, we'll explore some of the best practices for Django server deployment while keeping a lighthearted and humo...

Read: https://kodein.hashnode.dev/django-deployment-surviving-the-wild-wild-web
N+1 problem in Django?

In this blog, we'll delve into the N+1 problem in Django, explore its causes and implications, and provide practical solutions to optimize your application's performance. Let's get started!
What is the N+1 Problem?
The N+1 problem occurs when an appl...

Read: https://susiltiwari.com.np/n1-problem-in-django
A Step-by-Step Plan to Learn Django in 2023

Introduction :Django, a high-level web framework written in Python, has gained immense popularity among developers due to its simplicity, robustness, and scalability. If you're looking to learn Django in 2023, you're making a smart choice. In this ar...

Read: https://pyguru.hashnode.dev/a-step-by-step-plan-to-learn-django-in-2023
👍1
Introduction to Django Framework

Django is a popular web framework for building web applications in Python.
It is known for its simplicity, robustness, and scalability.
It was created in 2003 and has since become one of the most popular web frameworks in use today.
Django is an open...

Read: https://devsumitg.hashnode.dev/introduction-to-django-framework
👍1
[recovery mode] Автоматизация деплоя Django-приложения в маленькой команде: пошаговый гайд

Развёртывание ПО, или деплой (deploy) — этап в разработке, в Devops в целом, это действия, которые делают ПО готовым к использованию. Если вы умеете в грамотный деплой, масштабирование и управление конвейерами (CI/CD), то ваш софт будет конкурентоспособным.

Далеко не все компании могут позволить себе нанять целую команду DevOps инженеров, чтобы управлять развёртыванием. Но здесь важно не количество разрабов, а качество их знаний. Есть инструменты, с которыми можно эффективно деплоить и без большой команды.

Мы в digital-агентстве Stik успешно используем GitLab CI и Docker для развёртывания ПО в разных средах. Для чего нужны эти инструменты?

GitLab CI позволяет автоматизировать процессы сборки и доставки ПО. Docker — упаковать приложение и его зависимости в контейнеры, что упрощает развёртывание и масштабирование в разных средах. Используя их, вы сократите затраты на найм и оптимизируете деплой.

В этой статье расскажу о нашем опыте и покажу примеры настройки конвейеров CI/CD, как ими управлять с помощью GitLab CI и Docker. А также дам рекомендации, как масштабировать развертывание.


Читать: https://habr.com/ru/articles/739436/
👍2
How to set up and deploy a Django application on a Linux server

29th July 2021

Step 1. Server configuration.

Install any linux based distribution(Ubuntu, manjaro ...etc). Update and upgrade your software repositories.

// on any debian based distribution
sudo apt update && sudo apt upgrade


server hostname can...

Read: https://code.ajithkumarpm.me/set-up-and-deploy-a-django-application-on-a-linux-server
👍1
Websockets in Django (without Channels)

What are websockets?
WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.

Introduction of Asynchronous Programming in python.
Unlike Javascript asynchronous execution wasn't supp...

Read: https://code.ajithkumarpm.me/websockets-in-django-without-channels
👍2
Django bugfix release: 4.2.2

Today we've issued the 4.2.2 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 Natalia Bidart: 2EE82A8D9470983E.

Read: https://www.djangoproject.com/weblog/2023/jun/05/bugfix-release/
👍1
Дайджест Python #10: генерация голоса и оценка скорости Mojo

Собрали новости Python с 15 по 31 мая. Узнайте, как сгенерировать голос человека на Python и во сколько раз Mojo быстрее Python на самом деле.

Читать: «Дайджест Python #10: генерация голоса и оценка скорости Mojo»