mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Sync pages with club unix_name
This commit is contained in:
@ -85,6 +85,12 @@ class Command(BaseCommand):
|
||||
profiles_root.save()
|
||||
home_root = SithFile(parent=None, name="users", is_folder=True, owner=root)
|
||||
home_root.save()
|
||||
|
||||
# Page needed for club creation
|
||||
p = Page(name=settings.SITH_CLUB_ROOT_PAGE)
|
||||
p.set_lock(root)
|
||||
p.save()
|
||||
|
||||
club_root = SithFile(parent=None, name="clubs", is_folder=True, owner=root)
|
||||
club_root.save()
|
||||
SithFile(parent=None, name="SAS", is_folder=True, owner=root).save()
|
||||
@ -147,10 +153,6 @@ Welcome to the wiki page!
|
||||
p.set_lock(root)
|
||||
PageRev(page=p, title="Laverie", author=root, content="Fonctionnement de la laverie").save()
|
||||
|
||||
p = Page(name=settings.SITH_CLUB_ROOT_PAGE)
|
||||
p.set_lock(root)
|
||||
p.save()
|
||||
|
||||
# Here we add a lot of test datas, that are not necessary for the Sith, but that provide a basic development environment
|
||||
if not options['prod']:
|
||||
# Adding user Skia
|
||||
|
Reference in New Issue
Block a user