deprecated all old vue stuff and working on tests

This commit is contained in:
vabene1111
2022-06-07 20:08:32 +02:00
parent 37f0f7a0b7
commit e368488933
22 changed files with 1803 additions and 12510 deletions

View File

@ -14,6 +14,12 @@ class ScopeMiddleware:
def __call__(self, request):
prefix = settings.JS_REVERSE_SCRIPT_PREFIX or ''
# need to disable scopes for writing requests into userpref and enable for loading ?
# if request.path.startswith(prefix + '/api/user-preference/'):
# with scopes_disabled():
# return self.get_response(request)
if request.user.is_authenticated:
if request.path.startswith(prefix + '/admin/'):