About 166,000 results
Open links in new tab
  1. What is the difference between Django and Django Rest Framework?

    Now, Django vs Django Rest Framework. You can use Django alone to make REST APIs, but you have to write more code and do more design like one of the comment above showing in the …

  2. Django REST Framework custom fields validation - Stack Overflow

    But django rest framework announcement says here that, if someone wants to validate rest-call in model .clean method, he/she should override the serializer validate method and need to call …

  3. serialization - Django rest framework, use different serializers in …

    Django rest framework, use different serializers in the same ModelViewSet Asked 11 years, 8 months ago Modified 1 year, 10 months ago Viewed 184k times

  4. Django Rest Framework - Authentication credentials were not …

    I'm developing an API using Django Rest Framework. I'm trying to list or create an "Order" object, but when i'm trying to access the console gives me this error: {"detail": "Authentication credent...

  5. python - Django Rest Framework partial update - Stack Overflow

    I'm trying to implement partial_update with Django Rest Framework but I need some clarification because I'm stuck. Why do we need to specify partial=True? In my understanding, we could …

  6. Django: TemplateDoesNotExist (rest_framework/api.html)

    django django-views django-rest-framework edited Dec 17, 2022 at 4:57 starball ♦ 59.5k 52 312 1k

  7. How can I enable CORS on Django REST Framework - Stack Overflow

    How can I enable CORS on my Django REST Framework? the reference doesn't help much, it says that I can do by a middleware, but how can I do that?

  8. Logout Django Rest Framework JWT - Stack Overflow

    django django-rest-framework jwt session-state django-rest-framework-jwt edited Sep 25, 2019 at 8:53 Olivier Pons 15.9k 27 123 224

  9. how to add token auth to swagger + django rest framework?

    I am using both great tools DRF and Django-REST-Swagger, however a few of my API views are under token authentication. So now I'd like to add to my swagger doc page of my API the …

  10. CSRF Failed: CSRF token missing or incorrect - Stack Overflow

    Django REST Framework enforces this, only for SessionAuthentication, so you must pass the CSRF token in the X-CSRFToken header. The Django documentation provides more …