Build a Multivendor E-commerce Website using Django, React & Django Rest Framework

Hey, You may WATCH PROJECT DEMO VIDEO BELOWhttps://youtu.be/aDHK2-d0_ls Let’s get began! Hey there fellow builders and entrepreneurs! 🚀 In in the present day’s tech-driven world, e-commerce is the place it is at! And if you happen to’re occupied with diving into the web purchasing recreation, you are in the proper place. We’re gonna present you […]

Multi-Role User Authentication in Django Rest Framework

Introduction: Person authentication is a basic side of many internet purposes. Django offers a strong authentication system out-of-the-box, however typically you might want to prolong it to help a number of consumer roles. On this submit, we’ll discover implement multi-role consumer authentication utilizing Django Relaxation Framework (DRF). Setting Up the Challenge: Let’s begin by creating […]

Getting started with Django Rest Framework

Photograph by Markus Spiske: https://www.pexels.com/photo/a-laptop-screen-with-text-4439901/ On this article, we’ll create a challenge that posts about rants utilizing Django and Django Relaxation Framework. We’ll use Django’s built-in slugify technique and override its save() technique to robotically create a slug for every rant. We’ll additionally use a third-party bundle known as drf-writable-nested to deal with the serialization […]

Entendendo o problema de N+1 query usando o Django

Sumário Introdução do que é o problema n+1 question Entendendo a situação problema em Django Criação da API com DRF Resolvendo usando o que o Django dispõe por padrão Entendendo o Django Digital Mannequin Referências Introdução do que é o problema n+1 question O problema N+1 question é um problema que ocorre quando existem determinadas […]

Configurando JWT en Django Rest Framework

Lo primero que tenemos que hacer es instalar simplejwt: pip set up djangorestframework-simplejwt Enter fullscreen mode Exit fullscreen mode en este caso yo lo tengo configurado junto a mi archivo necessities.txt: Django==4.0.0 django-cors-headers django-getenv djangorestframework==3.12.2 psycopg2-binary djangorestframework-simplejwt Enter fullscreen mode Exit fullscreen mode Una vez instalada la dependencia vamos a nuestro proyecto, y en urls.py […]