Re: ModelSerializer doesn't hit update method

2016-11-29 Thread Xavier Ordoquy
Hi > Le 30 nov. 2016 à 05:04, Ashutosh Das a écrit : > > Here is my model: > > class Movie(models.Model): > name = models.CharField(max_length=800, unique=True) > imdb_rating = models.IntegerField(null=True) > movie_choice = ( > ('Act', 'Action'), > ... > )

ModelSerializer doesn't hit update method

2016-11-29 Thread Ashutosh Das
Here is my model: class Movie(models.Model): name = models.CharField(max_length=800, unique=True) imdb_rating = models.IntegerField(null=True) movie_choice = ( ('Act', 'Action'), ... ) movie_type = models.CharField(max_length=3, choices=movie_choice) c