Verified Commit 7edff35b authored by Guinness's avatar Guinness
Browse files

Fix the data import and the fixture

parent 6b5e39e3
Pipeline #2573 failed with stages
in 45 seconds
......@@ -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.
Supports Markdown
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