from django.db import models

class Mini(models.Model):
    name = models.CharField(max_length=200)
    image_url = models.CharField(max_length=600)
    tags = models.ManyToManyField('Tags', blank=True)
    url = models.CharField(max_length=200)

    def __str__(self):
        return self.name

class Tags(models.Model):
    tag = models.CharField(max_length=200)

    def __str__(self):
        return self.tag