aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-01-13 11:22:16 +0100
committerneodarz <neodarz@neodarz.net>2019-01-13 11:22:16 +0100
commitf0b4712c897ee35f2d79cf0408f480c2c0bb41da (patch)
treed180494b88350861cfef3ecfddb655aca4363086 /database
parentc01eb0e3220924c24aabc3ccd282f89f9ed9cb3e (diff)
downloadkhanindexer-f0b4712c897ee35f2d79cf0408f480c2c0bb41da.tar.xz
khanindexer-f0b4712c897ee35f2d79cf0408f480c2c0bb41da.zip
Save all crawled datas in database
Diffstat (limited to 'database')
-rw-r--r--database/models.py4
1 files changed, 2 insertions, 2 deletions
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