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

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

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

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

Другие наши проекты: https://tprg.ru/media
Download Telegram
What does the DSF Board Actually Do?

Nominations are open for the 2023 Django Software Foundation Board, the non-profit behind Django. There are 7 DSF Board Members. Anyone in the community can nominate themself and the final vote is made by the DSF Individual Members. There is a strong desire for the Board to represent Django’s global reach.

What follows is a descriptive list of what the Board currently does, not necessarily what it should be doing going forward. Being on the Board means continually redefining its role and how best to serve the broader Django community.

At the moment, the minimum commitment is a monthly one-hour meeting. Beyond that each Board member has individual areas they focus on that may require additional hours. At present, there are 4 Officer roles:

* The President chairs meetings
* The Vice President oversees discussion of new DSF Individual Member nominations
* The Secretary prepares the monthly meeting agenda, posts the public minutes on the DjangoProject.com site, and manages Board elections
* The Treasurer works with DSF Assistant Catherine Holmes to compile a monthly report on financials, coordinate with corporate sponsors, and file annual returns

The other three members on the Board informally have roles such as DjangoCon liaison, enforcing Django’s trademark, managing Code of Conduct violations if they arise, and so on.

There are several ongoing projects that the Board currently handles including:

* Annual DSF Board elections
* Annual Django Developers Survey
* Sponsoring and supporting DjangoCons and other community conferences
* Django Merchandise Store
* Annual Malcolm Tredinnick Memorial Prize
* Annual PyCharm promotion which accounts for 1/3 to 1/4 of the DSF’s total annual budget
* Copyright and code of conduct issues as they arise

At present the DSF annual budget is ~$200,000 and the majority goes to the Django Fellowship Program which funds Carlton Gibson three days a week and Mariusz Felisiak five days a week. There is also hourly funding for Catherine Holmes who is the DSF Assistant and helps with accounting and sponsorships. The rest of the budget goes towards sponsoring DjangoCons, DjangoGirls events, and related conferences; to the Ops team who manages the infrastructure of the DjangoProject.com sites; and a minimal amount to file required legal and financial forms to maintain the DSF’s 501(c)(3) non-profit status.

It is worth emphasizing that although this is what the Board currently does it is not set in stone. The Board is meant to reflect the global Django community and adapt as needed. If you’d like to have a direct impact on Django’s future please consider nominating yourself.

Several members of the current 7-member Board are planning to step down this year. Officer roles are decided upon during the first meeting and it is not uncommon for them to switch around even among returning members based on individual preferences.

If you have additional questions, you can contact the current Board or reach out to individual Board members directly.

Read: https://www.djangoproject.com/weblog/2022/oct/24/what-does-the-dsf-board-actually-do/
Outreachy: The contribution period

The 8th of October 2022 was a memorable day for me. I received the email after many refreshes of my inbox. The most comforting part was the introductory statement, "Welcome to the Outreachy contribution period..." You might be wondering what Outreach...

Read: https://activuscode.hashnode.dev/outreachy-the-contribution-period
Free Django eCommerce - DW products from Stripe

Hello coders!
This article presents an open-source Django & Stripe Mini eCommerce starter that builds product pages using the information saved in Stripe Dashboard. Once the Stripe Secrets are provided in the .env file, the superusers are able to pul...

Read: https://app-generator.hashnode.dev/free-django-ecommerce-dw-products-from-stripe
Build Django REST Project in Docker

Introduction
This is a tutorial to show how we can build a Django Rest Project and Dockerize it in Docker container.
Here I will be building a Django project first and then dockerize it to a container...
This is the good practice who is new to Djang...

Read: https://prashanthsworld.hashnode.dev/build-django-rest-project-in-docker
Cache Busting with Django FileStorages

Introduction
Why Caching
In production environments, caching the static contents is a well known practice to improve the user experiences and minimise resource utilisation. In most cases caching for static contents implemented in multiple levels from...

Read: https://rathnaviraj.hashnode.dev/cache-busting-with-django-filestorages
Redis Caching in Django Rest Framework, Complete Guide

We will implement Redis caching in Django Rest Framework properly this time.
Project Setup

I'm using Docker to start a Redis database server.
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest


Start a Django proje...

Read: https://sagaryadav17.hashnode.dev/redis-caching-in-django-rest-framework-complete-guide
Como integrar Django con Tailwind y HTMX - Parte 3

Hola queridos lectores, esta es la última entrega de esta serie donde veremos como integrar HTMX con Django y Tailwind en un proyecto. Si te perdiste las entradas anteriores aquí te dejo los links:

Como integrar Django con Tailwind y HTMX
Como integ...

Read: https://roylans.dev/integrar-django-tailwind-htmx-parte-3
Django Mastery Series

Hello Coders, I hope you are all doing well.🤗
Are you tired of reading endless articles or binge-watching YouTube lessons on "how to learn the Django"? 😵, By frequently hitting StackOverflow anytime you run into a problem at work but are unable to ...

Read: https://prathambhansali.hashnode.dev/django-mastery-series
FastAPI vs Django vs Flask, qué framework aprender?

Python es un lenguaje de programación que está en constante evolución. Cada año, se van agregando nuevas funciones y mejoras en el lenguaje, haciéndolo más potente, rápido y fácil de usar. Actualmente, es uno de los lenguajes de programación más popu...

Read: https://agusmdev.hashnode.dev/fastapi-vs-django-vs-flask-que-framework-aprender
How To Create Django Blog Step By Step Tutorial

how I build a simple Django blog from scratch. For the front-end, I use Tailwind to make it look great.
In this tutorial, we’ll build a Blog application with Django
Pre-Requirements
Django is an open-source web framework, written in Python, that fol...

Read: https://amitgajare.hashnode.dev/how-to-create-django-blog-step-by-step-tutorial
Django bugfix release: 4.1.3

Today we've issued the 4.1.3 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 Mariusz Felisiak: 2EF56372BA48CD1B.

Read: https://www.djangoproject.com/weblog/2022/nov/01/bugfix-release/
Starting on Django and setting up your first Project!

What is Django?

Django is a free and open source web application framework, written in Python. A web framework is a set of components that helps you to develop websites faster and easier.
It works with a model-view-controller (MVC) architecture.
The...

Read: https://walobwa.hashnode.dev/starting-on-django-and-setting-up-your-first-project
Django vs Larvel Comparision: Which Framework to choose?

The committee would have a difficult time deciding which framework would be declared king when it comes to online or mobile development. This is not to argue that there aren't any worthy rivals.
The sounds of individuals who extol the virtues of thei...

Read: https://jessicaspe.hashnode.dev/django-vs-larvel-comparision-which-framework-to-choose
How to Use MQTT in The Django Project

MQTT is a lightweight IoT messaging protocol based on publish/subscribe model, which can provide real-time reliable messaging services for connected devices with very little code and bandwidth. It is widely used in industries such as IoT, mobile Inte...

Read: https://emqx.hashnode.dev/how-to-use-mqtt-in-the-django-project
Jenkins: Creating a Pipeline for Python projects

I recently attempted to set up a pipeline using Jenkins for my Python projects. The process was not straightforward, but I was able to figure it out.
I'll try to describe how I did it in this article so that anyone starting off or working on a proje...

Read: https://savadev.hashnode.dev/jenkins-creating-a-pipeline-for-python-projects
Automatically Add Logged In User Under 'created_by' and 'updated_by' in Django Rest Framework

In some application, we need to track which user added or updated the data in the system. So here we will see how to do this job in the background without any user input.
Required setup: I hope you already have Django and the Django Rest Framework i...

Read: https://forhadakhan.hashnode.dev/automatically-add-logged-in-user-under-createdby-and-updatedby-in-django-rest-framework
Django: The web framework for perfectionists with deadlines.

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing t...

Read: https://stero.hashnode.dev/django-the-web-framework-for-perfectionists-with-deadlines
Distributed Locks for Django Celery Tasks

If you are putting asynchronous(background) tasks in a Django application, Celery is the go-to option without second thoughts. I tried to outline some considerations around production-ready celery tasks in one of the posts. In this post, we will lear...

Read: https://gplhegde.hashnode.dev/distributed-locks-for-django-celery-tasks
👍1
Как сделать локальный Django-сайт доступным в Интернете / Туннели ngrok

Допустим вы пишите какое-то Django-приложение. Как обычно разработка идёт локально на вашем компьютере.  По умолчанию все Django-проекты доступны по адресу https://localhost:8000или https://127.0.0.1:8000что одно и тоже. Эта адреса твоего локального компьютера. Соответственно никто другой в Интернете, перейдя по одному из этих адресов, ваш сайт не увидит.

Проект пока рано заливать на какой-то хостинг или выделенный сервер, но показать его другому человеку уже нужно: похвастаться другу, человеку и команды разработки, заказчику и т.д. Даже если этот человек подключится к WI-FI у вас дома и будет находиться с сайтом в одной сети, localhost будет перенаправлять гостя на своё же устройство, а не на ваш сайт.

Что делать, как показать Django-проект, которые запускается на локальном сервере, недоступном в Интернете? Есть несколько вариантов:


Читать: https://habr.com/ru/post/697620/
👍1🔥1
Generate API Docs for Django with GitHub Actions

In the last article I covered how to Host API Docs in Django. To recap, this included the following:

Creating an OpenAPI spec
Generating API docs with the redoc-cli
Exposing docs in Django at a path of our choice
Requiring authentication to access A...

Read: https://blog.rama.io/generate-api-docs-for-django-with-github-actions
👍2
Dockerize an Django Based app along Postgres + Redis + ElasticSearch 🚀

Docker is a wonderful tool to containerise your website. A website have many micro services & inter dependent in most of the cases. Things even get more worse when we try to setup our app on different PC / Operating System. Docker is a lifesaver in t...

Read: https://selftaughtdev.me/dockerize-an-django-based-app-along-postgres-redis-elasticsearch
🔥1