meta-edc 0.3.35__py3-none-any.whl → 0.3.36__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.
- {meta_edc-0.3.35.dist-info → meta_edc-0.3.36.dist-info}/METADATA +1 -1
- {meta_edc-0.3.35.dist-info → meta_edc-0.3.36.dist-info}/RECORD +7 -7
- meta_pharmacy/forms.py +5 -3
- {meta_edc-0.3.35.dist-info → meta_edc-0.3.36.dist-info}/AUTHORS +0 -0
- {meta_edc-0.3.35.dist-info → meta_edc-0.3.36.dist-info}/LICENSE +0 -0
- {meta_edc-0.3.35.dist-info → meta_edc-0.3.36.dist-info}/WHEEL +0 -0
- {meta_edc-0.3.35.dist-info → meta_edc-0.3.36.dist-info}/top_level.txt +0 -0
@@ -293,7 +293,7 @@ meta_pharmacy/admin.py,sha256=-HCVaaDFtt_uHzdaSQfM5yDfP44_VgIl-s-IcrPQqzg,3535
|
|
293
293
|
meta_pharmacy/admin_site.py,sha256=Ekq8Z13f1w4Llm6exO5w4Jk4Bvt-5WN1ydy_BS2rbdI,171
|
294
294
|
meta_pharmacy/apps.py,sha256=VNiKT23F5d5nkXxzu1L-kAqovNOdfxzp-cUC6qcioVQ,732
|
295
295
|
meta_pharmacy/constants.py,sha256=d3NAZwpxCDm9LLQ_QGKBG2txooYg748Ajh8a2deF0kw,263
|
296
|
-
meta_pharmacy/forms.py,sha256=
|
296
|
+
meta_pharmacy/forms.py,sha256=4BX6rB7FWBWYlOB2BX4hh3scz5eeKaxt2OCyQBCBO-E,2162
|
297
297
|
meta_pharmacy/models.py,sha256=qwjsvsCr7ryb8DRn1aYD1_wOpAQR6ffumLuYNGxeNEs,3395
|
298
298
|
meta_pharmacy/prepare_meta_pharmacy.py,sha256=5gNiPkmOzWwCW-_q6hgIzj_0tnPuN4Tl1lVI6FygNgs,2945
|
299
299
|
meta_pharmacy/urls.py,sha256=jncXssL_SeRhb_OJVXLdGFvPT3BqtrkSPdq-eyJnGfY,207
|
@@ -1137,9 +1137,9 @@ tests/etc/user-rsa-restricted-private.pem,sha256=CUcHW9bznWdmmASN00hCzvxFPAFl4N2
|
|
1137
1137
|
tests/etc/user-rsa-restricted-public.pem,sha256=mt84djoL-uHw6Wc5SJh0zml6VzXulnf8eQSFg7-fheg,450
|
1138
1138
|
tests/etc/user-salt-local.key,sha256=x5anBw9fvbHurczouT3CjrkWb_xs7Ypm1htIJsgiuiw,256
|
1139
1139
|
tests/etc/user-salt-restricted.key,sha256=pxmpcfBRNB-4C6wTvHXz-9fOfJgKIFOjaAF8ZFfa4q4,256
|
1140
|
-
meta_edc-0.3.
|
1141
|
-
meta_edc-0.3.
|
1142
|
-
meta_edc-0.3.
|
1143
|
-
meta_edc-0.3.
|
1144
|
-
meta_edc-0.3.
|
1145
|
-
meta_edc-0.3.
|
1140
|
+
meta_edc-0.3.36.dist-info/AUTHORS,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1141
|
+
meta_edc-0.3.36.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
1142
|
+
meta_edc-0.3.36.dist-info/METADATA,sha256=VHTHIO2rIvXqsAZTTzUCz3jqXvjcUXG8qWlwlgwHgPY,3015
|
1143
|
+
meta_edc-0.3.36.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
1144
|
+
meta_edc-0.3.36.dist-info/top_level.txt,sha256=RkzjNXwRq2kg_uZ_1bDwPUntijSXoY2YBqtByDwvvrc,244
|
1145
|
+
meta_edc-0.3.36.dist-info/RECORD,,
|
meta_pharmacy/forms.py
CHANGED
@@ -7,6 +7,8 @@ from edc_offstudy.modelform_mixins import OffstudyNonCrfModelFormMixin
|
|
7
7
|
from edc_prn.modelform_mixins import PrnFormValidatorMixin
|
8
8
|
from edc_sites.forms import SiteModelFormMixin
|
9
9
|
|
10
|
+
from meta_rando.models import RandomizationList
|
11
|
+
|
10
12
|
from .models import Rx, Substitutions
|
11
13
|
|
12
14
|
|
@@ -41,11 +43,11 @@ class SubstitutionsForm(
|
|
41
43
|
)
|
42
44
|
if self.cleaned_data.get("dispensed_sid"):
|
43
45
|
try:
|
44
|
-
|
45
|
-
|
46
|
+
RandomizationList.objects.get(
|
47
|
+
sid=self.cleaned_data.get("dispensed_sid"),
|
46
48
|
)
|
47
49
|
except ObjectDoesNotExist:
|
48
|
-
raise forms.ValidationError({"dispensed_sid": "
|
50
|
+
raise forms.ValidationError({"dispensed_sid": "Invalid SID for this trial"})
|
49
51
|
|
50
52
|
class Meta:
|
51
53
|
model = Substitutions
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|