This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
class SimpsonsData(models.Model):
|
||||
season = models.IntegerField()
|
||||
episode = models.IntegerField()
|
||||
url = models.CharField(max_length=100)
|
||||
seen = models.BooleanField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'simpsons'
|
||||
Reference in New Issue
Block a user