diff options
author | neodarz <neodarz@neodarz.net> | 2019-01-13 11:22:16 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-01-13 11:22:16 +0100 |
commit | f0b4712c897ee35f2d79cf0408f480c2c0bb41da (patch) | |
tree | d180494b88350861cfef3ecfddb655aca4363086 /database/models.py | |
parent | c01eb0e3220924c24aabc3ccd282f89f9ed9cb3e (diff) | |
download | khanindexer-f0b4712c897ee35f2d79cf0408f480c2c0bb41da.tar.xz khanindexer-f0b4712c897ee35f2d79cf0408f480c2c0bb41da.zip |
Save all crawled datas in database
Diffstat (limited to '')
-rw-r--r-- | database/models.py | 4 |
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 |