from django.db import models
RATING = [(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)]


class Movie(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=100)
    time_created = models.DateTimeField(auto_now_add=True)
    rating = models.IntegerField(default=0, choices=RATING)

9f5b73280c0ac227b3f42e7ab43102e5dc4a789f
<mask token>


class Movie(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Movie(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=100)
    time_created = models.DateTimeField(auto_now_add=True)
    rating = models.IntegerField(default=0, choices=RATING)

<mask token>
RATING = [(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)]


class Movie(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=100)
    time_created = models.DateTimeField(auto_now_add=True)
    rating = models.IntegerField(default=0, choices=RATING)

from django.db import models
RATING = [(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)]


class Movie(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=100)
    time_created = models.DateTimeField(auto_now_add=True)
    rating = models.IntegerField(default=0, choices=RATING)
