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 deploy a Django app to Vercel using WSGI

Find a free home for your Django app and deploy it easily and quickly straight from GitHub.
I deployed my ecommerce site using this method
Step 1: Export the dependencies of the application to a file named requirements.txt pip freeze > requirements.t...

Read: https://ifiokambrose.hashnode.dev/how-to-deploy-a-django-app-to-vercel-using-wsgi
Запуск альфа-теста Капибара(Новый Старый Пикабу)

Продолжу рассказывать о развитии Капибары, опенсорсном проекте, цели которого воспроизвести лучшее что было на пикабу и не наступить на их же "грабли". Первая часть здесь: https://habr.com/ru/articles/759598/

Пару недель назад у нас стартанул полу-закрытый альфа-тест. Сейчас выдаём ранний доступ на сайт kapi.bar отважным авторам-альфатестировщикам и активным комментаторам взамен просим слать нам багрепорты и пока быть самим себе модераторами. Функционал для создания постов, комментариев и выставления оценок для них есть. Ленты "Новое", "Тренды", "Топ", "Обсуждаемое" и поиск по тегам уже работают и доступны для чтения всем желающим.

Теперь об обновлениях за последние пару недель:

📸 Изображения

Теперь на сайте Капибары пользователи могут загружать изображения в посты и комментарии! Так же доступна загрузка изображений в формате apng, gif размером до 5мегабайт. Каждое загруженное изображение конвертируется на стороне бэкенда в формат webp для оптимального отображения и снижения нагрузки на инфраструктуру.


Читать: https://habr.com/ru/articles/773234/
🔥2
Open edX APIs Start to Finish

This article is geared towards individuals intending to set up and work with Open edX REST APIs. It also assumes you already have an Open edX instance set up in the cloud.
What is Open edX?
Open edX is a free and open-source learning management syste...

Read: https://clementlumumba.hashnode.dev/open-edx-apis-start-to-finish
👍1
My Journey Deploying a Django + Supabase application to Vercel.

1. INTRODUCTION
Hey, there. In this article, I'll be talking about my experience in deploying a Django app using Supabase as a Database to Vercel. For the technical know-how, please refer to this article on kowe.io.
It's not a common thing to deploy ...

Read: https://mlscunizik.hashnode.dev/my-journey-deploying-a-django-supabase-application-to-vercel
How to Set Up a Django Development Environment

Introduction
Django is a popular web framework written in Python. It enables the rapid development of secure and scalable websites. The first step to working with Django is setting up a Django development environment. This involves downloading and co...

Read: https://praisedev.hashnode.dev/how-to-set-up-a-django-development-environment
Netrobase CMS Restful API DOCS

Netrobase CMS is a lightweight inhouse blogging tool. It adopts a headless CMS approach.
BASE URLS:

For Schools: api.schooldomain.com

For Netrobase: cms-api.netrobase.dev


Auth Endpoints:

/auth/ - [GET] Auth Index View

/auth/login/ - [POST] Logi...

Read: https://leonardnzekwe.hashnode.dev/netrobase-cms-restful-api-docs
Enhancing Code Efficiency: A Deep Dive into the Popularity Algorithm

In the world of social platforms and content sharing, the order in which content is presented can significantly impact user engagement. To address this, developers often incorporate popularity algorithms to dynamically sort and display content based ...

Read: https://vicentereyes.org/enhancing-code-efficiency-a-deep-dive-into-the-popularity-algorithm
Если хотите быть в тренде и получать лучшее из мира IT, у Tproger есть 4 канала, которые вам в этом помогут:

— всё о нейросетях и ИИ: @neurochannel

— полезные сохранёнки на все случаи жизни: @prog_stuff

— нужные инструменты для ваших проектов: @prog_tools

— новости из мира технологий: @your_tech

Кстати, там сейчас ещё и розыгрыш подписок Telegram Premium проходит, так что заходите, смотрите условия и подписывайтесь.
👍2
Day 81: Project-10 (K8s)

Introduction
The project involves deploying a Django Todo app on AWS EC2 using Kubeadm Kubernetes cluster. (Master and Worker Node)
Kubernetes Cluster helps in the Auto-scaling and Auto-healing of your application.
This project involves deploying a D...

Read: https://aminchivilkar.hashnode.dev/day-81-project-10-k8s
Simple Django Tip #6

Introduction
Tailwind CSS is something that I have been exploring for quite sometime. Once I got comfortable with tailwind, I did not want to go back to using plain old CSS. A few reasons why I started to prefer tailwind:

It's very intuitive, more l...

Read: https://hellosambhavi.com/simple-django-tip-6
Testing Models with Pytest in Django: A practical approach | Testing Django Applications

Let's get started with the developers' nightmare, Software Testing. The term "testing" in software development refers to the process of verifying and validating if the software is bug-free and meets the requirements specifications as guided by its de...

Read: https://blog.anjalbam.com.np/testing-models-with-pytest-in-django-a-practical-approach-testing-django-applications
👍2
Running a Django App Using Docker: A Step-by-Step Guide

Source code : -
https://github.com/rishabh-var123/react_django_demo_app

Docker is a powerful tool that allows developers to package and distribute applications along with their dependencies. In this article, we'll walk through the process of creati...

Read: https://risvarsh.hashnode.dev/running-a-django-app-using-docker-a-step-by-step-guide
Django for Web Development

Installing Django
After installing Python, we can install django using this command pip install django

Creating an environment

How to run locally
To run the project locally, first we have to change our directory to "mysite". We can do so by cd mysi...

Read: https://prakharalsoblogs.hashnode.dev/django-for-web-development
Day 24 | Dockerizing a Django App

Pre-requisites

Install Django: https://docs.djangoproject.com/en/4.2/topics/install/

Install Docker: sudo apt update, sudo apt install docker.io -y. ( on EC2 Ubuntu Instance)


For a DevOps Engineer, it is very necessary to understand the basic s...

Read: https://saratdevopsengg.hashnode.dev/day-24-dockerizing-a-django-app
👍3
Django 5.0 release candidate 1 released

Django 5.0 release candidate 1 is the final opportunity for you to try out a deluge of exciting new features before Django 5.0 is released.

The release candidate stage marks the string freeze and the call for
translators to submit translations. Provided no major bugs are discovered that can't be solved in
the next two weeks, Django 5.0 final release is planned for December 4. Any potential
delays will be communicated on the Django forum.

Please use this opportunity to help find and fix bugs (which should be reported to the issue tracker),
you can grab a copy of the release candidate package from our downloads page or on PyPI.

The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.

Read: https://www.djangoproject.com/weblog/2023/nov/20/django-50-rc1/
100 Days of Code

Getting Started
I will be Mostly Coding in Python but I will take Other Languages as my consideration.
Prerequisites
For any Language, You must Have the Language Installed in Your System.
Day 1
Today I Updated My E-Commerce Website in which I added a...

Read: https://justaman045.hashnode.dev/100-days-of-code
Исчерпывающее руководство по кэшированию в Django

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


Читать: https://habr.com/ru/companies/otus/articles/775318/
2
Maximizing API Efficiency: Empowering API Consumers to Choose Their Data Fields

Imagine you've got a REST API for listing users, and each user's information shows up in 12 fields.
GET /v1/users/?page=1&page_size=15

{
"pagination_data": {
"total_records": 10000,
"pages": 667,
"prev_page_no": null,
...

Read: https://akshaythekkath.hashnode.dev/maximizing-api-efficiency-empowering-api-consumers-to-choose-their-data-fields
👍3
A Comprehensive Guide for Integrating Google Firebase Authentication with Django Rest Framework

This article will show you how to integrate Google Firebase authentication with Django REST Framework. We will use Firebase authentication to create and login users in Django and get firebase access token that will be use for each request to any prot...

Read: https://abiorh.hashnode.dev/a-comprehensive-guide-for-integrating-google-firebase-authentication-with-django-rest-framework
👍2
Как я написал программу для преданалитики клиентов

Привет! Меня зовут Александр Кулагин. Я не занимался разработкой профессионально, но заинтересовался созданием нейросетей. После изучения основ Python, NumPy и TensorFlow я захотел попрактиковаться на реальных задачах. Так я решил создать проект, который оценивает, какие компании потенциально заинтересованы в сотрудничестве с конкретным бизнесом.

В этой статье я расскажу о процессе создания проекта: от поиска заказчика и сбора данных до финального этапа — создания веб-интерфейса. Проект претерпевал много изменений, потому что реальность вносила коррективы: иногда у меня не хватало знаний, иногда изначальное решение просто нельзя было применить.


Читать: https://habr.com/ru/companies/yandex_praktikum/articles/763270/
1