Commit 81fda458 authored by Mario Chirinos's avatar Mario Chirinos

bulk upload

parent 7bbd803e
......@@ -116,7 +116,7 @@ class Command(BaseCommand):
# news.topic.add(topic)
topicstr = [d['topic']]
news.topic_raw = json.domps(topicst)
news.topic_raw = json.dumps(topicst)
# news.save()
objectsList.append(news)
batch_size = 100
......
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