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
Using Celery in Django Production Setup

Introduction
It is not rare for a Django web application to contain one or more asynchronous Celery tasks, whether periodic or sporadic. Asynchronous tasks handle time-consuming user requests such as sending emails in the background so as to prevent ...

Read: https://gplhegde.hashnode.dev/using-celery-in-django-production-setup
A quick and easy alternative to Heroku is Railway.app

Suppose you are currently using Heroku to deploy your projects like Django apps. In that case, you should have received mail from Heroku that they are going to stop free dynos, free databases and all other free services currently provided. This was v...

Read: https://magbanum.tech/a-quick-and-easy-alternative-to-heroku-is-railwayapp
Hand-in-Hand Walkthrough Web Development Episode 3

In sequel to the last episode,
JavaScript
Now, this is where logic comes in front-end development. It is the place with the programming syntax and functionalities.
This is an all-purpose language for both client and server-side development with libr...

Read: https://cruxcodes.hashnode.dev/hand-in-hand-walkthrough-web-development-episode-3
How to login/register with email instead of username in Django

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/how-to-loginregister-with-email-instead-of-username-in-django
👍1
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