Verified Commit 88097531 authored by Sli's avatar Sli
Browse files

documentation fix tests because of missing README.md

parent 4428a2e8
......@@ -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
......
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