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
Django authentication using Email address

Introduction
As we all know, for Django's default user model, the user identifier is the username, which makes the username field required for login and registering. Sometimes, logging in with Email could be a better approach, as it adds some secur...

Read: https://hassanelabdallah.hashnode.dev/django-authentication-using-email-address
Starting With Django

After a while, this is my first writing. Being interviewed consistently has provided a great grasp on the Core. Now I am a backend developer in Python, at a blooming Food Tech startup.


Not cooking python, though!!

What is DJANGO and Why?

Django ...

Read: https://harshamangena.hashnode.dev/starting-with-django
2023 DSF Board Nominations

It is that time of year again to think about next year’s Django Software Foundation’s Board of Directors!

As you know, the Board guides the direction of the marketing, governance and outreach activities of the Django community. We provide funding, resources, and guidance to Django events on a global level. Further we provide support to the Django community with an established Code of Conduct and make decisions and enforcement recommendations for violations. We work closely with our corporate and individual members to raise funds to help support our great community.

In order for our community to continue to grow and advance the Django Web framework, we need your help. The Board of Directors consists of volunteers who are elected to one year terms. This is an excellent opportunity to help advance Django. We can’t do it without volunteers, such as yourself. Anyone including current Board members, DSF Members, or the public at large can apply to the Board. It is open to all. There are sure to be new members of the board as some board members are choosing not to run again. Half of the new board will also be elected to a 2 year term under our new staggered term election format.

If you are interested in helping to support the development of Django we’d enjoy receiving your application for the Board of Directors. Please fill out the application form by Friday, November 4th, 2022 to be considered. If it is still the 22nd of November somewhere in the world, applications will remain open.

If you have any questions about applying, the work, or the process in general please don’t hesitate to reach out via email to [email protected] and one of us will get back with you shortly.

Thank you for your time and we look forward to working with you in 2022.

The 2022 DSF Board of Directors.

2023 DSF Board Nomination Form

Read: https://www.djangoproject.com/weblog/2022/oct/16/2023-dsf-board-nomination-announcement/
DjangoCon 2022 Day 1 (20221017) Notes

I had a fantastic day, learned a lot, and met some great people. Here are the notes from the talks I attended today.
Day 1 - 0945 - Keynote

Jay Miller @kjaymiller
Melanie Arbor @melaniearbor

They both have faced struggles and challenges, personally...

Read: https://jacklinke.com/djangocon-2022-day-1-20221017-notes
👍1
Manage Django settings with Pydantic - Part 1

When our django project grows, we generally have to manage more and more settings: databases, security, cache, mails… And it quickly becomes a mess, scrolling hundreds of line to change the CSRF header.
In this series of articles, we will see how to...

Read: https://situation.hashnode.dev/manage-django-settings-with-pydantic-1
Mini Project: Text to ASCII Art in Django

Setup and Installation
Create a virtual environment. I'm using python3.10 for this project
python3.10 -m venv venv
Activate your environment
source venv/bin/activate
Install Django and pyfiglet
pip install django pyfiglet
Create Project
django-admin ...

Read: https://sudoarpit.hashnode.dev/mini-project-text-to-ascii-art-in-django
Manage Django settings with Pydantic - Part 2

In the previous part, we manage to use pydantic BaseSettings object to store common django settings.
In this article, we use all the power of pydantic to handle common use-cases.
Using environment variables
In practice, we are likely to deploy our dj...

Read: https://situation.hashnode.dev/manage-django-settings-with-pydantic-part-2
Django & Stripe - Open-Source Mini eCommerce

Hello!
This article presents an open-source Mini eCommerce project that uses Stripe as the payment processor and Django as the backend. The eCommerce section content is loaded from JSON and the information is managed by a simple routing logic. The s...

Read: https://app-generator.hashnode.dev/django-stripe-open-source-mini-ecommerce
Django !!

This article shows you step-by-step how to get start your full stack web development using Django. This tutorial is for beginners and is written from a beginner's point of view, thus having a fundamental grasp of Django will be helpful but not necess...

Read: https://vagisha.hashnode.dev/django
Create and use custom Django signals by building a blog application

In this article, you will learn how to create and use custom Django signals. Then use them to log all actions undertaken by a user on the application
1. What are Django signals?
According to the Django documentation, a signal is In a nutshell, signal...

Read: https://blog.kipchirchirlangat.com/create-and-use-custom-django-signals-by-building-a-blog-application
Django Cheatsheet 2022

What is Django?
Python-based web framework used for rapid development of web applications.
Installing Django + Setup
pip install django
Creating a project
The below command creates a new project named projectName
django-admin startproject projectNam...

Read: https://harshildevblog.hashnode.dev/django-cheatsheet-2022
👍1
Web Development With Python - Django Roadmap

Firstly what is Web Development?

It is loosely defined as building creating and maintaining websites.

Typically Web Development has 3 essential parts:



FrontEnd - "What Users See"
BackEnd - "All the logic part, data processing"
Database - "Where ...

Read: https://bhagirathkd.hashnode.dev/web-development-with-python-django-roadmap
👎1
Новый взгляд на асинхронность: в лучших традициях gevent, но ещё лучше

Некоторые уже видели мои статьи про добавление асинхронности в django. Этот пост не об этом: вопрос более широкий и посвящён асинхронности в целом. И подход совсем другой.

Кстати, вопрос с асинхронным django тоже решился - как побочный эффект. Между прочим, собираюсь использовать это в продакшене при первой возможности.

Итак, асинхронность в стиле gevent - как бы это могло быть? Читайте под катом. На картинке - иллюстрация к сказке Киплинга "Слонёнок", слева - Двухцветный Питон, Скалистый Змей.
Читать

Читать: https://habr.com/ru/post/694804/
👍1
Host API Docs in Django

So you've found a reason to maintain an OpenAPI spec in your codebase, maybe to create agility among frontend and backend engineers. Whatever your reason may be, a helpful addition to your organization might be to host browsable API docs based on thi...

Read: https://blog.rama.io/host-api-docs-in-django
Deploy a machine learning model using Django (the easy way).

The goal of building a machine learning application is to solve a problem, and an ML model can only do this when it is actively being used in production. As such, ML model deployment is just as important as ML model development.
Deployment is the pr...

Read: https://blog.jumashafara.com/deploy-a-machine-learning-model-using-django-the-easy-way
Unified Django development toolkit for your team using VSCode - Part 1

docker compose up -d is amazing right?
You don't know what is does? In simple words it will create required services to make a specific project up and running.
I will not cover basic knowledge about docker and docker compose, there are plenty of tuto...

Read: https://blog.mounirmesselmeni.de/unified-django-development-toolkit-for-your-team-using-vscode-part-1
Django API Generator - Free PyPI Library

Hello Coders!
This article presents an open-source API Generator for Django that provides a simple way to build APIs on top of any model defined in the project. The configuration is minimal and the generated service is restricted to the registered us...

Read: https://app-generator.hashnode.dev/django-api-generator-free-pypi-library
👍2
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