python-terminusgps 37.7.3__py3-none-any.whl → 37.7.4__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 python-terminusgps might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 37.7.3
3
+ Version: 37.7.4
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
@@ -30,7 +30,7 @@ terminusgps/django/forms/__init__.py,sha256=hh8Z9AC_u2m2bu3h6sdmPyndfQneCEVovENP
30
30
  terminusgps/django/forms/fields.py,sha256=BfuPzOZyGvWsEzONW2h4i01fhoL0IS0-gDdBKW4jHgI,2225
31
31
  terminusgps/django/forms/forms.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  terminusgps/django/forms/renderer.py,sha256=QSLQ94Ff7ZaV1jD6wAL-ltvdKIblED8Wsv5EXvSbUJ4,394
33
- terminusgps/django/forms/widgets.py,sha256=Hu6jNVx0i8JOOvAV1tuSHRqNI3mV2wijuKupUhol46c,1765
33
+ terminusgps/django/forms/widgets.py,sha256=PtMYh9vTtS62dXR7rZms8Mw_x1KkBjaMfpaTRwgy8wg,2093
34
34
  terminusgps/django/tests/test_forms.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
35
35
  terminusgps/django/tests/test_mixins.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
36
  terminusgps/django/tests/test_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -51,7 +51,7 @@ terminusgps/wialon/items/route.py,sha256=2dEUK9o8nwutPE03W-5GUcZrjGvbwLoExVnFV9L
51
51
  terminusgps/wialon/items/unit.py,sha256=FsOQdCFJPiUp2OuCxzqYI_oEYBWcjgWxicYiNRFkGBM,12590
52
52
  terminusgps/wialon/items/unit_group.py,sha256=HhYMZ9b7UATXeEgHkXN9r5-M_w82fabjDYADCUwBtxQ,4442
53
53
  terminusgps/wialon/items/user.py,sha256=pR6OTrm6f7Zo0J8eLvKtWVsdhGi430OxMsMMthGh8YE,5382
54
- python_terminusgps-37.7.3.dist-info/METADATA,sha256=7-6-rkfD_qjI5VJPPnTWHFQA36YB8YgrWR9ooBDYgDA,1329
55
- python_terminusgps-37.7.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
56
- python_terminusgps-37.7.3.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
57
- python_terminusgps-37.7.3.dist-info/RECORD,,
54
+ python_terminusgps-37.7.4.dist-info/METADATA,sha256=ItOj5i7UvoMJR1nlEQltMRKXXswnuvVsq7wdbeRU2TU,1329
55
+ python_terminusgps-37.7.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
56
+ python_terminusgps-37.7.4.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
57
+ python_terminusgps-37.7.4.dist-info/RECORD,,
@@ -2,6 +2,18 @@ from authorizenet import apicontractsv1
2
2
  from django import forms
3
3
 
4
4
 
5
+ class CaptchaWidget(forms.widgets.CheckboxInput):
6
+ template_name = "terminusgps/widgets/captcha.html"
7
+
8
+ def get_context(self, name, value, attrs):
9
+ context = super().get_context(name, value, attrs)
10
+ print(f"{context = }")
11
+ return context
12
+
13
+ def check_test(self, value):
14
+ return bool(value)
15
+
16
+
5
17
  class CreditCardWidget(forms.widgets.MultiWidget):
6
18
  def __init__(self, widgets=(), attrs: dict | None = None) -> None:
7
19
  if not widgets: