feat: update versions for python packages, add Pages functionality (#1386)

This PR updates Django core version and also brings html pages support (that admins can create)
This commit is contained in:
Markos Gogoulos
2025-09-21 15:38:43 +03:00
committed by GitHub
parent cbef629baf
commit 208f0b338b
209 changed files with 7399 additions and 14 deletions

View File

@@ -429,6 +429,9 @@ def user_allowed_to_upload(request):
def can_transcribe_video(user):
"""Checks if a user can transcribe a video."""
if not getattr(settings, 'USE_WHISPER_TRANSCRIBE', False):
return False
if is_mediacms_editor(user):
return True
if getattr(settings, 'USER_CAN_TRANSCRIBE_VIDEO', False):