Overwrite document on re-index, update website last_modified on task complete, delete website files on index complete

This commit is contained in:
Simon
2018-06-19 11:24:28 -04:00
parent 8486555426
commit e54609972c
5 changed files with 59 additions and 4 deletions

View File

@@ -3,9 +3,9 @@ import json
payload = json.dumps({
"website_id": 123,
"url": "ftp://132.249.213.137",
# "url": "http://localhost:8000/",
"website_id": 3,
# "url": "ftp://132.249.213.137",
"url": "http://localhost:8000/",
# "url": "http://ubuntu.mirrorservice.org/",
"priority": 2,
"callback_type": "",