From 88097531081c1bc0fdc62790d2c3941b560eb541 Mon Sep 17 00:00:00 2001 From: Bartuccio Antoine Date: Mon, 12 Aug 2019 23:38:37 +0200 Subject: [PATCH] documentation fix tests because of missing README.md --- core/management/commands/populate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/management/commands/populate.py b/core/management/commands/populate.py index caebd498..19ccf357 100644 --- a/core/management/commands/populate.py +++ b/core/management/commands/populate.py @@ -377,12 +377,12 @@ Welcome to the wiki page! """, ).save() - # Adding README + # Adding README (discuss if really necessary) p = Page(name="README") p.save(force_lock=True) p.view_groups = [settings.SITH_GROUP_PUBLIC_ID] p.save(force_lock=True) - with open(os.path.join(root_path) + "/README.md", "r") as rm: + with open(os.path.join(root_path) + "/README.rst", "r") as rm: PageRev(page=p, title="README", author=skia, content=rm.read()).save() # Subscription