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
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
___
Другие наши проекты
Using clean() in your Django models post migration from a legacy stack

If you're migrating an application from another stack where foreign keys were not enforced in the database and the some of the rows' foreign key fields have values as 0, then these would cause issues in the new application where the framework has str...

Read: https://anjanesh.dev/using-clean-in-your-django-models-post-migration-from-a-legacy-stack

@django_prog
___
Другие наши проекты
The most important skill in tech... Learning how to Learn.

There are only two types of people in this world. I know how narrow-minded it is to make that statement, but am a narrow minded generalist, so excuse me and let me make my point. Where was I, oh yes. There are only two types of people in this world. ...

Read: https://lewinskie.hashnode.dev/the-most-important-skill-in-tech-learning-how-to-learn

@django_prog
___
Другие наши проекты
Deployment of a Django application on AWS ElasticBeanstalk using AWS CLI

Introduction
AWS Elastic Beanstalk is a fully managed platform for hosting web applications. It is a Platform as a Service (PaaS) offering from Amazon.

Elastic Beanstalk (EB) is an AWS service that uses Amazon EC2 and S3. This service was designed t...

Read: https://dhebbydavid.hashnode.dev/deployment-of-a-django-application-on-aws-elasticbeanstalk-using-aws-cli

@django_prog
___
Другие наши проекты
Mastering Django: A Step-by-Step Beginner's Guide to Building Web Applications - Day 0

Django is a powerful and flexible web framework for building robust web applications quickly and efficiently. Designed to make the development process smooth and straightforward, Django is favored by developers for its simplicity, reliability, and th...

Read: https://naman-goyal.hashnode.dev/mastering-django-a-step-by-step-beginners-guide-to-building-web-applications-day-0-1

@django_prog
___
Другие наши проекты
Implement login counter in django

In this article, you will learn how to implement a login counter in Django and lock out a user after x number of failed login attempts.
Prerequisites.1. A basic understanding of Python and Django.
1.0 Application set up.
Navigate to your preferred fo...

Read: https://blog.kipchirchirlangat.com/implement-login-counter-in-django

@django_prog
___
Другие наши проекты
Django Service Layers: Beyond Fat Models vs. Enterprise Patterns

Suppose you want to write a new Django/DRF API service tomorrow or have inherited a large but messy Django codebase.
Introduction
If your application is useful, it will do more than enable crud operations on relational database tables via HTTP. Let's...

Read: https://simoncrowe.hashnode.dev/django-service-layers-beyond-fat-models-vs-enterprise-patterns

@django_prog
___
Другие наши проекты
01 - download installed django

before start

install python

we are going to installed Django in virtual environment not in main machine or host machine .


first to create virtual environment

python3 -m venv .venv

# for windows
# python -m venv .venv

# to activate the virtual ...

Read: https://mdex.hashnode.dev/01-download-installed-django

@django_prog
___
Другие наши проекты
Ускорение роутера в Django в 51 раз

История началась с разбора использования ресурсов приложением, которое занимается проксированием. Обнаружили, что довольно много времени оно тратит на выбор маршрута (роута), и решили ускорить этот процесс. Описанная в статье оптимизация не требует каких-то особых вложений, усилий или условий, поэтому приведенный код можно забрать к себе и использовать без каких-либо чрезмерных вмешательств.


Читать: https://habr.com/ru/companies/tochka/articles/822431/

@django_prog
___
Другие наши проекты
👍4
Django soft delete Model using Managers

Below is the soft delete model you can inherit from. It uses an active field which on delete, it will only set to False and not actually delete the records from the overriden delete method. There is a provision available to actually delete records. I...

Read: https://blog.danwald.me/django-soft-delete-model-using-managers

@django_prog
___
Другие наши проекты
How to Dockerize a Python Django App for AWS EC2 with AWS RDS as the Database and Secure it with HTTPS using Let’s Encrypt

Dockerizing a Python Django application, deploying it on AWS EC2, and securing it with HTTPS using Let’s Encrypt is a robust way to ensure scalability, manageability, and security. This guide will walk you through each step in detail.
Prerequisites
B...

Read: https://blog.ahmadwkhan.com/how-to-dockerize-a-python-django-app-for-aws-ec2-with-aws-rds-as-the-database-and-secure-it-with-https-using-lets-encrypt

@django_prog
___
Другие наши проекты
Pandas НЕ для анализа данных

В среде питонистов библиотека Pandas пользуется большой популярностью и по большей мере известна в контексте DataSciense и анализа данных. DataFrame пандас позволяет не только всячески манипулировать данными, но и выводить их в нужном формате, предоставляя широкие возможности для кастомизации. Например, использовали ли вы объекты класса Styler, входящего в состав Pandas? Мне показалось интересным взглянуть на Pandas с этой стороны.


Читать: https://habr.com/ru/articles/822793/

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

Advanced Django Blog

Django and Folium

Django Geoapp



Advanced Django Blog
A blog project built using:

Django Web Framework

Django REST Framework

Graphene Django

Cookiecutter Django

HTMX

Vue.js 3

Quasar Framework

Tanstack Vue Query

Vue A...

Read: https://moustafashaaban.hashnode.dev/django-portfolio

@django_prog
___
Другие наши проекты
DjangoCon US: Call for Venue Proposal 2025

DEFNA is seeking proposals for a venue for DjangoCon US 2025 and ideally
2026. You can read the details on DEFNA’s
site
.

For 2025, we are looking at conference dates of October 5-10, 2025 or
October 12-17, 2025.

The deadline for submissions is July 28, 2024. If you have any
questions or concerns, please reach out to the DEFNA board at hello AT defna.org. We look forward to hearing from you!

Read: https://www.djangoproject.com/weblog/2024/jun/19/djangocon-us-call-for-venue-proposal-2025/

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