from django.db import models
from django.core.validators import MaxValueValidator, MinValueValidator

# Create your models here.
class Movie(models.Model):
    movie_title = models.CharField(max_length=200)
    release_date = models.DateField()
    rating = models.IntegerField(default=5, validators=[MaxValueValidator(5), MinValueValidator(1)])
    poster_url = models.URLField()
    synopsis = models.TextField()
    cast = models.TextField()

44938b4c95b1738f730186c5091191c89c7cee7b
<mask token>

<mask token>


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

<mask token>


class Movie(models.Model):
    movie_title = models.CharField(max_length=200)
    release_date = models.DateField()
    rating = models.IntegerField(default=5, validators=[MaxValueValidator(5
        ), MinValueValidator(1)])
    poster_url = models.URLField()
    synopsis = models.TextField()
    cast = models.TextField()

from django.db import models
from django.core.validators import MaxValueValidator, MinValueValidator


class Movie(models.Model):
    movie_title = models.CharField(max_length=200)
    release_date = models.DateField()
    rating = models.IntegerField(default=5, validators=[MaxValueValidator(5
        ), MinValueValidator(1)])
    poster_url = models.URLField()
    synopsis = models.TextField()
    cast = models.TextField()

from django.db import models
from django.core.validators import MaxValueValidator, MinValueValidator

# Create your models here.
class Movie(models.Model):
    movie_title = models.CharField(max_length=200)
    release_date = models.DateField()
    rating = models.IntegerField(default=5, validators=[MaxValueValidator(5), MinValueValidator(1)])
    poster_url = models.URLField()
    synopsis = models.TextField()
    cast = models.TextField()
