Top "Django-rest-framework" questions

A powerful and flexible toolkit for building RESTful Web APIs.

Error: [ngModel:datefmt] Expected `2015-05-29T19:06:16.693209Z` to be a date - Angular

I'm working on angularapplication with Django with rest-framework.. The app receives it's info with json from the server.. One of …

javascript angularjs django django-rest-framework
Django Rest Framework with ChoiceField

I have a few fields in my user model that are choice fields and am trying to figure out how …

django django-rest-framework
Django Serializer Method Field

Can't seem to find the right google search for this so here it goes: I have a field in my …

python django django-rest-framework
Token Authentication for RESTful API: should the token be periodically changed?

I'm building a RESTful API with Django and django-rest-framework. As authentication mechanism we have chosen "Token Authentication" and I have …

django rest restful-authentication django-rest-framework
How do I create multiple model instances with Django Rest Framework?

I would like to save and update multiple instances using the Django Rest Framework with one API call. For example, …

django django-rest-framework
Django REST Framework upload image: "The submitted data was not a file"

I am leaning how to upload file in Django, and here I encounter a should-be-trivial problem, with the error: The …

python angularjs django django-rest-framework
Django Rest Framework: Dynamically return subset of fields

Problem As recommended in the blogpost Best Practices for Designing a Pragmatic RESTful API, I would like to add a …

django django-rest-framework
Django Rest Framework ImageField

I can not save the image in this ImageField. when sending data back: { "image": ["No file was submitted. Check the …

python django django-rest-framework
Django rest framework nested self-referential objects

I have model that looks like this: class Category(models.Model): parentCategory = models.ForeignKey('self', blank=True, null=True, related_…

django django-rest-framework
How to make a PATCH request using DJANGO REST framework

I am not very experience with Django REST framework and have been trying out many things but can not make …

django django-rest-framework