Data model draft

This commit is contained in:
Raphael Michel
2025-12-16 17:16:29 +01:00
committed by Raphael Michel
parent 65fe7b3396
commit 5767f15709
8 changed files with 451 additions and 114 deletions

View File

@@ -635,7 +635,7 @@ def user_index(request):
ctx = {
'widgets': rearrange(widgets),
'can_create_event': request.user.teams.filter(can_create_events=True).exists(),
'can_create_event': request.user.teams.with_organizer_permission("organizer:events.create").exists(),
'upcoming': widgets_for_event_qs(
request,
annotated_event_query(request, lazy=True).filter(