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 step by step ( Part - 1 )

Beat way to learn something is to start building some project
# Multi-vendor-ecommerce Application 📝
This is the Multi-Vendor ecommerce website. Customers can purcahse
web scripts for various technologies. like Theme forest, inverto etc.
## Project ...

Read: https://himanshichoudhary.hashnode.dev/django-step-by-step-part-1

@django_prog
___
Другие наши проекты
Как создать волшебника в Django: многошаговые формы

Сегодня мы поговорим о магии, но не той, что преподают в Хогвартсе. Речь пойдет о создании волшебника, точнее многошагового мастера форм в Django, который позволяет пользователю шаг за шагом продвигаться к желаемому результату. Эта статья расскажет, как использовать django-formtools для реализации волшебства на вашем сайте.

А причем тут магия? Узнаете чуть позже.


Читать: https://habr.com/ru/companies/otus/articles/818117/

@django_prog
___
Другие наши проекты
Implement HTMX modal in Django

In this article, we will use htmx in Django to display data using modal that look like this.

For keeping the article to a manageable size, here are the things that I keep out:

setting up htmx and hyperscript.

Setting up a tailwindcss. Don't worry,...

Read: https://filehop.hashnode.dev/htmx-modal-django

@django_prog
___
Другие наши проекты
Django part : 4

Reset Django Admin Password
python manage.py changepassword <usernameReplace <usernamewith the username of the admin user whose password you want to reset.
You'll be prompted to enter a new password for the specified user. Follow the prompts to ...

Read: https://akashpawar.hashnode.dev/django-part-4

@django_prog
___
Другие наши проекты
Web Dev: Understanding CSRF and XSS

CSRF (Cross-Site Request Forgery) and XSS (Cross-Site Scripting) are both security vulnerabilities that can affect web applications.

CSRF (Cross-Site Request Forgery):

CSRF is an attack where a malicious website tricks a user's browser into perform...

Read: https://nikhilakki.in/web-dev-understanding-csrf-and-xss

@django_prog
___
Другие наши проекты
Setting Up Celery, Celery Beat, Redis, and Django

This guide will walk you through the detailed process of setting up and using Celery with Redis in a Django application. We'll cover task creation, enqueuing tasks, using Redis as a message broker, processing tasks with Celery workers, and scheduling...

Read: https://devendraadhikari.com.np/setting-up-celery-celery-beat-redis-and-django

@django_prog
___
Другие наши проекты
👍2
How To Implement Swagger In Django Rest Framework (drf)

INTRODUCTION:
Swagger is an open-source framework that helps developers design, build, document, and consume RESTFUL web services. It is used to document APIs, which helps the developers to understand the basic behavior of every endpoint created. It...

Read: https://mamuro.hashnode.dev/how-to-implement-swagger-in-django-rest-framework-drf

@django_prog
___
Другие наши проекты
2👍2
FastAPI vs Flask vs Django: Which Framework to Choose?

Picking the right web framework is super important for your project's success. With so many choices out there, it can be tough to figure out which one is the best fit for you. In this article, we'll compare three popular Python frameworks—Flask, Djan...

Read: https://www.developerchronicles.com/fastapi-vs-flask-vs-django-which-framework-to-choose

@django_prog
___
Другие наши проекты
Popular Backend Frameworks Performance Benchmark Comparison in 2024

Quick result:
based on Techempower round 22 october 2023

Motivation:
As a tech lead, one of my key responsibilities entails the selection of optimal technologies that align with our business requirements and deliver an exceptional user experience. I...

Read: https://tuananhparis.hashnode.dev/popular-backend-frameworks-performance-benchmark-comparison-in-2024

@django_prog
___
Другие наши проекты
👍4
Магия динамического маппинга. Реализация универсальной обработки файлов нефиксированной структуры на Python

Привет! На связи Никита Ильин из Spectr, Backend-разработчик с опытом более 5 лет.

Один из проектов, с которым мы работаем, — IBP-платформа для планирования и прогнозирования спроса и продаж в ритейле. В статье поговорим о конкретной реализации для одной из задач в рамках этой платформы на Python и Django. При этом сама концепция может быть реализована абсолютно на любом фреймворке или платформе: Spring, .NET, Laravel.
Узнать о магии больше

Читать: https://habr.com/ru/companies/spectr/articles/815831/

@django_prog
___
Другие наши проекты
Step-by-Step Guide to Setting Up a Django Project

What is Django?

Django is like a toolkit for building websites. Imagine you're constructing a house— you need tools and materials like hammers, nails, and wood. Similarly, Django provides the tools and materials you need to build a website efficient...

Read: https://peepgame.majortank.space/step-by-step-guide-to-setting-up-a-django-project

@django_prog
___
Другие наши проекты
Step-by-Step Tutorial: Setting Up Your First Django Project (Windows)

prerequisites

Python: Ensure you have Python installed on your system. You can verify this by opening a terminal and running python --version.

Text Editor or IDE: Download your favorite Text Editor or IDE.


Create Virtual Environment (Recommended)...

Read: https://mazharsolkar.hashnode.dev/step-by-step-tutorial-setting-up-your-first-django-project-windows

@django_prog
___
Другие наши проекты
URL and Rendering HTML in Django

URL

URL's can be considered as routes in the context of web application.

example: https://www.mazhar.com/, https://www.mazhar.com/about, https://www.mazhar.com/contact

URL's are defined inside urls.py file. Each URL is mapped with specific view funct...

Read: https://mazharsolkar.hashnode.dev/url-and-rendering-html-in-django

@django_prog
___
Другие наши проекты
MTV in Django

URL

URL can be considered as routes in the context of web app.

URL's are defined inside urls.py file and each URL is mapped with specific view function.


Model

Model is used to define structure of database.

A model is a Python class that inherit...

Read: https://mazharsolkar.hashnode.dev/mtv-in-django

@django_prog
___
Другие наши проекты
👍1
How to Connect PostgreSQL Database to Your Django Project: Step-by-Step

If you're starting a Django project and want to use PostgreSQL as your database backend, you're making a wise choice. PostgreSQL is a robust, open-source relational database management system that integrates seamlessly with Django, providing excellen...

Read: https://codewithpradip.hashnode.dev/how-to-connect-postgresql-database-to-your-django-project-step-by-step

@django_prog
___
Другие наши проекты
Optimization in Django

Optimizing a Django application is crucial for ensuring that it runs efficiently, especially under heavy load or with large datasets. There are various aspects of a Django application you can optimize, including database interactions, middleware, sta...

Read: https://devendraadhikari.com.np/optimization-in-django

@django_prog
___
Другие наши проекты
👍4
From FastAPI to Django: Elevate Your Project with Advanced Authentication, ORM, Admin Interface, and Smooth DB Migrations.

Django & Its Key Features:
Django is an open-source web framework for Python that follows the model-template-view (MTV) architectural pattern. It focuses on reusability, rapid development, and the principle of "don't repeat yourself" (DRY).

Admin In...

Read: https://programmedraj.hashnode.dev/from-fastapi-to-django-elevate-your-project-with-advanced-authentication-orm-admin-interface-and-smooth-db-migrations

@django_prog
___
Другие наши проекты
How We Mastered Unit Testing at Our Startup

Problem Statement:
At a startup where I joined as the 4th engineer, we faced a production issue every other weekend, which would be every 4th release, primarily due to new team members lacking context on different workflows. Adding documentation for ...

Read: https://blog.chiragc.com/how-we-mastered-unit-testing-at-our-startup

@django_prog
___
Другие наши проекты
👍1
Как защитить Django-приложения? CSP стоит того?

Всем привет!

Учусь работать над повышением безопасности Django-приложения. Сейчас использую OAuth и библиотеки типа django-axes и django-security. Но сможет ли это защитить от CSRF и XSS атак? Не понятно…

Читать: «Как защитить Django-приложения? CSP стоит того?»

@django_prog
___
Другие наши проекты
All Roads Lead to Python

Python is a popular and versatile programming language known for its simplicity and powerful libraries. It's ideal for beginners and professionals alike, offering a wide range of applications from web development (using Django and Flask) to data scie...

Read: https://hugotav.hashnode.dev/all-roads-lead-to-python

@django_prog
___
Другие наши проекты