mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-13 13:29:23 +00:00
create reservation models
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user