django-smartbase-admin 1.0.17__py3-none-any.whl → 1.0.18__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ from collections import defaultdict
4
4
  from collections.abc import Iterable
5
5
  from typing import Any, TYPE_CHECKING
6
6
 
7
+ from django.conf import settings
7
8
  from django.contrib import messages
8
9
  from django.contrib.admin.actions import delete_selected
9
10
  from django.core.exceptions import PermissionDenied
@@ -11,7 +12,6 @@ from django.db.models import F
11
12
  from django.http import HttpResponse, Http404, JsonResponse
12
13
  from django.shortcuts import redirect
13
14
  from django.template.response import TemplateResponse
14
- from django.templatetags.static import static
15
15
  from django.urls import reverse
16
16
  from django.utils.translation import gettext_lazy as _
17
17
 
@@ -244,7 +244,7 @@ class SBAdminBaseView(object):
244
244
  "TABLE_UPDATE_ROW_DATA_EVENT_NAME": TABLE_UPDATE_ROW_DATA_EVENT_NAME,
245
245
  "SELECT_ALL_KEYWORD": SELECT_ALL_KEYWORD,
246
246
  "SUPPORTED_FILE_TYPE_ICONS": SUPPORTED_FILE_TYPE_ICONS,
247
- "STATIC_BASE_PATH": static("sb_admin"),
247
+ "STATIC_BASE_PATH": f"{settings.STATIC_URL}sb_admin",
248
248
  }
249
249
  ),
250
250
  **self.get_color_scheme_context(request),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-smartbase-admin
3
- Version: 1.0.17
3
+ Version: 1.0.18
4
4
  Summary:
5
5
  Home-page: https://smartbase-sk.github.io/django-smartbase-admin-docs/
6
6
  License: MIT
@@ -10,7 +10,7 @@ django_smartbase_admin/apps.py,sha256=C1wT1YUEZNKcUJfpD01nIZEFgYEsuav52WFKvEURRD
10
10
  django_smartbase_admin/compilemessages.py,sha256=-_FEFQlOvE4L8UzSuUxSxZQjgGlwL9IZtmg59fW_kIQ,342
11
11
  django_smartbase_admin/engine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  django_smartbase_admin/engine/actions.py,sha256=vmwMmo1mxxHSLTlbNwbH6h9ulxwDVJnF3r8d-axiKPI,2084
13
- django_smartbase_admin/engine/admin_base_view.py,sha256=FB0iP0G_5xRfMb6LFpg5tPAPYwXuEN9HmJ_2A3DaVJY,32274
13
+ django_smartbase_admin/engine/admin_base_view.py,sha256=07WSixM3mNjDA1S-CLRuMCBPafRW-3Hm9lg9ZEF1GOc,32275
14
14
  django_smartbase_admin/engine/admin_entrypoint_view.py,sha256=jfMfcYPfdre2abHfC4KIxaP_epJFuCeTcujGhGd4Tl4,624
15
15
  django_smartbase_admin/engine/admin_view.py,sha256=9wGffahDR3IYmhL9ZbX8uitwGdXdw5DIL5GnWBawmJM,4238
16
16
  django_smartbase_admin/engine/configuration.py,sha256=kkM0P0lcKUjfHVxSupwaKPiVz5FfHzOKsYU_QM08wv0,8541
@@ -715,7 +715,7 @@ django_smartbase_admin/views/global_filter_view.py,sha256=eYo1moJGyi7jc2cPDA5ZBi
715
715
  django_smartbase_admin/views/media_view.py,sha256=5BLWXuzynF7nM34t-mf2BQSRN5ojY8HxpLIqt7Jiq9g,292
716
716
  django_smartbase_admin/views/translations_view.py,sha256=hktmkJIZ0EJxgnzjHLIoRDY0ckFa5wkbaoFZg32UWYw,20441
717
717
  django_smartbase_admin/views/user_config_view.py,sha256=7GcC8iw_GRn23AWehltJpVmSMW3Cq6WFxSuXeYiFylg,1124
718
- django_smartbase_admin-1.0.17.dist-info/LICENSE.md,sha256=okRGMBOYvyhprt2eTpX_QXqpzC0MODF-U7zX-4fKPjQ,1078
719
- django_smartbase_admin-1.0.17.dist-info/METADATA,sha256=mcSkteH2bsIopG6cryCzLycTp6vw6b3EJ2nPRtX_gks,5375
720
- django_smartbase_admin-1.0.17.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
721
- django_smartbase_admin-1.0.17.dist-info/RECORD,,
718
+ django_smartbase_admin-1.0.18.dist-info/LICENSE.md,sha256=okRGMBOYvyhprt2eTpX_QXqpzC0MODF-U7zX-4fKPjQ,1078
719
+ django_smartbase_admin-1.0.18.dist-info/METADATA,sha256=0yWEL8eFuiwlpITwdS3XSllU7coS1SUNmCs_0WDtr9c,5375
720
+ django_smartbase_admin-1.0.18.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
721
+ django_smartbase_admin-1.0.18.dist-info/RECORD,,