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
Accessing an array list in a Django jinja2 template

This may seem miniscule, but many newbies tend to forget the fact that template coding in HTML is not necessarily equivalent to language code.
In almost all programming languages (or probably all ?), we access an index of an array / list using the sq...

Read: https://anjanesh.dev/accessing-an-array-list-in-a-django-jinja2-template
👍1
Django Signals mastery

Django signals are a form of signal dispatching mechanisms that allow senders to notify a set of receivers when certain actions are executed in Django Framework. This is mostly common and used in decoupled applications where we need to establish a se...

Read: https://blog.yokwejuste.me/django-signals-mastery
Django Fixtures : DumpData and LoadData

"In the world of Django, fixtures are the silent architects shaping your database landscape."

Introduction:

A Fixture is a collection of data that can be dumped or loaded into a Django Database. This data is serialised into a text-based format, lik...

Read: https://adityabansal.hashnode.dev/django-fixtures-dumpdata-and-loaddata
Configuración de Django con Base de Datos: MySQL, PostgreSQL

Django, un framework web de Python, ofrece una excelente modularidad para manejar bases de datos. Puede trabajar con varios sistemas de gestión de bases de datos (DBMS) como MySQL, PostgreSQL, SQLite, Oracle, etc. La flexibilidad que proporciona Djan...

Read: https://jorgecespedes.hashnode.dev/configuracion-de-django-con-base-de-datos-mysql-postgresql
My Latest Project Deploying Django App to EC2 with Shell Scripting

Greetings! I'm thrilled to introduce you to my latest project, where I've ventured into the world of deploying Django applications using simple shell scripting techniques. Imagine a smooth, hassle-free process that ensures your web applications are u...

Read: https://swathireddy.hashnode.dev/my-latest-project-deploying-django-app-to-ec2-with-shell-scripting
👍1
Crafting Ironclad Security: An Introduction to JWT Authentication in Django

In the superfast paced world of software development, ensuring the security of the system or the application is cardinal and paramount. Most of the applications we build are, for obvious reasons, concerned with the data and data, in the contemporary ...

Read: https://musaaib.hashnode.dev/introduction-to-jwt-authentication-in-django
Deploying a Containerised App using Docker, Django REST Framework and Postgres

Introduction to Docker
Docker is a tool that greatly simplifies the process of developing, deploying, and running applications. By using containers, Docker ensures that an application runs smoothly and consistently across different computing environm...

Read: https://fafacodes.hashnode.dev/deploying-a-containerised-app-using-docker-django-rest-framework-and-postgres
👍1
Flask vs. Django: Which Is Better for Web Development

Flask vs Django: An Overview
The Python web framework Flask vs Django caters to distinct needs and project nuances.
Flask
Think of Flask as a minimalistic canvas. It's the epitome of the "micro-framework". You begin with the essentials, like URL rout...

Read: https://djangostarsblog.hashnode.dev/flask-vs-django-which-is-better-for-web-development
👍1
5 Top Free Hosting Platforms for Python Apps 2024

Whether you’re wondering how to run a Python script, deploy a Python application on a server, or simply looking for the best cloud hosting solutions for your Python projects, we’ve got you covered.

In this comparison, we’ll look at five popular host...

Read: https://git-push-to-production.hashnode.dev/5-top-free-hosting-platforms-for-python-apps-2024
Understanding Http Redirections in Django

Introduction
As a web developer, you may need to perform Http redirections in your backend logic. You may implement Http redirections under several circumstances:

When redesigning a website URLs
When rerouting traffic to HTTPS
When enforcing authent...

Read: https://nickoch.hashnode.dev/understanding-http-redirections-in-django
host/deploy your backend/server code to Vercel

Yes, you heard correctly. You can now deploy your backend code to Vercel.
lets see how :
1. First you need to create a vercel.json.
in my case the lower code dose not work . use the last json code to so you can deploy your code. one more thing

{
"...

Read: https://akaashvaa.hashnode.dev/hostdeploy-your-backendserver-code-to-vercel
Unveiling the Powerhouse: Why Django Reigns Supreme in Web Development

In the ever-evolving landscape of web development, choosing the right framework is paramount. Django stands out as a robust and versatile platform, garnering immense popularity among developers worldwide. This blog delves into the technical intricaci...

Read: https://blogsmani.hashnode.dev/unveiling-the-powerhouse-why-django-reigns-supreme-in-web-development
How to verify your Google App

This is a 3 part series where I explain how we published the Google App for Emilio. Hopefully it serves you well!
Why would you want your app published
You’ll find that creating a Google App is quite easy and enables you to interact with their many A...

Read: https://getemilio.hashnode.dev/how-to-verify-your-google-app
Write down Docker Compose file for Python Django and MySQL Application

Here's a sample Docker Compose file for a Python Django app using a MySQL database:

Directory Structure:

/mydjangoapp
|-- app
| |-- manage.py
| `-- myapp
| |-- __init__.py
| |-- settings.py
| |-- urls.py
| `-- wsgi.py
|-...

Read: https://lingarajtechhub.com/write-down-docker-compose-file-for-python-django-and-mysql-application
How does Callchimp.AI bring the magic of AI to a humble phone call?

In today's rapidly evolving digital landscape, the synergy between phone calls and the internet forms the cornerstone of seamless communication. While internet usage continues to surge, traditional phone calls wield enduring power in connecting indiv...

Read: https://callchimp.hashnode.dev/how-does-callchimpai-bring-the-magic-of-ai-to-a-humble-phone-call
An introduction to Django

Pre-requisite: Basic knowledge of python.
Django is a python web framework that enables rapid development of secure and maintainable websites and is open source.
When a HTTPS request is received then application works out what is needed based on the ...

Read: https://sundaram2001.hashnode.dev/an-introduction-to-django
What is database partitioning?

Did you know that database partitioning is an amazing technique that can help you manage your large databases more easily? By dividing your database into smaller partitions, you can access and manage each partition independently, which can save you a...

Read: https://blogdotpy.hashnode.dev/what-is-database-partitioning-clt30zdef000d0ajn2yj74qgd
Integrate HTMX with Django: Replacing ReactJS

Introduction:
In the dynamic landscape of web development, staying abreast of the latest technologies is crucial. One such powerful combination is the integration of HTMX with Django, a blend that leverages modern websockets for enhanced real-time fu...

Read: https://blog.nischallamichhane.com.np/django-htmx
Configuring and setting up subdomains on Django using django-hosts

A subdomain is basically a domain that’s part of another main domain and it is used a lot in many websites. I spent a decent amount of time figuring out how to do that and found this very helpful post and decided to extend it a little in a tutorial f...

Read: https://migrmrz.dev/configuring-and-setting-up-subdomains-on-django-using-django-hosts
Как перевести Django-сайт на разные языки: плюсы, минусы, подводные камни

Рано или поздно любой сервис задумывается о расширении аудитории. И часто возникает вопрос языков, т.к. единого для всех стран не существует. В целом, это довольно стандартная задача для разработчиков, когда компания начинает работать на международную аудиторию. В случае с Django, который славится универсальностью, есть стандартное решение, но действительно ли оно хорошее, как можно его улучшить и с чем вообще придётся столкнуться во время процесса — обо всём этом расскажу. Меня зовут Камиль, я более трех лет был техническим директором и главным backend-программистом продукта Zonesmart, а с начала 2023 года продолжаю управлять разработкой этого продукта уже в составе Kokoc Group.


Читать: https://habr.com/ru/companies/kokocgroup/articles/796829/
👍1
Некоторые антипаттерны проектирования в Django

Привет, Хабр!

В Джанге существует множество глубоко укоренившиеся привычек, которые кажутся правильными на первый взгляд, но в долгосрочной перспективе приводят к серьезным проблемам в производительности, масштабируемости и безопасности проекта. Эти решения могут казаться удобными костылями или временными фиксами, но на самом деле они создают технический долг, который со временем будет только расти, усложняя все с каждым разом.

Умение избегать этих привычек – это основополагающие элементы компетентности, гарантирующие, что проекты будут не только удобными для пользователя, но и устойчивыми к проблемам.


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