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
Getting to know Django Signals

If you've been working with Django for a while, you've probably heard of Django Signals. But what are they, and why should you care? Well, my friend, you're in for a treat. In this article, we'll dive deep into the world of Django Signals and discove...

Read: https://ahmadsalah.com/getting-to-know-django-signals
👍2
Django Unleashed Framework
Photo
Django 5.x Technical Board Candidate Registration

With the completion of the Django 4.x major release cycle and in accordance with DEP-0010, it is now time to collect candidates for the Django Technical Board.

Technical board candidates must demonstrate:

* A history of technical contributions to Django or the Django ecosystem. This history MUST begin at least 18 months prior to the individual's candidacy for the Technical Board.
* A history of participation in Django's development outside of contributions merged to the https://github.com/django/django/ repository. This may include, but is not restricted to:
* Participation in discussions on the django-developers mailing list or Django Forum.
* Reviewing and offering feedback on pull requests in the Django source-code repository
* Assisting in triage and management of the Django bug tracker.

* A history of recent engagement with the direction and development of Django. Such engagement MUST have occurred within a period of no more than two years prior to the individual's candidacy for the Technical Board.

To register your candidacy, we require you to enter your name, email, and a bio/evidence of qualifications. The candidacy form has optional fields for your GitHub, Twitter, and website which can be useful for evaluating your qualifications.

Your email address will only be used by the DSF to contact you related to the election and process and will not be shared publicly.

Registration for Candidates will end on April 28th, 2023 AoE.

Please register using this form.

If you have questions about the election please contact [email protected].

Read: https://www.djangoproject.com/weblog/2023/apr/22/technical-board-candidate-registration/
👍1
Django Unleashed Framework
Photo
Django 5.x Steering Council Candidate Registration

With the completion of the Django 4.x major release cycle and in accordance with DEP-0010 and DEP-0012, it is now time to collect candidates for the Django Steering Council.

Steering council candidates must demonstrate:

* A history of substantive contributions to Django or the Django ecosystem. This history must begin at least 18 months prior to the individual's candidacy for the Steering Council, and include substantive contributions in at least two of these bullet points:
* Code contributions on Django projects or major third-party packages in the Django ecosystem
* Reviewing pull requests and/or triaging Django project tickets
* Documentation, tutorials or blog posts
* Discussions about Django on the django-developers mailing list or the Django Forum
* Running Django-related events or user groups

* A history of engagement with the direction and future of Django. This does not need to be recent, but candidates who have not engaged in the past three years must still demonstrate an understanding of Django's changes and direction within those three years.

To register your candidacy, we require you to enter your name, email, and a bio/evidence of qualifications. The candidacy form has optional fields for your GitHub, Twitter, and website which can be useful for evaluating your qualifications.

Your email address will only be used by the DSF to contact you related to the election and process and will not be shared publicly.

Registration for Candidates will end on April 30th, 2023 AoE.

Please register using this form.

If you have questions about the election please contact [email protected].

Please note: A previous version of this post used the term "Technical Board" with the candidacy requirements in DEP-0010. It has since been updated to reflect the requirements in DEP-0012, which updates DEP-0010. Additional time has been added to the candidacy nomination window to compensate.

Read: https://www.djangoproject.com/weblog/2023/apr/22/steering-council-candidate-registration/
Dockerizing Django With Postgres, NGINX, and Gunicorn (PART-1)

Running a Django application in a production environment requires a server that can handle traffic, ensure stability, and provide scalability. Gunicorn is a widely used and trusted server for running Django applications in such an environment. In thi...

Read: https://susiltiwari.com.np/dockerizing-django-with-postgres-nginx-and-gunicorn-part-1
Что произошло в мире Python за последний месяц

Привет! Раз в месяц мы в Moscow Python Podcast собираемся и обсуждаем новые релизы, PEP, заинтересовавшие нас инструменты и статьи. В апреле поговорили об исследовании экосистемы Django от JetBrains, LTS-релизе Django 4.2, релизе Pandas 2.0 и свежих PEP. Под катом — текстовая выжимка из обсуждения.


Читать: https://habr.com/ru/articles/730374/
Pre-GPT Text Generation: The Rise and Fall of My Personal Robotic Journalist

Before my career as a professional developer, I worked as a journalist. In the latter years of my journalism tenure, I identified numerous tasks that seemed suitable for delegation to junior staff members, or even better, complete automation. Possess...

Read: https://blog.stastka.org/pre-gpt-text-generation-the-rise-and-fall-of-my-personal-robotic-journalist
Show deleted entries in Django Simple History

The django-simple-history package is awesome as it shows you all the activity on a certain Django model object. It allows seeing how it was mutated over time and who changed it. However, there is one caveat: you cannot easily see what objects were de...

Read: https://deepintodjango.com/show-deleted-entries-in-django-simple-history
Python Дайджест: как ускорить Django проект до (почти) максимума

Завершение цикла статей про техническое оживление Python Дайджест. В первых трех частях рассказано как был совершен переход с Python 3.4 на Python 3.11 и Django 4, отформатирована вся кодовая база с pre-commit, настроена автоматизация задач на основе Github Actions. В заключительной части расскажу как получить "быстрый" сайт.



Читать: https://habr.com/ru/companies/first/articles/728792/
👍3
Installing Postgres Extensions with Django Migrations.

It’s possible to create Postgres extensions without having to log into your database and run it manually. The same task can even be more daunting if you have to do it the Docker way. Django makes it way easier with database migration operations. This...

Read: https://blog.stevenwithph.com/installing-postgres-extensions-with-django-migrations
👍2
How to add an image in a Django Project - step by step explanation and guide

Step 1: Define a model with ImageField
The first step is to define a model that has an ImageField. For example, let's say we have a model called "Product" which has a field for an image:
class Blog(models.Model):
title = models.CharField(max_leng...

Read: https://anish57.hashnode.dev/how-to-add-an-image-in-a-django-project-step-by-step-explanation-and-guide
👍1
Maximizing User Security with Django AllAuth: The Ultimate Authentication Solution

As a developer, one of the most critical aspects of creating a web application is ensuring that user authentication is secure and reliable. Fortunately, Django AllAuth is an open-source solution that provides an elegant and comprehensive solution to ...

Read: https://faithbolanle.hashnode.dev/maximizing-user-security-with-django-allauth-the-ultimate-authentication-solution
👍1
PyCharm Docker Django Debug

Эта статья посвящена настройке IDE для возможности запуска и отладки Django сервера. Статья нацелена на людей которые столкнулись с подобной проблемой и хотелось бы поделиться опытом, так как сам прошёл эти этапы.


Читать: https://habr.com/ru/articles/732164/
👍3
Getting Started with Django: A Step-by-Step Guide

Django is a high-level web framework that is written in Python. It is a powerful tool for building web applications quickly and easily. If you are new to web development with Django, this tutorial will guide you through the process of creating a new ...

Read: https://shitalmainali.com.np/getting-started-with-django-a-step-by-step-guide
Django Custom User Model

This blog post will discuss the need for a custom User model. We will build the User model from scratch, the steps involved in creating one in Django, and some best practices for managing a custom User model.
Why use a custom User model?
You might wa...

Read: https://rekib-ahmed023.hashnode.dev/django-custom-user-model
1
Sending POST data to a Django view via AJAX to a REST endpoint

If you want to send some POST data to an endpoint URL using AJAX, say for example, adding employee data to the database via a popup and not via the regular method, we need to extract the csrf_token value from the generated input tag.
Template ...

Read: https://anjanesh.dev/sending-post-data-to-a-django-view-via-ajax-to-a-rest-endpoint
Getting Started with Django

Prerequisites

Python: Django is built using Python, so having a good understanding of Python is essential before learning Django. This includes understanding basic programming concepts, data structures, functions, and object-oriented programming (OO...

Read: https://sayakofficial.hashnode.dev/getting-started-with-django
👍1
Django Crypto App Part 1: Functional Requirements and Setup

Introduction
Welcome to this 3-part technical tutorial series, where we'll be building a Django project that enables users to manage their cryptocurrency portfolios. To implement the functionalities and additional features, we'll be utilizing API cal...

Read: https://opensourced.hashnode.dev/django-crypto-app-part-1-functional-requirements-and-setup
Django Crypto App Part 2: Templates, Views and URLs

Introduction
Welcome to the second part of the 3-part technical tutorial series, where we'll be building a Django project that enables users to manage their cryptocurrency portfolios. To implement the functionalities and additional features, we'll be...

Read: https://opensourced.hashnode.dev/django-crypto-app-part-2-templates-views-and-urls