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

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

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

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

Другие наши проекты: https://tprg.ru/media
Download Telegram
Understanding related_name in Django Models

In Django, related_nameis an attribute that can be used to specify the name of the reverse relation from the related model back to the model that defines the relation. It is used to specify the name of the attribute that will be used to access the related model from the reverse side of the relation.
This attribute is particularly …

Read: https://djangocentral.com/understanding-related-name-in-django-models/
Capturing Query Parameters of request.get in Django

In Django, the request object contains a variety of information about the current HTTP request, including the query parameters. Query parameters are a way to pass additional information in the URL and are used to filter or sort data.

The request object provides a convenient way to access query parameters through the GET attribute.
The GET attribute is a dictionary-like object …

Read: https://djangocentral.com/capturing-query-parameters-of-requestget-in-django/
A comparison of different Python web frameworks and when to use each one

Python is a versatile and powerful programming language that is widely used for web development. There are several web frameworks available for Python that can help developers build web applications quickly and easily. However, with so many options t...

Read: https://webwise.hashnode.dev/a-comparison-of-different-python-web-frameworks-and-when-to-use-each-one
Using htmx and Server-side DataTables.net together in a Django Project

Background
I really enjoy using htmx alongside Django, and try to help others when they're learning to combine these two tools. I often see questions online asking about how to combine htmx with DataTables (aka DataTables.net). Honestly, this threw m...

Read: https://til.jacklinke.com/using-htmx-and-server-side-datatables-net-together-in-a-django-project
Django Middlewares: Types and Custom Middleware

Middleware is a framework of hooks into Django's request/response processing. It is a light plugin system for altering Django’s input or output. Each middleware component is responsible for doing some specific function. You can use middleware if you ...

Read: https://bharat-phalak-blogs.hashnode.dev/django-middlewares-types-and-custom-middleware
A Step-by-Step Guide to the Django Rest Framework Tutorial

Overview of the Django Rest Framework
The Django Rest Framework (DRF) is a powerful and flexible toolkit for building Web APIs. It provides a full suite of features for developing RESTful APIs, including serialization, authentication, URL routing, an...

Read: https://sense.hashnode.dev/a-step-by-step-guide-to-the-django-rest-framework-tutorial
Elastic Search with Django Rest Framework

Objective: Adding a full-text search in Django Rest Framework using elastic search.
What is Elastic Search?
Elasticsearch is a distributed, open-source search and analytics engine designed for handling large volumes of data. It is built on top of the...

Read: https://sagaryadav17.hashnode.dev/elastic-search-with-django-rest-framework
Дайджест Python: итоги 2022 года, обзор версии 3.11 и курсы от Google

Дайджест интересных статей о Python: что нового в версии 3.11, гайды по программированию на Python и обучающие статьи.

Читать: «Дайджест Python: итоги 2022 года, обзор версии 3.11 и курсы от Google»
👍1🔥1🌚1
Understanding Models in Django

Django is a popular web framework for building web applications in Python. One of the key features of Django is its support for models, which allow developers to define the structure of the data that their applications will work with. In this blog po...

Read: https://nileshdarji.hashnode.dev/understanding-models-in-django
Testing and Modules

What are Unit tests and TDD?
Unit tests:
Unit tests are some pieces of code that exercise the input, the output, and the behavior of your code.
TDD tests:
Test-Driven Development is a strategy that entails first thinking about (and writing!) tests.

...

Read: https://sarahthedeveloper.hashnode.dev/testing-and-modules
Django Channels - Building Real-time Web Applications with Django

Django is a widely used web framework for building web applications with Python. However, it's built mainly for synchronously handling HTTP requests and responses. With the rise of real-time web applications such as online multiplayer games, chat app...

Read: https://sarahthedeveloper.hashnode.dev/building-real-time-web-applications-with-django
Getting Started With Django Web Sockets: A Step-by-Step Guide

What Are Django Web Sockets?
Django Web Sockets are a Django-specific implementation of web sockets that make it easier for developers to build web applications with real-time features. By leveraging the WebSocket protocol, developers can create inte...

Read: https://sense.hashnode.dev/getting-started-with-django-web-sockets-a-step-by-step-guide
Launching my E-book on Django Signals Demystified: A Step-by-Step Guide to Event-Driven Programming

Are you tired of tightly coupled code and struggling to keep track of events in your Django application? Look no further! Our new e-book, "Django Signals Demystified: A Step-by-Step Guide to Event-Driven Programming" is here to help you master the po...

Read: https://blog.devjunction.in/launching-my-e-book-on-django-signals-demystified-a-step-by-step-guide-to-event-driven-programming
Wagtail finding url name for submitting new translation

We're adding Translations tab to the wagtail admin edit pages. Something like this:-

And if there's no translation yet, add link for creating new translation like this:-

So I was scouring wagtail github repo looking for the url name to be used in t...

Read: https://grep.koditi.my/wagtail-finding-url-name-for-submitting-new-translation
Django Unleashed Framework
Photo
Django 4.2 alpha 1 released

Django 4.2 alpha 1 is now available. It represents the first stage in the 4.2
release cycle and is an opportunity for you to try out the changes coming in
Django 4.2.

Django 4.2 has a farrago of new features which you can read about in the
in-development 4.2 release notes
.

This alpha milestone marks the feature freeze. The current release schedule
calls for a beta release in about a month and a release candidate about a month
from then. We'll only be able to keep this schedule if we get early and often
testing from the community. Updates on the release schedule are available on
the Django forum
.

As with all alpha and beta packages, this is not for production use. But
if you'd like to take some of the new features for a spin, or to help find and
fix bugs (which should be reported to the issue tracker), you can grab a
copy of the alpha package from our downloads page or on PyPI.

The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.

Read: https://www.djangoproject.com/weblog/2023/jan/17/django-42-alpha-1-released/
Models in Django

One of the key features of Django is it use of models, which are used to represent the data in a Django application. Now before we move, this is a continuation of my Django Basics series, you can read them here
What are Models
Models in Django are de...

Read: https://akolade.hashnode.dev/models-in-django
Getting Started With PostgreSQL and Django: A Comprehensive Guide

What Are PostgreSQL and Django?
PostgreSQL is a powerful, open-source database management system (DBMS). It is commonly used in the production environments of large organizations such as banks, telecommunications companies, and governments. Django is...

Read: https://sense.hashnode.dev/getting-started-with-postgresql-and-django-a-comprehensive-guide
❤‍🔥1