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'),
> ...
> )
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