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
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
Exploring Different Hosting Methods for NLP Systems and Exposing Them as APIs

Hosting natural language processing (NLP) systems and exposing them as APIs is essential for integrating NLP capabilities into various applications. In this blog post, we'll explore different hosting methods for NLP systems and guide you through expo...

Read: https://prakhartechinsights.hashnode.dev/exploring-different-hosting-methods-for-nlp-systems-and-exposing-them-as-apis

@django_prog
Understanding Template Lookup in Web Frameworks: Avoiding Unexpected Behavior

In the world of web development, template engines play a crucial role in separating business logic from presentation. Whether you're working with Django, Jinja2, or another popular web framework, understanding how template lookup works is essential f...

Read: https://prakash0091.hashnode.dev/understanding-template-lookup-in-web-frameworks-avoiding-unexpected-behavior

@django_prog
Dockerize a Python Django App

If you're ready to dive into web development using Python, you're in the right place! In this guide, I'll walk you through setting up your development environment and Dockerizing your Django application. But first, let's ensure you have everything yo...

Read: https://anj.hashnode.dev/dockerize-a-python-django-app

@django_prog
Build and run a Django application using Docker compose

In this blog, I'll walk through the process of setting up and running a Django application using Docker Compose.
I will also "attach" or connect or link the volume of the container to our local system or machine. Volumes "mirrors" the files in the co...

Read: https://anj.hashnode.dev/build-and-run-a-django-application-using-docker-compose

@django_prog
Setting up PostgreSQL with Django App using Docker Compose

In this article, I delve into the practical aspects of integrating PostgreSQL with Django app using Docker Compose. For those seeking an alternative to MySQL, PostgreSQL offers robust data management capabilities through its relational database manag...

Read: https://anj.hashnode.dev/setting-up-postgresql-with-django-app-using-docker-compose

@django_prog
Getting Started with Django: A Beginner's Guide

Why Django?
Django is a Python web framework that empowers developers to build web applications rapidly and effortlessly. With Django, you can focus on crafting your application's logic without getting bogged down by the complexities of web developme...

Read: https://nsgulnar.hashnode.dev/getting-started-with-django-a-beginners-guide

@django_prog
👎21👍1🤣1
Using Django ORM only without web server

Django is a great framework, but sometimes you just want to use its ORM without web server function. This blog will introduce how to do it.
1. Step
1.1. Setup environment

Create a virtual environment named ormOnlyEnv and then activate it
python -m v...

Read: https://ivanyu2021.hashnode.dev/using-django-orm-only-without-web-server

@django_prog