Basic syntax errors. I swear I'm a professional.
This commit is contained in:
parent
08d1b39b25
commit
a9523876ac
|
@ -2,7 +2,7 @@ from django.db import models
|
|||
|
||||
# Create your models here.
|
||||
|
||||
class Page(models.Model)
|
||||
class Page(models.Model):
|
||||
url=models.CharField(max_length=500)
|
||||
title=models.CharField(max_length=100)
|
||||
contents=models.TextField()
|
||||
|
|
Loading…
Reference in New Issue
Block a user