prune_captcha 1.12.0__tar.gz → 1.12.2__tar.gz

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.
Files changed (25) hide show
  1. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/PKG-INFO +15 -13
  2. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/README.md +14 -12
  3. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/prune_captcha.egg-info/PKG-INFO +15 -13
  4. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/pyproject.toml +1 -1
  5. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/__init__.py +0 -0
  6. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/apps.py +0 -0
  7. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/asgi.py +0 -0
  8. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/migrations/0001_initial.py +0 -0
  9. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/migrations/0002_remove_captcha_created_at_remove_captcha_pos_x_and_more.py +0 -0
  10. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/migrations/0003_captcha_created_at_captcha_updated_at.py +0 -0
  11. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/migrations/__init__.py +0 -0
  12. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/models.py +0 -0
  13. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/payloads.py +0 -0
  14. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/settings.py +0 -0
  15. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/utils.py +0 -0
  16. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/captcha_prune/wsgi.py +0 -0
  17. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/commons/base_model.py +0 -0
  18. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/prune_captcha.egg-info/SOURCES.txt +0 -0
  19. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/prune_captcha.egg-info/dependency_links.txt +0 -0
  20. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/prune_captcha.egg-info/requires.txt +0 -0
  21. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/prune_captcha.egg-info/top_level.txt +0 -0
  22. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/setup.cfg +0 -0
  23. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/tests/__init__.py +0 -0
  24. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/tests/captcha_prune/__init__.py +0 -0
  25. {prune_captcha-1.12.0 → prune_captcha-1.12.2}/tests/captcha_prune/test_views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prune_captcha
3
- Version: 1.12.0
3
+ Version: 1.12.2
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 create_captcha to generate the captcha data:
71
+ - Use create_and_get_captcha to generate the captcha data:
72
72
 
73
73
  ```python
74
- from captcha_prune.utils import create_captcha
74
+ from captcha_prune.utils import create_and_get_captcha
75
75
  ```
76
76
 
77
77
  ```python
78
- puzzle = create_captcha(request)
78
+ puzzle = create_and_get_captcha(request)
79
79
  ```
80
80
 
81
81
  - Passes the data into the context under the puzzle variable:
@@ -96,24 +96,26 @@ PUZZLE_IMAGE_STATIC_PATH = "website/static/website/images/puzzles/"
96
96
 
97
97
  - POST request (form submission)
98
98
 
99
- - Use verify_captcha to validate the captcha:
99
+ - Use verify_captcha to validate the captcha:
100
100
 
101
- ```python
102
- from captcha_prune.utils import verify_captcha
103
- ```
101
+ ```python
102
+ from captcha_prune.utils import verify_captcha
103
+ ```
104
104
 
105
- ```python
106
- response = verify_captcha(request)
107
- ```
105
+ ```python
106
+ response = verify_captcha(request)
107
+ ```
108
108
 
109
- - True if the captcha is correct, else False.
109
+ - True if the captcha is correct, else False.
110
110
 
111
- - Redirects in case of incorrect captcha.
111
+ - Redirects in case of incorrect captcha.
112
112
 
113
113
  # Available Versions
114
114
 
115
115
  | Version | Date | Notes |
116
116
  | ------- | ---------- | ---------------------------------- |
117
+ | 1.12.2 | 2025-05-21 | doc fixed |
118
+ | 1.12.1 | 2025-05-21 | doc fixed |
117
119
  | 1.12.0 | 2025-05-21 | removed views, added utils, ... |
118
120
  | 1.11.0 | 2025-05-21 | removed utils |
119
121
  | 1.10.0 | 2025-05-20 | fix documentation, removed ... |
@@ -50,14 +50,14 @@ PUZZLE_IMAGE_STATIC_PATH = "website/static/website/images/puzzles/"
50
50
 
51
51
  - GET request (form display)
52
52
 
53
- - Use create_captcha to generate the captcha data:
53
+ - Use create_and_get_captcha to generate the captcha data:
54
54
 
55
55
  ```python
56
- from captcha_prune.utils import create_captcha
56
+ from captcha_prune.utils import create_and_get_captcha
57
57
  ```
58
58
 
59
59
  ```python
60
- puzzle = create_captcha(request)
60
+ puzzle = create_and_get_captcha(request)
61
61
  ```
62
62
 
63
63
  - Passes the data into the context under the puzzle variable:
@@ -78,24 +78,26 @@ PUZZLE_IMAGE_STATIC_PATH = "website/static/website/images/puzzles/"
78
78
 
79
79
  - POST request (form submission)
80
80
 
81
- - Use verify_captcha to validate the captcha:
81
+ - Use verify_captcha to validate the captcha:
82
82
 
83
- ```python
84
- from captcha_prune.utils import verify_captcha
85
- ```
83
+ ```python
84
+ from captcha_prune.utils import verify_captcha
85
+ ```
86
86
 
87
- ```python
88
- response = verify_captcha(request)
89
- ```
87
+ ```python
88
+ response = verify_captcha(request)
89
+ ```
90
90
 
91
- - True if the captcha is correct, else False.
91
+ - True if the captcha is correct, else False.
92
92
 
93
- - Redirects in case of incorrect captcha.
93
+ - Redirects in case of incorrect captcha.
94
94
 
95
95
  # Available Versions
96
96
 
97
97
  | Version | Date | Notes |
98
98
  | ------- | ---------- | ---------------------------------- |
99
+ | 1.12.2 | 2025-05-21 | doc fixed |
100
+ | 1.12.1 | 2025-05-21 | doc fixed |
99
101
  | 1.12.0 | 2025-05-21 | removed views, added utils, ... |
100
102
  | 1.11.0 | 2025-05-21 | removed utils |
101
103
  | 1.10.0 | 2025-05-20 | fix documentation, removed ... |
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prune_captcha
3
- Version: 1.12.0
3
+ Version: 1.12.2
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 create_captcha to generate the captcha data:
71
+ - Use create_and_get_captcha to generate the captcha data:
72
72
 
73
73
  ```python
74
- from captcha_prune.utils import create_captcha
74
+ from captcha_prune.utils import create_and_get_captcha
75
75
  ```
76
76
 
77
77
  ```python
78
- puzzle = create_captcha(request)
78
+ puzzle = create_and_get_captcha(request)
79
79
  ```
80
80
 
81
81
  - Passes the data into the context under the puzzle variable:
@@ -96,24 +96,26 @@ PUZZLE_IMAGE_STATIC_PATH = "website/static/website/images/puzzles/"
96
96
 
97
97
  - POST request (form submission)
98
98
 
99
- - Use verify_captcha to validate the captcha:
99
+ - Use verify_captcha to validate the captcha:
100
100
 
101
- ```python
102
- from captcha_prune.utils import verify_captcha
103
- ```
101
+ ```python
102
+ from captcha_prune.utils import verify_captcha
103
+ ```
104
104
 
105
- ```python
106
- response = verify_captcha(request)
107
- ```
105
+ ```python
106
+ response = verify_captcha(request)
107
+ ```
108
108
 
109
- - True if the captcha is correct, else False.
109
+ - True if the captcha is correct, else False.
110
110
 
111
- - Redirects in case of incorrect captcha.
111
+ - Redirects in case of incorrect captcha.
112
112
 
113
113
  # Available Versions
114
114
 
115
115
  | Version | Date | Notes |
116
116
  | ------- | ---------- | ---------------------------------- |
117
+ | 1.12.2 | 2025-05-21 | doc fixed |
118
+ | 1.12.1 | 2025-05-21 | doc fixed |
117
119
  | 1.12.0 | 2025-05-21 | removed views, added utils, ... |
118
120
  | 1.11.0 | 2025-05-21 | removed utils |
119
121
  | 1.10.0 | 2025-05-20 | fix documentation, removed ... |
@@ -20,7 +20,7 @@ classifiers = [
20
20
  keywords = ["captcha", "django", "code-quality"]
21
21
  urls = {Made_by = "https://prune.sh/"}
22
22
  name = "prune_captcha"
23
- version = "1.12.0"
23
+ version = "1.12.2"
24
24
  description = "A tool to protect formulaire from spam."
25
25
  readme = "README.md"
26
26
  dependencies = [
File without changes