fix: version static assets on test deployment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user