django-solomon 0.1.2__py3-none-any.whl → 0.2.0__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.
- {django_solomon-0.1.2.dist-info → django_solomon-0.2.0.dist-info}/METADATA +13 -4
- {django_solomon-0.1.2.dist-info → django_solomon-0.2.0.dist-info}/RECORD +4 -4
- {django_solomon-0.1.2.dist-info → django_solomon-0.2.0.dist-info}/WHEEL +0 -0
- {django_solomon-0.1.2.dist-info → django_solomon-0.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: django-solomon
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.2.0
|
4
|
+
Summary: A Django app for passwordless authentication using magic links.
|
4
5
|
Project-URL: Home, https://django-solomon.rtfd.io/
|
5
6
|
Project-URL: Documentation, https://django-solomon.rtfd.io/
|
6
7
|
Project-URL: Repository, https://codeberg.org/oliverandrich/django-solomon
|
@@ -54,6 +55,10 @@ Description-Content-Type: text/markdown
|
|
54
55
|
[](https://pypi.org/project/django-solomon/)
|
55
56
|
[](https://pypi.org/project/django-solomon/)
|
56
57
|
[](https://django-solomon.rtfd.io/en/latest/?badge=latest)
|
58
|
+
[](https://pepy.tech/project/django-solomon)
|
59
|
+
[](https://pepy.tech/project/django-solomon)
|
60
|
+
[](https://github.com/astral-sh/ruff)
|
61
|
+
[](https://github.com/astral-sh/uv)
|
57
62
|
|
58
63
|
A Django app for passwordless authentication using magic links.
|
59
64
|
|
@@ -137,8 +142,8 @@ django-solomon provides several settings that you can customize in your Django s
|
|
137
142
|
| `SOLOMON_LOGIN_REDIRECT_URL` | `settings.LOGIN_REDIRECT_URL` | The URL to redirect to after successful authentication |
|
138
143
|
| `SOLOMON_ALLOW_ADMIN_LOGIN` | `True` | If enabled, allows superusers to log in using magic links |
|
139
144
|
| `SOLOMON_ALLOW_STAFF_LOGIN` | `True` | If enabled, allows staff users to log in using magic links |
|
140
|
-
| `SOLOMON_MAIL_TEXT_TEMPLATE`
|
141
|
-
| `SOLOMON_MAIL_MJML_TEMPLATE`
|
145
|
+
| `SOLOMON_MAIL_TEXT_TEMPLATE` | `"django_solomon/email/magic_link.txt"` | The template to use for plain text magic link emails |
|
146
|
+
| `SOLOMON_MAIL_MJML_TEMPLATE` | `"django_solomon/email/magic_link.mjml"` | The template to use for HTML magic link emails (MJML format) |
|
142
147
|
| `SOLOMON_LOGIN_FORM_TEMPLATE` | `"django_solomon/base/login_form.html"` | The template to use for the login form page |
|
143
148
|
| `SOLOMON_INVALID_MAGIC_LINK_TEMPLATE` | `"django_solomon/base/invalid_magic_link.html"` | The template to use for the invalid magic link page |
|
144
149
|
| `SOLOMON_MAGIC_LINK_SENT_TEMPLATE` | `"django_solomon/base/magic_link_sent.html"` | The template to use for the magic link sent confirmation page |
|
@@ -188,9 +193,13 @@ if user:
|
|
188
193
|
login(request, user)
|
189
194
|
```
|
190
195
|
|
196
|
+
## Documentation
|
197
|
+
|
198
|
+
For more detailed information, tutorials, and advanced usage examples, please visit the [official documentation](https://django-solomon.rtfd.io/).
|
199
|
+
|
191
200
|
## License
|
192
201
|
|
193
|
-
This software is licensed under [MIT license](
|
202
|
+
This software is licensed under [MIT license](https://codeberg.org/oliverandrich/django-solomon/src/branch/main/LICENSE).
|
194
203
|
|
195
204
|
## Contributing
|
196
205
|
|
@@ -20,7 +20,7 @@ django_solomon/templates/django_solomon/base/login_form.html,sha256=VYGnrno3c36W
|
|
20
20
|
django_solomon/templates/django_solomon/base/magic_link_sent.html,sha256=GIMxnw3E98TXVkVQkMRTHmX5mz0xUsvgXVj25gO2HPQ,461
|
21
21
|
django_solomon/templates/django_solomon/email/magic_link.mjml,sha256=OnfVGm2yFrOmoQ1syo6-Duq_Qraf3Tv0Vy5oidvt55g,1427
|
22
22
|
django_solomon/templates/django_solomon/email/magic_link.txt,sha256=yl01eie3U2HkFEJvB1Qlm8Z6FPuop5yubDXFY5V507Q,502
|
23
|
-
django_solomon-0.
|
24
|
-
django_solomon-0.
|
25
|
-
django_solomon-0.
|
26
|
-
django_solomon-0.
|
23
|
+
django_solomon-0.2.0.dist-info/METADATA,sha256=4kHgMkW0gBRFooZSa4IJPImHNsnP9mavcaLuzGEdlSA,9730
|
24
|
+
django_solomon-0.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
25
|
+
django_solomon-0.2.0.dist-info/licenses/LICENSE,sha256=tbfFOFdH5mHIfmNGo6KGOC3U8f-hTCLfetcr8A89WwI,1071
|
26
|
+
django_solomon-0.2.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|