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
Project Report: Dockerization of a React-Django Application

1. Introduction
The purpose of this project was to deploy a React-Django application and Dockerize it for easier development and deployment processes. The application serves as a demo app showcasing the integration of React and Django.
2. Project Set...

Read: https://retrinexdevops.hashnode.dev/project-report-dockerization-of-a-react-django-application
👍2
Пишем свой Chat GPT

По работе активно использую ChatGPT, часто бывает ситуации, когда модель позволяет найти решение, о котором даже не подозревал. В этом году он стал реальными помощником в поиске информации наравне с Google. Если в Google нужно вводить точный запрос и искать в выдаче подходящее решение, то Chat позволяет найти решение по описанию проблемы или проверить гипотезы.

У меня давно было желание  поработать с непосредственно с самим API от Open AI и с другими LLM моделями. Решил написать свой чат с возможностью адаптировать под внутренние нужды команды в дальнейшем. Проект выложен в открытый доступ, скачать можно по ссылке. Сам проект находится в активной разработке, так что вы можете писать ваши замечания / пожелания в комментариях или отправить ваш pull request с исправлениями. Будем оперативно исправлять ошибки.

На бэкенде был выбран Python, Django Rest Framework. На фронтенде React, Redux, Saga, Sass. Начнем с бэкенда, им занимался Егор. Далее про серверную часть проекта он пишет от себя.


Читать: https://habr.com/ru/articles/749234/
Mastering Django Templates: A Guide to Advanced Features and Best Practices

Django templates play a vital role in building dynamic and responsive web applications. They provide a way to define a web page's structure and layout without worrying about the underlying code.
In this article, we will delve deeper into the world o...

Read: https://scofield.hashnode.dev/mastering-django-templates-a-guide-to-advanced-features-and-best-practices
GSoC'23 Mid-term evaluation with Django Software Foundation

Introduction
Welcome back to my blog! I am thrilled to share the exciting progress of my journey with Google Summer of Code (GSoC) 2023 in collaboration with the Django Software Foundation (DSF). GSoC is an incredible opportunity for students to cont...

Read: https://devilsautumn.hashnode.dev/gsoc23-mid-term-evaluation-with-django-software-foundation
Backend Framework Showdown: A Comparison of Popular Choices

As a backend developer, choosing the right framework is a critical decision that can significantly impact your development experience and project's success. With a plethora of options available, each offering unique features and advantages, it's esse...

Read: https://dtgamer.hashnode.dev/backend-framework-showdown-a-comparison-of-popular-choices
👍2
Handling Development, Staging and Production Environments in Django

Introduction
The creation of an application (Django or any other framework) has more to do with maintaining certain standards during the complete process of making it, rather than just hitting your keyboard and pushing code. This is done to ensure th...

Read: https://diptonil.hashnode.dev/handling-development-staging-and-production-environments-in-django
Keeping accurate amounts in Django with CurrencyField

At Wundermart we started saving monetary amounts in Django, we naively started with DecimalField(decimal_places=2) for our financial data. After some time we realized that you will lose data this way when applying calculations, for example:
€100 * 0....

Read: https://deepintodjango.com/keeping-accurate-amounts-in-django-with-currencyfield
👍1👎1
Creating a Simple API using Django Rest Framework

Building a robust API is essential for modern web applications, enabling seamless data exchange between the backend and frontend. Django Rest Framework (DRF) is a powerful toolkit that simplifies the process of creating APIs in Django, a popular Pyth...

Read: https://aiblogger.hashnode.dev/creating-a-simple-api-using-django-rest-framework
Let's Learn Django #6: Using Database & Admin Panel

In the last blog, we discussed how can we use Django templating to the fullest. In this blog, we will discuss how can we use databases and handle our data in Django.
Introduction to Django databases
I am hoping everyone knows what a database is, but ...

Read: https://dilutewater.hashnode.dev/lets-learn-django-6-using-database-admin-panel
How to Use Celery with Django for Asynchronous and Periodic Tasks : A Comprehensive Guide

In modern web development, the ability to handle time-consuming tasks asynchronously is crucial for enhancing the performance and responsiveness of web applications.

Django, a powerful web framework, provides seamless integration with Celery, a popular distributed task queue, to manage asynchronous and scheduled tasks efficiently.
In this guide, we will walk through the process of using Celery in Django to perform …

Read: https://djangocentral.com/how-to-use-celery-with-django/
Django Caching 101: Understanding the Basics and Beyond

In today's world of web development, website speed and performance are
paramount. Users expect websites to load quickly and provide a seamless user
experience. Slow-loading pages can lead to frustrated users, decreased
engagement, and ultimately, los...

Read: https://pragativerma18.hashnode.dev/django-caching-101-understanding-the-basics-and-beyond
👍1
Common Mistake People do while doing Django!

Through this Blog, I want to aware you that while doing Django, then the most common mistake people do is that: They forget to create a Virtual environment in the directory, and without creating they used to start the project by writing 'python manag...

Read: https://anmolsblogs.hashnode.dev/common-mistake-people-do-while-doing-django
👍1
Consultas ORM en Django

Explorando el poder del ORM en un modelo de Libros y Autores
El ORM (Object-Relational Mapping) en Django es una potente herramienta que nos permite interactuar con la base de datos utilizando objetos de Python en lugar de consultas SQL directas. En ...

Read: https://jorgecespedes.hashnode.dev/consultas-orm-en-django
👍1
Higher-Order Function

what is a Higher-Order Function?

In Python a higher-order function is a function that takes takes one or more function as arguments, return a function as its result or both.
In other words, it treats functions as first-class citizens, allowing them ...

Read: https://imkanchan.hashnode.dev/higher-order-function
Exploring Django ViewSets: Simplifying API Development and Enhancing Code Reusability

If you have ever written API code in Django, you know that it can be a lot of work. You have to create separate views for each HTTP method and manually create URL patterns that reference each of these views. This can be a lot of code to write and mai...

Read: https://seunfashina.hashnode.dev/exploring-django-viewsets-simplifying-api-development-and-enhancing-code-reusability
👍1
Building a Secure Django REST API for Books

Django REST Framework (DRF) provides an excellent platform for building robust and flexible Web APIs in Django applications. In this blog, we will walk through the process of creating a comprehensive API for managing books using Django and DRF. We wi...

Read: https://aiblogger.hashnode.dev/building-a-secure-django-rest-api-for-books
👍3
Unveiling Django's Powerful Annotate Function

Django's ORM is a powerful tool that can make interacting with your database as simple as working with Python code. One of the most powerful parts of Django's ORM is the annotate function, which can add extra "fields" to your models, based on complex...

Read: https://saurav.codes/unveiling-djangos-powerful-annotate-function
👍1
Model Formset in Django

Django Model Formsets
Introduction
Formset is a way of working with multiple forms at the same time. Using Formset you can use multiple forms on a single page. In this article, we will be creating formset using a model and see all the options that ar...

Read: https://rishabhdev.hashnode.dev/model-formset-in-django
👍1
How to Send Emails with Django

In today's interconnected world, email remains a vital means of communication for businesses, organizations, and individuals. As a Django developer, understanding how to integrate email functionality into your web applications is essential for enhanc...

Read: https://huericnan.hashnode.dev/how-to-send-emails-with-django
👍1