wbreport 1.51.0__py2.py3-none-any.whl → 1.51.2__py2.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.
Potentially problematic release.
This version of wbreport might be problematic. Click here for more details.
- wbreport/models.py +4 -0
- wbreport/viewsets/configs/displays.py +1 -0
- wbreport/viewsets/configs/endpoints.py +3 -10
- {wbreport-1.51.0.dist-info → wbreport-1.51.2.dist-info}/METADATA +1 -1
- {wbreport-1.51.0.dist-info → wbreport-1.51.2.dist-info}/RECORD +7 -7
- {wbreport-1.51.0.dist-info → wbreport-1.51.2.dist-info}/WHEEL +0 -0
- {wbreport-1.51.0.dist-info → wbreport-1.51.2.dist-info}/licenses/LICENSE +0 -0
wbreport/models.py
CHANGED
|
@@ -674,6 +674,10 @@ class ReportVersion(models.Model):
|
|
|
674
674
|
mass_mail.send()
|
|
675
675
|
mass_mail.save()
|
|
676
676
|
|
|
677
|
+
@classmethod
|
|
678
|
+
def get_endpoint_basename(cls) -> str:
|
|
679
|
+
return "wbreport:reportversion"
|
|
680
|
+
|
|
677
681
|
@classmethod
|
|
678
682
|
def get_representation_endpoint(cls) -> str:
|
|
679
683
|
return "wbreport:reportversionrepresentation-list"
|
|
@@ -6,12 +6,9 @@ class ReportVersionEndpointConfig(EndpointViewConfig):
|
|
|
6
6
|
def get_endpoint(self, **kwargs):
|
|
7
7
|
return None
|
|
8
8
|
|
|
9
|
-
def
|
|
9
|
+
def get_instance_endpoint(self, **kwargs):
|
|
10
10
|
return reverse("wbreport:reportversion-list", request=self.request)
|
|
11
11
|
|
|
12
|
-
def get_instance_endpoint(self):
|
|
13
|
-
return self.get_list_endpoint()
|
|
14
|
-
|
|
15
12
|
|
|
16
13
|
class ReportEndpointConfig(EndpointViewConfig):
|
|
17
14
|
def get_endpoint(self, **kwargs):
|
|
@@ -19,12 +16,8 @@ class ReportEndpointConfig(EndpointViewConfig):
|
|
|
19
16
|
|
|
20
17
|
|
|
21
18
|
class ReportVersionReportEndpointConfig(EndpointViewConfig):
|
|
22
|
-
|
|
23
|
-
return reverse("wbreport:report-version-list", args=[self.view.kwargs["report_id"]], request=self.request)
|
|
19
|
+
pass
|
|
24
20
|
|
|
25
21
|
|
|
26
22
|
class ReportVersionReportHTMEndpointConfig(EndpointViewConfig):
|
|
27
|
-
|
|
28
|
-
return reverse(
|
|
29
|
-
"wbreport:reportversion-rawhtml-list", args=[self.view.kwargs["report_version_id"]], request=self.request
|
|
30
|
-
)
|
|
23
|
+
pass
|
|
@@ -4,7 +4,7 @@ wbreport/apps.py,sha256=4z2N25hswEAlsJsntASC5iOWUwsqMCL99-gvqBlPGFY,148
|
|
|
4
4
|
wbreport/dynamic_preferences_registry.py,sha256=nGT-fS5vN-BSVNyGcJ81ORjiXlOngePRN9hipB9olPw,508
|
|
5
5
|
wbreport/filters.py,sha256=Q92qUs0_4NvpqWqbs8_D9OLD81herHLuWcZ1sdneZgw,1523
|
|
6
6
|
wbreport/mixins.py,sha256=bAfMvfPL4YEGfEM8fsX-B_JDnN1spcefOhZU-g30080,5521
|
|
7
|
-
wbreport/models.py,sha256=
|
|
7
|
+
wbreport/models.py,sha256=zu13z87tsu9Jm00cRK_vbKVXLscBNVwNazMSdIlXGfI,29696
|
|
8
8
|
wbreport/serializers.py,sha256=k1hrtd8QodqRkM1Ol9MsLjk0n_XZU8qGLRR62EHJCXM,7236
|
|
9
9
|
wbreport/tasks.py,sha256=O1mcYdOlqnj0lA7K52OszA7OBLClMhuzRm6ZiTcXAOY,2271
|
|
10
10
|
wbreport/urls.py,sha256=yoIFuuwPCRRjOM0VzMznyMmMQXbSVfdk1l12xZJ7Ecs,1463
|
|
@@ -60,11 +60,11 @@ wbreport/viewsets/__init__.py,sha256=iEgYvZsLxQ3Hhf1hwHVdSD7Dm1OZK1Z6qhvTADqs-oc
|
|
|
60
60
|
wbreport/viewsets/viewsets.py,sha256=IDHm-38_i-hcwODz9v6zUXQBUQq2rYqHLXICEUqsx-8,13746
|
|
61
61
|
wbreport/viewsets/configs/__init__.py,sha256=WDvXbmGKD6_DP3nongBzL6lOHYwz5JC0gWtS1C2N4FY,535
|
|
62
62
|
wbreport/viewsets/configs/buttons.py,sha256=jJYCTpE9mT1VF6zdrGipenw2fZPE2P5_wbitz4R-XAw,8912
|
|
63
|
-
wbreport/viewsets/configs/displays.py,sha256=
|
|
64
|
-
wbreport/viewsets/configs/endpoints.py,sha256=
|
|
63
|
+
wbreport/viewsets/configs/displays.py,sha256=DAuGjJB2OITtgFFSBgAz0_sva0uyRAQ1jEaLrIkHCKo,4885
|
|
64
|
+
wbreport/viewsets/configs/endpoints.py,sha256=2k2aPoAo4Nq8czbYWLqz2hBbdgPAOk91GSUCt7twA_E,651
|
|
65
65
|
wbreport/viewsets/configs/menus.py,sha256=trDZsdjXip8KQ4SY1uIudZWFqwb3rQHIRSU36dzRzy0,269
|
|
66
66
|
wbreport/viewsets/configs/titles.py,sha256=bAfruj40yHrSUPzuJ7WGlfJDl7NXXKSaTqITPNn4eJA,783
|
|
67
|
-
wbreport-1.51.
|
|
68
|
-
wbreport-1.51.
|
|
69
|
-
wbreport-1.51.
|
|
70
|
-
wbreport-1.51.
|
|
67
|
+
wbreport-1.51.2.dist-info/METADATA,sha256=YVncYC6ADZPx5m7ufGsGxnHZNa6JiO_bbEOe9Rde_ZU,186
|
|
68
|
+
wbreport-1.51.2.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
69
|
+
wbreport-1.51.2.dist-info/licenses/LICENSE,sha256=jvfVH0SY8_YMHlsJHKe_OajiscQDz4lpTlqT6x24sVw,172
|
|
70
|
+
wbreport-1.51.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|