create reservation models

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

View File

@ -788,7 +788,16 @@ class Command(BaseCommand):
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(