prune_captcha 1.12.0__py3-none-any.whl → 1.12.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.
- {prune_captcha-1.12.0.dist-info → prune_captcha-1.12.1.dist-info}/METADATA +5 -4
- {prune_captcha-1.12.0.dist-info → prune_captcha-1.12.1.dist-info}/RECORD +4 -4
- {prune_captcha-1.12.0.dist-info → prune_captcha-1.12.1.dist-info}/WHEEL +0 -0
- {prune_captcha-1.12.0.dist-info → prune_captcha-1.12.1.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: prune_captcha
|
3
|
-
Version: 1.12.
|
3
|
+
Version: 1.12.1
|
4
4
|
Summary: A tool to protect formulaire from spam.
|
5
5
|
Author-email: Arnout <bastien@prune.sh>
|
6
6
|
Project-URL: Made_by, https://prune.sh/
|
@@ -68,14 +68,14 @@ PUZZLE_IMAGE_STATIC_PATH = "website/static/website/images/puzzles/"
|
|
68
68
|
|
69
69
|
- GET request (form display)
|
70
70
|
|
71
|
-
- Use
|
71
|
+
- Use create_and_get_captcha to generate the captcha data:
|
72
72
|
|
73
73
|
```python
|
74
|
-
from captcha_prune.utils import
|
74
|
+
from captcha_prune.utils import create_and_get_captcha
|
75
75
|
```
|
76
76
|
|
77
77
|
```python
|
78
|
-
puzzle =
|
78
|
+
puzzle = create_and_get_captcha(request)
|
79
79
|
```
|
80
80
|
|
81
81
|
- Passes the data into the context under the puzzle variable:
|
@@ -114,6 +114,7 @@ PUZZLE_IMAGE_STATIC_PATH = "website/static/website/images/puzzles/"
|
|
114
114
|
|
115
115
|
| Version | Date | Notes |
|
116
116
|
| ------- | ---------- | ---------------------------------- |
|
117
|
+
| 1.12.1 | 2025-05-21 | doc fixed |
|
117
118
|
| 1.12.0 | 2025-05-21 | removed views, added utils, ... |
|
118
119
|
| 1.11.0 | 2025-05-21 | removed utils |
|
119
120
|
| 1.10.0 | 2025-05-20 | fix documentation, removed ... |
|
@@ -14,7 +14,7 @@ commons/base_model.py,sha256=q1Q7lgtvN_t6ujhEiSsNNXb_ay0qY6FbfK0Zm2Hdgp0,213
|
|
14
14
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
15
|
tests/captcha_prune/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
tests/captcha_prune/test_views.py,sha256=h-Mrdiprh71s7kIJPYAt6xv4G_S7vp51WCpAzy4CZ6U,2364
|
17
|
-
prune_captcha-1.12.
|
18
|
-
prune_captcha-1.12.
|
19
|
-
prune_captcha-1.12.
|
20
|
-
prune_captcha-1.12.
|
17
|
+
prune_captcha-1.12.1.dist-info/METADATA,sha256=oZ7iPR5MtlgIcFcwYhH_WvLJVJyTlm4Yqdwpfq9DaYM,3529
|
18
|
+
prune_captcha-1.12.1.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
19
|
+
prune_captcha-1.12.1.dist-info/top_level.txt,sha256=EB4h0WF_YGF7kAWB0XtqmuloOhkL5pC71CzgEVYam7w,28
|
20
|
+
prune_captcha-1.12.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|