Django Unleashed Framework
1.46K subscribers
2.17K photos
2.59K links
Лучшие материалы по разработке на фреймворке Django на русском и английском языке

Разместить рекламу: @tproger_sales_bot

Правила общения: https://tprg.ru/rules

Другие каналы: @tproger_channels

Другие наши проекты: https://tprg.ru/media
Download Telegram
Getting started with Django App

Introduction
An app in Django is a self-contained module that provides a specific functionality within the Django project. A Django project can have multiple apps, each of which handles multiple functionalities of a project.
For example, let's say yo...

Read: https://srujangowda.hashnode.dev/getting-started-with-django-app
👍1
Django Vs NodeJS

Django and Node.js are two the most popular web development frameworks, each with their its own strengths and weaknesses.
So first, let's discuss about their functionalities,
Functionalities of Django and NodeJS:

Ecosystem: Node.js has a rich ecosys...

Read: https://aaditechtalk.hashnode.dev/django-vs-nodejs
My Journey on how I built an online marketplace api (Part 1)

For this project I used Django to build the models, django rest framework for the api, and mysql for the database.
What are the steps needed to proceed

create a virtualenv using pipenv and activate it
Desktop/Development/: pip install pipenv
Deskt...

Read: https://sawacha.hashnode.dev/my-journey-on-how-i-built-an-online-marketplace-api-part-1
How does Django handle user authentication and authorization?

Django provides a robust built-in authentication and authorization system that allows developers to handle user authentication and authorization with ease. The authentication system manages user registration, login, logout, and password reset, while ...

Read: https://mtmanish.hashnode.dev/how-does-django-handle-user-authentication-and-authorization
30-Day Plan to build a Side Project -For Beginners

Devs, It's the first Monday of the month 🗓️
If you start today, in the next 4 weeks, you can have a working and live side project 🚀
Here is a 30 Day step by step process. 🧵
I have created a detailed Google Sheet of the 30-day plan. Check the Link ...

Read: https://saaswisdom.hashnode.dev/30-day-plan-to-build-a-side-project-for-beginners
👍1
Decorators in Django !!

Django decorators are a powerful tool for modifying the behavior of views, functions, and methods in your Django application. In this blog, we will discuss what decorators are, how to use them, and provide examples of some of the most commonly used d...

Read: https://blog.mayankaggarwal.live/decorators-in-django
👍1
Extending Django's default User Model

If you're starting a brand new Django project and want to modify the user model, try this - this is tricky in the sense that it has the been done step-by-step without intervention in-between.
In this case, we're adding a role and date-of-birth (dob) ...

Read: https://anjanesh.dev/extending-djangos-default-user-model
Containerization of Django Application

Hey all,
The purpose of this blog is to demonstrate how a Docker file can be used to containerize a Django application. By exposing the port, we can access the application in the network

Pre-requisite:

Have the repo in your host machine

Docker sho...

Read: https://govarthan.hashnode.dev/containerization-of-django-application
Как разработать канбан-доску на Django, DRF и Alpine.js

Для структурирования и мониторинга рабочих процессов используют канбан-доски — например, Jira и Trello. Они особенно полезны, когда задачи состоят из множества этапов — согласования, выполнения, ревью и продакшена.

В статье рассказываем, как разработать собственную канбан-доску и развернуть ее на облачном сервере. Подробности под катом.


Читать: https://habr.com/ru/post/721022/
🔥3👍1🤡1
Django Performance Optimization

The speed of loading a web application page can literally make or break an online business, whether it is an e-commerce or a business website. Page speed has a huge impact on user behavior, it affects everything, from user experience, to brand percep...

Read: https://tandemtech.hashnode.dev/django-performance-optimization
Send an Email through Django Views!!

Sending emails is a common feature in web applications, and Django provides a built-in module for sending emails. In this blog, we will learn what sending mail is and how to send verification mails through Django.
What is Sending Mail? Sending mail i...

Read: https://blog.mayankaggarwal.live/send-an-email-through-django-views
😍1
Python, Django и немного защиты кода

Привет, Habr! Компания, в которой я работаю, занимается системами умного дома и видеонаблюдения. Услуга работает по форме SaaS. Но недавно было решено продавать и локальное решение. За основу «коробки» было решено взять облако, немного его переделать и вот готов новый продукт…

С переездом с облачных «рельс» возник ряд вопросов. Один из них в том, что весь проект написан на Python‑ язык интерпретируемый на лету и не защищенный от копирования от слова совсем. Второй момент, что в проекте используется Django. Фреймворк со своими зависимостями, которые еще аукнулись нам в процессе поиска решений. То с чем мы столкнулись и к чему пришли далее в статье.


Читать: https://habr.com/ru/post/721260/
Repository Design Pattern in Django

The Repository pattern can be implemented in Django by creating separate modules to handle database operations for each model, instead of spreading database queries throughout the application. Here are the basic steps to implement the Repository patt...

Read: https://arjun.name.np/repository-design-pattern-in-django
Select Related and Prefetch Related

In Django, select_related() and prefetch_related() are used to optimize database queries by reducing the number of database calls needed to retrieve related objects. Here are some examples of when to use each one:

select_related(): Use select_relate...

Read: https://arjun.name.np/select-related-and-prefetch-related
🤔1
Django Model best practices

Keep models small and focused with verbose field names: Limit each model to one responsibility and use clear, descriptive names for fields to improve readability.

Avoid complex inheritance structures and favor simple abstract base classes: Use mixin...

Read: https://pythonislove.com/django-model-best-practices
Class Based Views or Function Based Views

The decision of using Django function-based views or class-based views depends on the application's complexity and requirements.
Function-based views (FBVs) can be a good fit for simple use cases where you only need to handle a single HTTP request me...

Read: https://pythonislove.com/class-based-views-or-function-based-views
Getting Started with Django: Building Web Applications in One Week

Django is a powerful and popular Python web framework that allows you to quickly build web applications. In just 7-8 days of learning, I have gained an understanding of Django's key concepts, including function-based and class-based views. These view...

Read: https://augus7.hashnode.dev/getting-started-with-django-building-web-applications-in-one-week
Django URLs naming conventions and best practices

Here are the most common Django URL naming conventions:

app_name:namespace: Define an app-level namespace for your URLs by setting the app_name variable in the app's urls.py file. This can help avoid naming conflicts if you have multiple apps.

name...

Read: https://pythonislove.com/django-urls-naming-conventions-and-best-practices
Order of Components in Django Model

There is no strict order that you must follow when organizing your Django models, but it's best to keep them organized and readable to make it easier for other developers to understand your code. Here is one possible order that you can follow:

Const...

Read: https://pythonislove.com/order-of-components-in-django-model
Getting Started with Django: Building Web Applications

Django is a powerful and popular Python web framework that allows you to quickly build web applications. In just 10-12 days of learning, I have gained an understanding of Django's key concepts, including function-based and class-based views. These vi...

Read: https://augus7.hashnode.dev/getting-started-with-django-building-web-applications