Commit fd248098 authored by Guinness's avatar Guinness Committed by okhin

Fix the data import and the fixture

parent bea08e7c
......@@ -63,7 +63,7 @@ class Command(BaseCommand):
# Fetch the article, or creates it
article = Article.add_new_url(url=item['url'])
if item['lang'] != "":
article.lang = item['lang']
article.lang = item['lang'].upper()
article.published_at = item['date_publi']
article.title = item['title']
......
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
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