From f0b4712c897ee35f2d79cf0408f480c2c0bb41da Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 13 Jan 2019 11:22:16 +0100 Subject: Save all crawled datas in database --- database/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'database/models.py') diff --git a/database/models.py b/database/models.py index 4b27806..c731a08 100644 --- a/database/models.py +++ b/database/models.py @@ -10,8 +10,8 @@ class Page(Model): Page of a website """ url = CharField() - title = CharField() - content = CharField() + title = CharField(null=True) + content = CharField(null=True) class Meta: database = db -- cgit v1.2.1