Sujata RoychowdhuryProlearntogrow.hashnode.dev·Sep 20, 2023Django Rest Framework: Building APIs with EaseDjango is a popular web framework for building web applications. It provides a lot of built-in features and tools that make web development faster and easier. One of those features is the Django Rest Framework (DRF), which provides a set of tools and...DiscussWeb Development
Joshua Olumoyintitobzzz.hashnode.dev·Aug 14, 2023How to Build an API using Django REST Framework with Ease #1This article is part of a series that is focused on helping beginners master the Django Rest framework and become efficient at writing REST APIs. Prerequisite: This article is beginner-friendly, and to understand it well, you should have: basic und...Discuss·45 readsdrf
Sanjay Sikdarread.sanjaysikdar.dev·Aug 10, 2023React + Django Rest Framework (DRF) - Multiple File UploadToday, I'm sharing a straightforward method for uploading files from React to the Django Rest Framework. Demo Video: In this demonstration video, I will showcase a simple method for uploading files from React to the Django Rest Framework. https://you...Discuss·126 readsReact
Prakash Tajpuriyaprakash0091.hashnode.dev·Jun 10, 2023Standardizing Error Messages in Django Rest Framework and JSON RendererIntroduction: Error messages play a critical role in enhancing user experience and troubleshooting in web applications. Django Rest Framework (DRF) and JSON Renderer provide powerful tools for building robust APIs in Django. However, the default erro...Discuss·36 readserror handling
Odulaja Philip Temitayophilipodulaja.hashnode.dev·Apr 7, 2023Generating Django rest framework API Documentation using drf-yasg libraryIntroduction In this article, I would be building an application within a School Management System project with Django rest Framework Our major objective is to create a few endpoints and generate Documentation for the users of our API What is a Docum...Discuss·3 likes·468 readsPython
Govinda Jamkateliamgovinda.hashnode.dev·Mar 4, 2023Model Serializer vs Dynamic Fields Model Serializer in DRFThe Django REST Framework (DRF) uses the serializers ModelSerializer and DynamicFieldsModelSerializer to serialize and deserialize Django model instances. ModelSerializer is a serializer that creates fields on the fly using the model's defined fields...Discuss·10 likes·190 readsdrf
Jack LinkeforJack Linke's TILtil.jacklinke.com·Jan 14, 2023Using htmx and Server-side DataTables.net together in a Django ProjectBackground I really enjoy using htmx alongside Django, and try to help others when they're learning to combine these two tools. I often see questions online asking about how to combine htmx with DataTables (aka DataTables.net). Honestly, this threw m...Discuss·1.2K readsDjango
Evan Ottingerotty.hashnode.dev·Nov 10, 2022Authenticating Background Tasks with Django Rest Framework SimpleJWTSituation You have an API built with Django Rest Framework You are using SimpleJWT as your authentication backend You have integrated Celery with your Django application and are using it to run background tasks Some of your tasks need to make authen...Discuss·366 readsPython
Forhad Ahmed Khanforhadakhan.hashnode.dev·Nov 5, 2022Automatically Add Logged In User Under 'created_by' and 'updated_by' in Django Rest FrameworkIn some application, we need to track which user added or updated the data in the system. So here we will see how to do this job in the background without any user input. Required setup: I hope you already have Django and the Django Rest Framework i...Discuss·1 like·161 readsPython 3
Sagar Yadavblog.sagaryadav.dev·Oct 30, 2022Redis Caching in Django Rest Framework, Complete GuideWe will implement Redis caching in Django Rest Framework properly this time. Project Setup I'm using Docker to start a Redis database server. docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest Start a Django proj...Discuss·1.4K readsRedis