Django Unleashed Framework
1.45K subscribers
2.18K photos
2.6K links
Лучшие материалы по разработке на фреймворке Django на русском и английском языке

Разместить рекламу: @tproger_sales_bot

Правила общения: https://tprg.ru/rules

Другие каналы: @tproger_channels

Другие наши проекты: https://tprg.ru/media
Download Telegram
Beginner to hired in 12 months

In the late quarter of 2022, I received a mail asking for my application for an internship position(paid in dollars), I wasn’t surprised because I expected it, I felt it even took too long 😄 😄, this sense of confidence came because I knew I had put...

Read: https://osahenru.hashnode.dev/beginner-to-hired-in-12-months
What are the web development frameworks for python?

Introduction
The most popular Python web development frameworks are Django, Flask, and Pyramid.
Django is the most popular Python web development framework. It is a powerful, full-featured framework that allows developers to quickly and easily create...

Read: https://sense.hashnode.dev/what-are-the-web-development-frameworks-for-python
Building Course Assist: Part 1

Course Assist as a whole consists of 3 parts, 2 mobile apps (a user app and an expert app kind of the way uber has a main app and a driver) and a backend which is all the server-side code and database. It's been about 3 months since I last ran any of...

Read: https://andysonm.hashnode.dev/building-course-assist-part-1
Structuring a Scalable Django Project for Serving Deep Learning Models: An Organized Approach

Organizing a Django project that serves multiple deep learning models can be a challenging task, but with a well-structured file hierarchy, it can be made much easier to understand and maintain. In this article, we will discuss one approach that invo...

Read: https://blog.jumashafara.com/structuring-a-scalable-django-project-for-serving-deep-learning-models-an-organized-approach
Difficulties I faced while working on project using Django

Not so quick Intro
Hey everyone, myself Ridham Khandar I am a second-year Computer Engineering student. I am going to talk about my experience working and using Django as the backend of my project.
Projects!! Hackathons!! Networking!! Open-Source!! I...

Read: https://ridhams.hashnode.dev/difficulties-i-faced-while-working-on-project-using-django
👍1
Django Todo App

Create Django Project

django-admin startproject todoproject


Create Django App

First, cd into todoproject then create django app



python manage.py todoapp


Create urls.py file in todoapp .

Your file structure should look like this.

Open todop...

Read: https://dhruvblogs.xyz/django-todo-app
When django, nextjs and Laravel failed me...

The Problem
A few months ago, I was tasked to update a few blogs on my school's website. The previous one was in WordPress, and it was taunting to figure out how-to stuff within WordPress due to the fact it was full of add-ons or plugins, whatever 😒...

Read: https://fyi.birnadine.guru/when-django-nextjs-and-laravel-failed-me
Django displays multiple ways of visual charts

Introduction to Django and Charts
Django is a powerful, open-source web framework that allows developers to create and deploy web applications quickly and easily. It is based on the popular Python programming language and includes a wide range of fea...

Read: https://sense.hashnode.dev/django-displays-multiple-ways-of-visual-charts
Understanding the Different Types of Django Model Fields

Django models are used to represent the data in a database and are defined as Python classes. Each field in a model represents a column in the corresponding database table.
The following is a list of the most commonly used fields in Django models, al...

Read: https://nileshdarji.hashnode.dev/understanding-the-different-types-of-django-model-fields
Getting Started with Django

Django is one of Python's popular web frameworks which is used for backend web development and for building and consuming APIs (application programming interfaces).
To get started with the Django framework, we would have to create a virtual environme...

Read: https://thecodingprocess.hashnode.dev/getting-started-with-django
Starting a Django Application

After we have created a Django Skeleton Project, we can go ahead to create an application for our project.
In the project folder containing manage.py file, we would enter python manage.py startapp <appon the terminal. If we want our Django app...

Read: https://thecodingprocess.hashnode.dev/starting-a-django-application
React+Django как написать Hello World

Создание веб приложения на основе React и Django, с базой данных на postgress, небольшое прощупывание RabbitMQ и чуть-чуть nginx, потом объясню зачем. Ах да! Завернём все в контейнеры и заставим подниматься в три команды!


Читать: https://habr.com/ru/post/713490/
HOST DJANGO WEBSITES FOR FREE IN LESS THAN 5 min.

Learn How to host a Django website in less than 5 min here.
In this blog, I will be using python anywhere as our cloud hosting platform.
Now, what you need is just to follow this blog till the end.You can also watch my video for doing the same.
Note ...

Read: https://mayankaggarwal.hashnode.dev/host-django-websites-for-free-in-less-than-5-min
👎1
Python Дайджест: как обновиться с Python 3.4 до Python 3.11, если pip уже сломан

Python Дайджест собирает IT-новости уже 9 лет, рассказывает о концепциях, проектах, релизах. Кодовая база за это время мало изменилась и уже деградировала. Более 5 лет не хватало сил и времени, чтобы привести проект в актуальное состояние. Django с 1.9 обновилась уже до 4.1 версии, Python 3.4 не актуален, да даже обновить пакет через pip не получается, потому что сломан.
В 4 частях расскажу от первого лица, как 9-летний проект из состояния outdated вернулся в actual состояние и снова набрал 100 баллов в PageSpeed.
Начну с обновления до актуального Python и Django.


Читать: https://habr.com/ru/post/709068/
Django Unleashed Framework
Photo
Django security releases issued: 4.1.6, 4.0.9, and 3.2.17

In accordance with our security release policy, the Django team
is issuing Django 4.1.6, Django 4.0.9, and Django 3.2.17.
These releases addresses the security issue detailed below. We encourage all
users of Django to upgrade as soon as possible.
CVE-2023-23969: Potential denial-of-service via Accept-Language headers

The parsed values of Accept-Language headers are cached in order to avoid
repetitive parsing. This leads to a potential denial-of-service vector via
excessive memory usage if large header values are sent.

In order to avoid this vulnerability, the Accept-Language header is now
parsed up to a maximum length.

Thanks to Nick Pope for the report and patch.

This issue has severity "moderate" according to the Django security policy.
Affected supported versions

* Django main branch
* Django 4.2 (currently at pre-release alpha status)
* Django 4.1
* Django 4.0
* Django 3.2
Resolution

Patches to resolve the issue have been applied to Django's main branch and the
4.2, 4.1, 4.0, and 3.2 release branches. The patches may be obtained from the
following changesets:

* On the main branch
* On the 4.2 release branch
* On the 4.1 release branch
* On the 4.0 release branch
* On the 3.2 release branch

The following releases have been issued:

* Django 4.1.6 (download Django 4.1.6 | 4.1.6 checksums)
* Django 4.0.9 (download Django 4.0.9 | 4.0.9 checksums)
* Django 3.2.17 (download Django 3.2.17 | 3.2.17 checksums)

The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
General notes regarding security reporting

As always, we ask that potential security issues be reported via
private email to [email protected], and not via Django's
Trac instance or the django-developers list. Please see our security
policies
for further
information.

Read: https://www.djangoproject.com/weblog/2023/feb/01/security-releases/
Creating a Registration Form with Email Verification in Django

Creating a Superuser
After creating our Django project and an application, we could implement a form for creating users from our browser. First, we would have to create a superuser (that is, a user with admin status) on our terminal to monitor the pr...

Read: https://thecodingprocess.hashnode.dev/creating-a-registration-form-with-email-verification-in-django
Pipenv: Why you should use it as a Python Developer

Pipenv is a tool that aims to bring the best of all packaging worlds to the Python world. It harnesses Pipfile, pip, and virtualenv into one single command. It automatically creates and manages a virtual environment for your projects, as well as adds...

Read: https://akolade.hashnode.dev/pipenv-why-you-should-use-it-as-a-python-developer
10 Tips to Optimize PostgreSQL Queries in Your Django Project

This article showcases optimization techniques that had great results at GitGuardian. You’ll find basic and advanced optimization techniques using Django and PostgreSQL, yet most of the principles we discuss are general enough to be applied to other ...

Read: https://gitguardian.hashnode.dev/10-tips-to-optimize-postgresql-queries-in-your-django-project
Getting user input from an HTML form in Django

Django is a high-level Python web framework that enables the rapid development of secure and scalable web applications. One of the most common tasks in web development is collecting user input through forms. In this blog, we will go through the proce...

Read: https://shamnadsherief.tech/getting-user-input-from-an-html-form-in-django