Django Unleashed Framework
1.42K subscribers
2.2K photos
1 video
2.64K links
Лучшие материалы по разработке на фреймворке Django на русском и английском языке

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

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

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

Другие наши проекты: https://tprg.ru/media
Download Telegram
Django News - Python in the Browser - May 6th 2022

Read: https://django-news.com/issues/126
Multiple File Upload With One Request In Django Rest Framework

Most times, we might want to upload multiple files to our server in a single request. In this tutorial I'll be uploading multiple files and then returning the image URL as response. I assume we already know how to install and setup django, django re...

Read: https://budescode.hashnode.dev/multiple-file-upload-with-one-request-in-django-rest-framework
👍2
How to auto generate Rest API Docs in Django Rest Framework with Open API schema for your Rest API?

Let's directly jump into the steps without wasting any time.

Open your root urls.py and paste this code at the end of your urls.py file -

from rest_framework.documentation import include_docs_urls

urlpatterns.extend([
# For autogenerated API d...

Read: https://blog.devjunction.in/how-to-auto-generate-rest-api-docs-in-django-rest-framework-with-open-api-schema-for-your-rest-api
Electron + Django, package it to production

1. Introduction & POC
How do we package the electron app with django? you may be more eager to know the answer if you have completed reading "Electron + Django, desktop app integrate JavaScript & Python".
In this blog, I would like to explain the pa...

Read: https://ivanyu2021.hashnode.dev/electron-django-package-it-to-production
Electron + Django ( Part 2 ), package it to production

1. Introduction & POC
How do we package the electron app with django? you may be more eager to know the answer if you have completed reading "Electron + Django ( Part 1 ), desktop app integrate JavaScript & Python".
In this blog, I would like to exp...

Read: https://ivanyu2021.hashnode.dev/electron-django-part-2-package-it-to-production
👍1
Managing Multiple User Types With Django And Django Rest Framework

When creating a Django program you might want to have different users with varied permissions and features accessible to them. I've seen that this is a typical difficulty that many developers face in the early phases of development, therefore I've de...

Read: https://lyrx.hashnode.dev/managing-multiple-user-types-with-django-and-django-rest-framework
Google SSO Integration with Django

Hi ,
Nowadays Instead of custom authentication everybody is using the SSO . Instead of maintaining the passwords and user information we are depending on the trusted companies like Google , OKTA... etc. In the same way I migrated project to remove th...

Read: https://venkatesh.hashnode.dev/google-sso-integration-with-django
How to set up environment variables in Django?

Django does not come with built-in support for dot env(.env) files. But we have an amazing Python package for that.

Let’s first install this package in our Django project’s virtual environment.

pip install python-dotenv


The next step is to create...

Read: https://blog.devjunction.in/set-up-environment-variables-in-django
How To Implement A Recently Viewed Feature In Your Django Web App

Introduction
Often when we build web applications, we want to keep a record of the items our web app users recently viewed. Our web app could be a Blog where we want to keep a record of the post a user( Authenticated or Anonymous User ) recently view...

Read: https://dracodes.hashnode.dev/how-to-implement-a-recently-viewed-feature-in-your-django-web-app
How To Implement A Recently Viewed Feature In Your Django Web App

Introduction
Often when we build web applications, we want to keep a record of the items our web app users recently viewed. Our web app could be a Blog where we want to keep a record of the post a user ( Authenticated or Anonymous User ) recently vie...

Read: https://dracodes.com/how-to-implement-a-recently-viewed-feature-in-your-django-web-app
How to create Rest API without Django Rest Framework in pure Django?

Introduction:
Can we build APIs, without DRF (Django Rest Framework) 🤔 ?
DRF is to make things easy and comes with a lot of extra functionality which we don't even use sometimes.
If your goal is to just send some JSON data from your View response, ...

Read: https://blog.devjunction.in/how-to-create-rest-api-without-django-rest-framework-in-pure-django
Building Modern Websites Using Django

Django
Django is a Python-based web framework. A Web framework is a software that allows for the creation of dynamic Web sites, applications, and services. It includes tools and functions that address many typical Web development issues, such as sec...

Read: https://sarahthedeveloper.hashnode.dev/building-modern-websites-using-django
Step-By-Step To Create A Simple Django project

Overview
Django is a free, open-source Python web framework that encourages rapid development and clean, pragmatic design.
In this blog I am going to introduce a step-by-step tutorial of a simple Django project using Python programming language.


Se...

Read: https://dialabk.hashnode.dev/step-by-step-to-create-a-simple-django-project
Running a Django app natively on Windows (for development)

At work we use Windows 10 Ent edition and have a Django 2.2 website that is run on the developers' localhost via VirtualBox with Ubuntu 20.04 since the beginning. It was good but one had to constantly do sys-admin for the Ubuntu VM. That wasn't a big...

Read: https://anjanesh.dev/running-a-django-app-natively-on-windows-for-development
A CS50web series: Where did I stuck? How did I solve?

Hi again. Last week I wrote my first blog post which was about cs50's web development course's "Search" project. Now it is time to move on and write my second article about this course. During the last week I have been watching the other lessons and ...

Read: https://osmanozdemir.hashnode.dev/a-cs50web-series-where-did-i-stuck-how-did-i-solve-1
Запустить принудительно остановленный Docker контейнер можно с помощью…
Anonymous Poll
30%
docker start
21%
docker restart
13%
docker exec
37%
docker run
How to Avoid Race Condition in Django

Overview
In this article, you are going to learn how to build Django application that is devoid of race condition so as to provide real and accurate data.
Imagine you are building a like system or voting system for a website or API and the value of t...

Read: https://bovage.hashnode.dev/how-to-avoid-race-condition-in-django
Django News - DjangoCon US/Europe Call for Proposals - May 13th 2022

Read: https://django-news.com/issues/127
Django News - DjangoCon US/Europe Call for Proposals - May 13th 2022

Read: https://django-news.com/issues/127
How to revert migrations in Django?

Introduction:
Sometimes we run a migration that make changes in our database, but we want to revert it and delete the migration, without creating a new migration.
Well, in that case, there is a small trick that you can use to revert your migration sa...

Read: https://blog.devjunction.in/revert-migrations-in-django
👍2