Commit f57784c3 authored by Mario Chirinos's avatar Mario Chirinos

bulk upload

parent 7dbf4a3f
......@@ -119,7 +119,7 @@ class Command(BaseCommand):
if len(json.dumps(topicstr)) >= 1024:
print(topicstr)
news.topic_raw = json.dumps(topicstr[:4])
else
else:
news.topic_raw = json.dumps(topicstr)
# news.save()
objectsList.append(news)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment