django-spire 0.25.0__py3-none-any.whl → 0.25.1__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.
- django_spire/consts.py +1 -1
- django_spire/metric/report/report.py +1 -0
- django_spire/metric/report/views/page_views.py +6 -1
- {django_spire-0.25.0.dist-info → django_spire-0.25.1.dist-info}/METADATA +1 -1
- {django_spire-0.25.0.dist-info → django_spire-0.25.1.dist-info}/RECORD +8 -8
- {django_spire-0.25.0.dist-info → django_spire-0.25.1.dist-info}/WHEEL +0 -0
- {django_spire-0.25.0.dist-info → django_spire-0.25.1.dist-info}/licenses/LICENSE.md +0 -0
- {django_spire-0.25.0.dist-info → django_spire-0.25.1.dist-info}/top_level.txt +0 -0
django_spire/consts.py
CHANGED
|
@@ -98,6 +98,7 @@ class BaseReport(ABC):
|
|
|
98
98
|
for name, param in signature.parameters.items():
|
|
99
99
|
arguments[name] = {}
|
|
100
100
|
arguments[name]['default'] = param.default
|
|
101
|
+
arguments[name]['annotation_class'] = param.annotation
|
|
101
102
|
|
|
102
103
|
choices_method = getattr(self, f'{name}_choices', None)
|
|
103
104
|
|
|
@@ -83,7 +83,12 @@ def report_view(request: WSGIRequest) -> TemplateResponse:
|
|
|
83
83
|
get_request_value = request.GET.getlist(argument, [])
|
|
84
84
|
|
|
85
85
|
else:
|
|
86
|
-
|
|
86
|
+
value = request.GET.get(argument, None)
|
|
87
|
+
|
|
88
|
+
if value:
|
|
89
|
+
get_request_value = context_data['report_run_arguments'][argument]['annotation_class'](value)
|
|
90
|
+
else:
|
|
91
|
+
get_request_value = value
|
|
87
92
|
|
|
88
93
|
context_data['report_run_arguments_values'][argument] = get_request_value
|
|
89
94
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-spire
|
|
3
|
-
Version: 0.25.
|
|
3
|
+
Version: 0.25.1
|
|
4
4
|
Summary: A project for Django Spire
|
|
5
5
|
Author-email: Brayden Carlson <braydenc@stratusadv.com>, Nathan Johnson <nathanj@stratusadv.com>
|
|
6
6
|
License: Copyright (c) 2025 Stratus Advanced Technologies and Contributors.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
django_spire/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
django_spire/conf.py,sha256=3oUB1mtgHRjvbJsxfQWG5uL1KUP9uGig3zdP2dZphe8,942
|
|
3
|
-
django_spire/consts.py,sha256=
|
|
3
|
+
django_spire/consts.py,sha256=v9iUsL_VvjnVUvdrkUEMoRjYlFE3E5kd8HWLt6T1LJQ,171
|
|
4
4
|
django_spire/exceptions.py,sha256=M7buFvm-K4lK09pH5fVcZ-MxsDIzdpEJBF33Xss5bSw,289
|
|
5
5
|
django_spire/settings.py,sha256=Pr98O2Na5Cv9YXs5y8c2CvGYv1szmXED8RJVT5q2-W4,1164
|
|
6
6
|
django_spire/urls.py,sha256=wQx6R-nXx69MeOF-WmDxcEUM5WmUHGplbY5uZ_HnDp8,703
|
|
@@ -1185,7 +1185,7 @@ django_spire/metric/report/helper.py,sha256=G1ytJRW3vhP6WED9PQ0lzuw48gCIOG9gm9af
|
|
|
1185
1185
|
django_spire/metric/report/models.py,sha256=HGXc1If1gV4wQCgZMHnfN2iMGPxtFUPfrcFZpWgpzeQ,674
|
|
1186
1186
|
django_spire/metric/report/querysets.py,sha256=8uu6AJIxtl-bkGg_tua4tFEYRubY_z5Va7crQhsoKGk,606
|
|
1187
1187
|
django_spire/metric/report/registry.py,sha256=uXkuWYXIMzfaMrz10paoOCMjcgr3g-BWicGnUzj4eeg,1239
|
|
1188
|
-
django_spire/metric/report/report.py,sha256=
|
|
1188
|
+
django_spire/metric/report/report.py,sha256=0NPiZtsjkH5j5Pr1z7o0i7MPkF-EkMhuZrtakxek2u8,7884
|
|
1189
1189
|
django_spire/metric/report/tools.py,sha256=P-kSbfQo_RB_-zgvQ_qpXW_voTerdw-W5NZVX6N8yNQ,431
|
|
1190
1190
|
django_spire/metric/report/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1191
1191
|
django_spire/metric/report/auth/controller.py,sha256=0_wh3nE9aDGNfvY_-EaCYsPTi0wACOS2_YyO5nJjjsE,614
|
|
@@ -1203,7 +1203,7 @@ django_spire/metric/report/tests/test_urls/test_page_urls.py,sha256=XGu_4RwJmVKj
|
|
|
1203
1203
|
django_spire/metric/report/urls/__init__.py,sha256=6XGBdmEMaaycPNzll5VRoXgfKOfGtwlNR0KYzkiqN4g,206
|
|
1204
1204
|
django_spire/metric/report/urls/page_urls.py,sha256=bWWgilrnJK7rzMLwVNhbFN9vGdlurqaWLzWHsthjlOA,234
|
|
1205
1205
|
django_spire/metric/report/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1206
|
-
django_spire/metric/report/views/page_views.py,sha256=
|
|
1206
|
+
django_spire/metric/report/views/page_views.py,sha256=6y3mEiPOO28n1KOPV47SVCmbbhoPEaZ1icn--E8WSb8,4762
|
|
1207
1207
|
django_spire/metric/urls/__init__.py,sha256=9C7ZpLABKJJvVr-tlbeE91SZWghTmtCwy20gWsmJ_wc,200
|
|
1208
1208
|
django_spire/notification/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1209
1209
|
django_spire/notification/admin.py,sha256=Upl86FjJc0Z3zfuZmHa9O531E5SkJf5Sb_Dq7xoGf9E,1091
|
|
@@ -1410,8 +1410,8 @@ django_spire/theme/urls/page_urls.py,sha256=Oak3x_xwQEb01NKdrsB1nk6yPaOEnheuSG1m
|
|
|
1410
1410
|
django_spire/theme/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1411
1411
|
django_spire/theme/views/json_views.py,sha256=PWwVTaty0BVGbj65L5cxex6JNhc-xVAI_rEYjbJWqEM,1893
|
|
1412
1412
|
django_spire/theme/views/page_views.py,sha256=WenjOa6Welpu3IMolY56ZwBjy4aK9hpbiMNuygjAl1A,3922
|
|
1413
|
-
django_spire-0.25.
|
|
1414
|
-
django_spire-0.25.
|
|
1415
|
-
django_spire-0.25.
|
|
1416
|
-
django_spire-0.25.
|
|
1417
|
-
django_spire-0.25.
|
|
1413
|
+
django_spire-0.25.1.dist-info/licenses/LICENSE.md,sha256=ZAeCT76WvaoEZE9xPhihyWjTwH0wQZXQmyRsnV2VPFs,1091
|
|
1414
|
+
django_spire-0.25.1.dist-info/METADATA,sha256=dtDpr1euDsABhW-uno8QrFe-AH-8Uq7vVSxt3EUsMLc,5128
|
|
1415
|
+
django_spire-0.25.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
1416
|
+
django_spire-0.25.1.dist-info/top_level.txt,sha256=xf3QV1e--ONkVpgMDQE9iqjQ1Vg4--_6C8wmO-KxPHQ,13
|
|
1417
|
+
django_spire-0.25.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|