create reservation models

This commit is contained in:
Thomas Girod
2025-04-13 15:09:42 +02:00
committed by imperosol
parent 4f5a69c353
commit 691d956c0e
10 changed files with 286 additions and 1 deletions

View File

@@ -812,7 +812,16 @@ Welcome to the wiki page!
subscribers = Group.objects.create(name="Subscribers")
subscribers.permissions.add(
*list(perms.filter(codename__in=["add_news", "add_uvcomment"]))
*list(
perms.filter(
codename__in=[
"add_news",
"add_uvcomment",
"add_reservationslot",
"view_reservationslot",
]
)
)
)
old_subscribers = Group.objects.create(name="Old subscribers")
old_subscribers.permissions.add(