from django.db import models


class Project(models.Model):
    thumbnail = models.ImageField(upload_to='images/')
    name = models.CharField(max_length=200)
    summary = models.CharField(max_length=200)

    def __str__(self):
        return self.name


class ProjectPhoto(models.Model):
    image = models.ImageField(upload_to='images/')
    description = models.CharField(max_length=200)
    project = models.ForeignKey(Project, default=0, on_delete=models.
        SET_DEFAULT)

    def __str__(self):
        return self.description

795627eb4396d300341da12a6b3884e5beb62eaa
<mask token>


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


class ProjectPhoto(models.Model):
    image = models.ImageField(upload_to='images/')
    description = models.CharField(max_length=200)
    project = models.ForeignKey(Project, default=0, on_delete=models.
        SET_DEFAULT)

    def __str__(self):
        return self.description

<mask token>


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

    def __str__(self):
        return self.name


class ProjectPhoto(models.Model):
    image = models.ImageField(upload_to='images/')
    description = models.CharField(max_length=200)
    project = models.ForeignKey(Project, default=0, on_delete=models.
        SET_DEFAULT)

    def __str__(self):
        return self.description

<mask token>


class Project(models.Model):
    thumbnail = models.ImageField(upload_to='images/')
    name = models.CharField(max_length=200)
    summary = models.CharField(max_length=200)

    def __str__(self):
        return self.name


class ProjectPhoto(models.Model):
    image = models.ImageField(upload_to='images/')
    description = models.CharField(max_length=200)
    project = models.ForeignKey(Project, default=0, on_delete=models.
        SET_DEFAULT)

    def __str__(self):
        return self.description

from django.db import models


class Project(models.Model):
    thumbnail = models.ImageField(upload_to='images/')
    name = models.CharField(max_length=200)
    summary = models.CharField(max_length=200)

    def __str__(self):
        return self.name


class ProjectPhoto(models.Model):
    image = models.ImageField(upload_to='images/')
    description = models.CharField(max_length=200)
    project = models.ForeignKey(Project, default=0, on_delete=models.
        SET_DEFAULT)

    def __str__(self):
        return self.description
