python-terminusgps 42.2.1__py3-none-any.whl → 42.2.3__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.
- {python_terminusgps-42.2.1.dist-info → python_terminusgps-42.2.3.dist-info}/METADATA +1 -1
- {python_terminusgps-42.2.1.dist-info → python_terminusgps-42.2.3.dist-info}/RECORD +5 -5
- terminusgps/django/validators.py +4 -4
- {python_terminusgps-42.2.1.dist-info → python_terminusgps-42.2.3.dist-info}/WHEEL +0 -0
- {python_terminusgps-42.2.1.dist-info → python_terminusgps-42.2.3.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 42.2.
|
|
3
|
+
Version: 42.2.3
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://docs.terminusgps.com
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -14,7 +14,7 @@ terminusgps/django/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
|
14
14
|
terminusgps/django/mixins.py,sha256=Q9ZJuzpk3d9lDnlVA8ZTVvnZWxB13p08EQ8yVJcztn4,1034
|
|
15
15
|
terminusgps/django/settings.py,sha256=NLjcdnD_Ny_04eNNVWabUwzWvw0zS_-ebXnzhx8PJRU,691
|
|
16
16
|
terminusgps/django/utils.py,sha256=SYDQyHA5tTuVwdpZGsCtf0LpTTD0ilRKoxa8StfSTpQ,156
|
|
17
|
-
terminusgps/django/validators.py,sha256
|
|
17
|
+
terminusgps/django/validators.py,sha256=rfG2y1es_XjAYYXSWPMRMWasmqssTRUym2kwtZeCGkM,3523
|
|
18
18
|
terminusgps/django/forms/__init__.py,sha256=hh8Z9AC_u2m2bu3h6sdmPyndfQneCEVovENPHmoTDC0,21
|
|
19
19
|
terminusgps/django/forms/fields.py,sha256=BfuPzOZyGvWsEzONW2h4i01fhoL0IS0-gDdBKW4jHgI,2225
|
|
20
20
|
terminusgps/django/forms/forms.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -36,7 +36,7 @@ terminusgps/wialon/items/route.py,sha256=xixlex6bUeFHXucVQdbfQUSLxI1Rhwk6slhoFP2
|
|
|
36
36
|
terminusgps/wialon/items/unit.py,sha256=kIjnMOjjI3siCaA6wXojzEK2xqFIm5mN4xNqzKDUa1Q,5473
|
|
37
37
|
terminusgps/wialon/items/unit_group.py,sha256=L7-PAVCj8Bf50fa04Ials4VHg8LOWkw6hwNhtSyMksE,2133
|
|
38
38
|
terminusgps/wialon/items/user.py,sha256=hZlFeXCgOAdivl_Anjp_We6Cy5U8IxWNDAgm5MFZfp0,5194
|
|
39
|
-
python_terminusgps-42.2.
|
|
40
|
-
python_terminusgps-42.2.
|
|
41
|
-
python_terminusgps-42.2.
|
|
42
|
-
python_terminusgps-42.2.
|
|
39
|
+
python_terminusgps-42.2.3.dist-info/METADATA,sha256=hnluxbKIliArWCAavQzIaNkR4hXlkM6G-x89Tsd19As,976
|
|
40
|
+
python_terminusgps-42.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
41
|
+
python_terminusgps-42.2.3.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
42
|
+
python_terminusgps-42.2.3.dist-info/RECORD,,
|
terminusgps/django/validators.py
CHANGED
|
@@ -30,18 +30,18 @@ def validate_e164_phone_number(value: str) -> None:
|
|
|
30
30
|
code="invalid",
|
|
31
31
|
params={"value": value},
|
|
32
32
|
)
|
|
33
|
-
if len(value) <
|
|
33
|
+
if len(value) < 11:
|
|
34
34
|
raise ValidationError(
|
|
35
35
|
_(
|
|
36
|
-
"E.164 phone number cannot be less than
|
|
36
|
+
"E.164 phone number cannot be less than 11 characters in length, got %(len)s."
|
|
37
37
|
),
|
|
38
38
|
code="invalid",
|
|
39
39
|
params={"len": len(value)},
|
|
40
40
|
)
|
|
41
|
-
if len(value) >
|
|
41
|
+
if len(value) > 16:
|
|
42
42
|
raise ValidationError(
|
|
43
43
|
_(
|
|
44
|
-
"E.164 phone number cannot be greater than
|
|
44
|
+
"E.164 phone number cannot be greater than 16 characters in length, got %(len)s."
|
|
45
45
|
),
|
|
46
46
|
code="invalid",
|
|
47
47
|
params={"len": len(value)},
|
|
File without changes
|
{python_terminusgps-42.2.1.dist-info → python_terminusgps-42.2.3.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|