排序
How to enable CORS on Django REST Framework
How to enable CORS on Django REST Framework,When we develop rest api and want to consume form different website we have to enable cors. In this tutorial i will show you how to enab...
Django Rest Framework Tips and Tricks
Django Rest Framework Tips and Tricks, Original Post in https://skamalakannan.dev/posts/django-rest-framework-tips/ Django Rest Framework is a powerful tool for creating API, and i...
How to implement Django Search Field and Tags)keywords.
How to implement Django Search Field and Tags)keywords., How to implement Django Search Field and Tags)keywords using Django Rest Framework Django Search using Django Rest Framewor...
Filter data in Django Rest Framework
Filter data in Django Rest Framework, 1. Basic setup Install the django-filter using pip, pip install django-filter Enter fullscreen mode Exit fullscreen mode Then add django_filte...
How to create multiple independent admin sites in Django
How to create multiple independent admin sites in Django,Django framework comes with a powerful part called the admin interface. The admin reads metadata from your models to provid...
Django for APIs Notes – Part IV
Django for APIs Notes - Part IV, Django For APIs Notes Series (4 Part Series) 1 Django for APIs Notes - Part I 2 Django For APIs Notes- Part II 3 Django For APIs Notes - Part III 4...
Django For APIs Notes – Part III
Django For APIs Notes - Part III, Django For APIs Notes Series (4 Part Series) 1 Django for APIs Notes - Part I 2 Django For APIs Notes- Part II 3 Django For APIs Notes - Part III ...
Working with Django Rest Framework(DRF).
Working with Django Rest Framework(DRF).,The first step is to install Django Rest-Framework and then create a new apis app. The source code is available on my Github. All of our AP...
Using Different Read and Write Serializers in Django REST Framework
Using Different Read and Write Serializers in Django REST Framework,Versions: Python 3.7 Django 2.2 Django REST Framework 3.10 On a recent project, we needed to use different seria...
Why we’re writing a Django book specifically for portfolio projects and MVPs
Why we’re writing a Django book specifically for portfolio projects and MVPs,TLDR: The hardest part of building web applications is rarely using the framework itself or even the ...
Adding validation support for Json in Django Models
Adding validation support for Json in Django Models, The contents of this post have now been moved to my blog and can be viewed here 原文链接:Adding validation support for Json in...
Managing RESTful URLs in Django Rest Framework
Managing RESTful URLs in Django Rest Framework,We've all been taught about RESTful API design. It does not take much to realize that these endpoints POST /products/1/delete POST /p...