fix: version static assets on test deployment

This commit is contained in:
Md Bayazid Bostame
2026-03-30 12:51:21 +02:00
parent 97c1cad3ef
commit 34b5e98b66
4 changed files with 11 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
from .branding import get_branding_context, get_trial_context
from django.conf import settings
from .models import UserNotification
from .roles import template_role_context
@@ -18,4 +19,5 @@ def role_context(request):
)
else:
context.update({'header_notifications': [], 'header_unread_notification_count': 0})
context.update({'static_asset_version': settings.STATIC_ASSET_VERSION})
return context