Govinda JamkatelforGovinda's Blogiamgovinda.hashnode.net·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 likesdrf
Odulaja Philip TemitayoforPhilip's Blogphilipodulaja.hashnode.net·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·2 likes·123 readsPython
Forhad Ahmed KhanforFORHAD KHANforhadakhan.hashnode.net·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·100 readsPython 3
Odulaja Philip TemitayoforPhilip's Blogphilipodulaja.hashnode.net·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·2 likes·123 readsPython
Govinda JamkatelforGovinda's Blogiamgovinda.hashnode.net·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 likesdrf
Jack LinkeforJack Linke's TILjacklinke-1666476519144.hashnode.net·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·278 readsDjango
Evan OttingerforOttinger Digital Labsotty.hashnode.net·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·189 readsPython
Forhad Ahmed KhanforFORHAD KHANforhadakhan.hashnode.net·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·100 readsPython 3
Sagar YadavforSagar Yadav's Blogsagaryadav17.hashnode.net·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·487 readsRedis