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
How to Log Users In With Their Email

What makes Django different to other web frameworks is it includes a model for users. This means it is possible to add user registration to your project without having to create a table to store user data in the database yourself.
I recently wrote a ...

Read: https://aliceridgway.hashnode.dev/how-to-log-users-in-with-their-email

@django_prog
User Registration with Django REST Framework

User registration with Django REST Framework (DRF) can be challenging because you don't have the advantage of Django's built in user model. I am going to show you how to implement user registration with an API, without compromising user passwords.
Pr...

Read: https://aliceridgway.hashnode.dev/user-registration-with-django-rest-framework

@django_prog
How to Create Rows in the Database with Django ORM

Django ORM (Object Relational Mapper) allows your application to modify your database with Python. This means you won't have to write any SQL to manage your database. Django ORM will convert your code into SQL for you.
I am going to show you two ways...

Read: https://aliceridgway.hashnode.dev/how-to-create-rows-in-the-database-with-django-orm

@django_prog
Add Vue to your Django templates with Vite

When you take a course in Vue, you're normally taught how to build a Single Page Application (SPA). This is where you build an interactive user interface but it's not a full-stack application on its own. You will need an API to supply data to your SP...

Read: https://aliceridgway.hashnode.dev/add-vue-to-your-django-templates-with-vite

@django_prog
The Django Developer's Guide to Vite

What is the best way to add JavaScript to a Django project? It is often a question of how much JavaScript are you prepared to add to your frontend.
At one extreme, you could just write Vanilla JavaScript and import it into your templates. When you fi...

Read: https://aliceridgway.hashnode.dev/the-django-developers-guide-to-vite

@django_prog
Markdown-powered emails in Django

Programmatically sending "nice-looking" HTML emails with minimal effort is hard. This is why projects like MJML exist. MJML is cool, but I think it comes with some bit of overhead, as you have to learn (and write) the markup and design the layouts (y...

Read: https://blog.victor.co.zm/markdown-powered-emails-in-django

@django_prog
👍3
Django Signals : Built-in signals

Django comes equipped with a powerful feature known as signals. Signals provide a way to allow various parts of your application to communicate asynchronously, enabling modular and extensible behavior. In this blog post, we'll take a closer look at s...

Read: https://blog.nischallamichhane.com.np/django-signals-built-in-signals

@django_prog
Django Signals: Surface Overview

In the dynamic world of web development, Django stands out as a powerful framework for crafting robust and scalable web applications. Among its many features, Django Signals emerge as a hidden gem, offering developers a mechanism to decouple various ...

Read: https://blog.nischallamichhane.com.np/django-signals

@django_prog
👍2
Django + React. Авторизация с помощью сессий между разными источниками

Всем здравия! Сегодня будет рассмотрена авторизация с помощью сессий между Django и React, которые находятся на разных доменах, т.е случай "cross-origin". Я в двух словах донесу принцип работы, причины появления концепций и технологий описанных здесь, оставлю ссылки на более подробные источники и приведу код конкретной реализации с объяснением своих шагов. Кого интересует полный код, он находится на GitHub.


Читать: https://habr.com/ru/articles/804615/

@django_prog
Day 88 (Project-9): Deploying Django Todo App on AWS EC2 with Kubernetes 🌟

Project Description 📝
In this project, we embark on deploying a Django Todo application on AWS EC2 utilizing a Kubeadm Kubernetes cluster. Kubernetes Cluster aids in auto-scaling and auto-healing, enhancing the reliability and scalability of our app...

Read: https://davender.hashnode.dev/day-88-project-9-deploying-django-todo-app-on-aws-ec2-with-kubernetes

@django_prog
2
Day 28 : Jenkins Agents

Jenkins Master (Server)
Jenkins’s server or master node holds all key configurations. Jenkins master server is like a control server that orchestrates all the workflow defined in the pipelines. For example, scheduling a job, monitoring the jobs, etc....

Read: https://prathmeshh.hashnode.dev/day-28-jenkins-agents

@django_prog
Django bugfix release issued: 5.0.4

Today we've issued the 5.0.4 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 Natalia Bidart: 2EE82A8D9470983E.

Read: https://www.djangoproject.com/weblog/2024/apr/03/bugfix-release/

@django_prog
How To Implement API Rate Limiting in Your Django Project

Have you ever seen a public API that only allows users to make a certain number of requests per minute or month? That API implemented something called rate-limiting to achieve such functionality.
Rate limiting is a mechanism that helps you control th...

Read: https://superhero.hashnode.dev/how-to-implement-api-rate-limiting-in-your-django-project

@django_prog
2
How we made `Recipy`, a web application from where you can read, share recipes & meal recommandations between each other

Hello, my name is Fily Mohamed Sakine, a Software Engineer. I'm currently in a ALX programme (full-stack) and I'm the backend developer of our web application, called Recipy.
In our project, our main objective was to develop a recipe app that not onl...

Read: https://filymsakine.hashnode.dev/how-we-made-recipy-a-web-application-from-where-you-can-read-share-recipes-meal-recommandations-between-each-other

@django_prog
👍2
How to handle CORS in flask security in api PART 1

Tired of seeing the red warning under your browser while running your web app?
Often while developing web apps you might make use of a flask backend api and a javascript frontend.
Developing such applications we must take care of CORS.
Cross-Origin R...

Read: https://dipchak.hashnode.dev/how-to-handle-cors-in-flask-security-in-api-part-1

@django_prog
Day 1/100 DevOps Projects 1: Deployment Django App and Setting Up on AWS server

Launching an AWS Instance

Log in to your AWS Management Console: Access your AWS account through the web-based management console provided by Amazon Web Services.

Navigate to the EC2 service: EC2 (Elastic Compute Cloud) is a web service that provid...

Read: https://sauravkb94.hashnode.dev/day-1100-devops-projects-1-deployment-django-app-and-setting-up-on-aws-server

@django_prog
How to Use Choice Field in Django 5 models

Django's ChoiceField simplifies option selection in forms and the admin interface by allowing you to define pre-defined options for a field. You can define choices by creating a list of two-element tuples for each choice, where the first element repr...

Read: https://web250.hashnode.dev/how-to-use-choice-field-in-django-5-models

@django_prog
Better Django: Chapter 1

Having worked with Django for a significant number of years, I've examined various Django codebases and found cases where 10 lines of code can be condensed to around 4-5 lines while still maintaining or even improving effectiveness. This article aims...

Read: https://alphaleader.hashnode.dev/better-django-chapter-1

@django_prog
How My Backend Developing Journey Started

$ git init
A story about how my coding journey started and how I got my hands on Python and chose the Django Framework (who as far as am concerned is the god of backend solutions) as my Tech Stack.
It was my second year as a retail sales cashier in o...

Read: https://muriuki.hashnode.dev/how-my-backend-developing-journey-started

@django_prog
Redis <-RQScheduler <-Celery for Dynamic Task Scheduling and Concurrent Execution in Django Backend

In our previous setup, the initial problem seemed straightforward: implementing a scheduling mechanism for database queries using goroutines. This approach worked well with minimal resources and SQLite in a Go service. However, when integrating this ...

Read: https://suprsend.tech/redis-rqscheduler-celery-for-dynamic-task-scheduling-and-concurrent-execution-in-django-backend

@django_prog
A Guide to Handling CORS in Django API Security

In today's interconnected web environment, building secure APIs is paramount for safeguarding data and ensuring smooth communication between servers and clients. Cross-Origin Resource Sharing (CORS) is a crucial aspect of API security, particularly i...

Read: https://blog.nischallamichhane.com.np/cors-policy

@django_prog
1👍1