create reservation models

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

View File

@ -789,7 +789,16 @@ class Command(BaseCommand):
subscribers = Group.objects.create(name="Cotisants")
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="Anciens cotisants")
old_subscribers.permissions.add(