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 и django-rest-framework

Я Python Developer в компании Нетрика. В данной статье расскажу, как устроены разрешения в Django и django-rest-framework и как мы используем их на одном из проектов.


Читать: https://habr.com/ru/articles/749418/
Права в Django и django-rest-framework

Я Python Developer в компании Нетрика. В данной статье расскажу, как устроены права в Django и django-rest-framework и как мы используем их на одном из проектов.


Читать: https://habr.com/ru/articles/751586/
Implementing Social Sign-In with Microsoft Using React and Django without Libraries

This article explores the process of integrating social sign-in with Microsoft accounts into a web application built with React and Django. By leveraging Microsoft's OAuth 2.0 authentication flow, developers can allow users to log in to their applica...

Read: https://dflat.hashnode.dev/implementing-social-sign-in-with-microsoft-using-react-and-django-without-libraries
Want to Test APIs, Authentication and Permissions in Django? Here’s How

Django is a popular web framework for building web applications with Python. It provides many features to make web development easier and faster, such as an ORM, a templating engine, a built-in admin interface, and more. One of the most important fea...

Read: https://timadey.hashnode.dev/test-api-authentication-and-permission-in-django
Introducing Django

What is Django by the way?
Django is a powerful and versatile web framework that empowers web developers to build feature-rich web applications efficiently and quickly.
Django is an Open source Python web framework, that is, it has various Python cod...

Read: https://chasfat-django-blog-for-beginners.hashnode.dev/introducing-django
How to auto reload & debug Django and Django Celery workers running in Docker (VS Code)

I run Django projects in Docker containers and use Visual Studio Code as my IDE. In this article, I share how I debug and auto-reload both Django and Celery workers. The solutions are based on debugpy, watchdog, and django.utils.autoreload.

In this ...

Read: https://blog.derlin.ch/auto-reload-plus-debug-django-and-django-celery-workers
Ребят, ищем пишущего IT-редактора блогов в Tproger

Условия: удалёнка, фултайм

Что делать:
— искать темы, которые понравятся клиентам и заинтересуют читателей;
— вникать в эти темы настолько, чтобы говорить с экспертами примерно на одном языке;
— проводить интервью и собирать фактуру;
— превращать фактуру в статью, которую захочется читать и репостить;
— дорабатывать статью вместе с экспертами и менеджерами клиента.

Требования:
— пишете логично и ёмко, видите стилистические и речевые ошибки в тексте;
— быстро находите и проверяете информацию (в том числе в англоязычных источниках);
— любите общаться с экспертами и умеете их разговорить;
— спокойно реагируете на комментарии, но можете отстоять свою позицию, если правка неуместна;
— тактично вносите правки, чтобы автор не расстраивался, а был благодарен за помощь;
— знаете, что такое ключевое слово, мета-описание и зачем нужен Wordstat.

Чтобы откликнуться, заполняйте анкету.

#вакансии #работа
Django bugfix release: 4.2.4

Today we've issued the 4.2.4 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/aug/01/bugfix-release/
An Opinionated Guide to DRF OAuth

In this tutorial I'll demonstrate an opinionated approach to building social authentication into a Django app using REST Framework. I say opinionated because it avoids using any social auth app, relying only on django.contrib.auth and the standalone ...

Read: https://circumeo.hashnode.dev/an-opinionated-guide-to-drf-oauth
Starting a career in python

Python: An Optimal Programming Language for Beginners and Experts
Python is a powerful, versatile programming language that is easy for beginners to learn but also suitable for experienced developers building complex applications. Created in 1991 by ...

Read: https://pythonlearn.hashnode.dev/starting-a-career-in-python
Как работают select_related и prefetch_related в Django

Часто определение разницы между select_related и prefetch_related звучит как “первый для ForeignKey полей, второй для ManyToMany”, однако это описание не раскрывает суть работы этих методов. Ниже я попробовал на примерах показать разницу между этими методами и какое влияние они оказывают на сгенерированный SQL для получения данных.

TLDR: Статья будет в первую очередь полезна тем кто начинает свое знакомство с Django, а также тем, кто использует select_related/prefetch_related в ежедневной работе, но не углублялся в глубь Django.


Читать: https://habr.com/ru/articles/752574/
Alpine.JS: A Lightweight JavaScript Framework That Packs a Mountain of Power

Introduction
In the vast landscape of JavaScript frameworks, AlpineJS emerges as a shining star that blends simplicity, speed, and versatility. While bigger frameworks like React and VueJS have their place, AlpineJS offers a refreshing alternative fo...

Read: https://nikhilakki.in/alpinejs-a-lightweight-javascript-framework-that-packs-a-mountain-of-power
👍1
Django vs Flask: What to Choose

Hello Everyone!
Welcome to my blog! I am thrilled to have you here and I hope that you will find the content both informative and engaging, Thank you for taking the time to visit my blog, I look forward to sharing my knowledge and passion with you, S...

Read: https://yssr.hashnode.dev/django-vs-flask-what-to-choose
👍1
Лучший стек для питониста-джуна 2023

Давно устоявшийся и прекрасно показывающий себя фреймворк. Постоянная поддержка, множество пакетов «из под капота», отличный ORM, хорошее распределение компонентов и простота в изучении — вот, что предлагает Django.

Да, все мы знаем, что выходят новые фреймворки, например, FastAPI, который все увереннее закрепляется на рынке, но сможет ли он похвастаться тем, что имеет Django? Например, для нормальной ORM, если вы не хотите писать напрямую SQL‑запросы конечно же, нужно будет воспользоваться sqlalchemy и alembic. В Django же все проще, создай проект и твори! Есть и плюсы FastAPI, но об этом в другой статье, не будем отходить от темы.

Так вот, есть и не такие «молодые» технологии, например, тот же Flask, тоже хорошо закрепился на рынке и стеке разработчиков, но ситуация очень похожа с FastAPI, не хватает простоты и множества удобств. Та же панель администратора — это что‑то с чем‑то, максимально полезный инструмент, который используются все при создании проектов на Django. Так же, стоит отметить приложения в Django, отличный способ разделять основные модули проекта и не ловить путаницу, опять‑таки, не все могут этим похвастаться. Не стоит и забывать об огромном комьюнити пользователей этого фреймворка, я не раз сталкивался с ошибками и практически все находил на том же Stack Overflow. Еще одна, но значительная плюшка — это неплохой перевод на русский язык.


Читать: https://habr.com/ru/articles/752652/
🔥2
Where to Deploy a Django App

This is going to be a short article by the way.
So last year Heroku stopped supporting its free tier. I only found out about this during an interview, when the interviewer brought it to my attention that none of my web apps were working😭😭😭😭😭.You...

Read: https://clementlumumba.hashnode.dev/where-to-deploy-a-django-app
1
Build, Test and Deploy A URL Shortener App with Django

Django is a popular Python Web Framework used for creating fast and efficient web applications. You will also make use of Django REST Framework - a framework used for creating APIs – to build our API.
In this extensive guide, you will:

Build a web A...

Read: https://delighto.hashnode.dev/build-test-and-deploy-a-url-shortener-app-with-django
👍1
How to Build Your Blog in Django

Introduction
Django is a high-level Python web development framework that prioritizes efficiency, security, and scalability, it is no surprise that Django in recent times has emerged among the 10 most popular web development frameworks, it follows a ...

Read: https://pwaveino.hashnode.dev/how-to-build-your-blog-in-django
👍1
Alternatives to BooleanField in Django

I hope to expand on some thoughts I have been mulling over regarding the (over)use of BooleanField in Django projects.
I rarely use BooleanField in a Django project. In nearly every case where I might be tempted to use BooleanField, a better alternat...

Read: https://jacklinke.com/alternatives-to-booleanfield-in-django
10 Must-Know Python Libraries

Introduction
Python has emerged as one of the most popular programming languages, thanks to its simplicity, versatility, and the vibrant community supporting it. Python libraries play a pivotal role in extending the language's capabilities, allowing ...

Read: https://leveluptech.hashnode.dev/10-must-know-python-libraries
👍1
Get User's Location, Country and Currency in Django

I once had to create a location-based ecommerce application with Django Web Framework as the backend. While building the project, I needed a way to display products’ prices and currency based on the current user’s location. I made some research, got ...

Read: https://delighto.hashnode.dev/user-location-country-and-currency-in-django
👍2
CORS explained using Django and Flask

Cross Origin Resource Sharing (CORS)

This is a browser mechanism that allows a website on one URL to request data from a different URL.

Certain "cross-domain" requests, notably Ajax requests, are forbidden by default by the same-origin security pol...

Read: https://rohansblog.hashnode.dev/cors-explained-using-django-and-flask