from django.db import models

# Create your models here.
class Suggestion(models.Model):
    suggestion = models.CharField(max_length = 200)
    type = models.CharField(max_length = 200)

def addtodatabase(suggestions, type):
    for suggestion in suggestions:
        s = Suggestion()
        s.suggestion = suggestion
        s.type = type
        s.save()


1642071a8602101bb31cc54df0faed42b1795865
<mask token>


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


<mask token>

<mask token>


class Suggestion(models.Model):
    suggestion = models.CharField(max_length=200)
    type = models.CharField(max_length=200)


<mask token>

<mask token>


class Suggestion(models.Model):
    suggestion = models.CharField(max_length=200)
    type = models.CharField(max_length=200)


def addtodatabase(suggestions, type):
    for suggestion in suggestions:
        s = Suggestion()
        s.suggestion = suggestion
        s.type = type
        s.save()

from django.db import models


class Suggestion(models.Model):
    suggestion = models.CharField(max_length=200)
    type = models.CharField(max_length=200)


def addtodatabase(suggestions, type):
    for suggestion in suggestions:
        s = Suggestion()
        s.suggestion = suggestion
        s.type = type
        s.save()

from django.db import models

# Create your models here.
class Suggestion(models.Model):
    suggestion = models.CharField(max_length = 200)
    type = models.CharField(max_length = 200)

def addtodatabase(suggestions, type):
    for suggestion in suggestions:
        s = Suggestion()
        s.suggestion = suggestion
        s.type = type
        s.save()

