accrete 0.0.145__py3-none-any.whl → 0.0.146__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.
@@ -141,8 +141,8 @@ class ListEntryResponse(Response):
141
141
  instance: Model,
142
142
  list_entry_template: str,
143
143
  context: dict = None,
144
- page: paginator.Page,
145
- is_new: bool,
144
+ page: paginator.Page = None,
145
+ is_new: bool = False,
146
146
  column_count: int = 1,
147
147
  column_height: str = '150px',
148
148
  ):
@@ -3,7 +3,7 @@
3
3
  {% include 'ui/list.html#entry' %}
4
4
  </div>
5
5
  {% else %}
6
- <div hx-swap-oob="innerHTML:#list-data-{{ object.pk }}">
6
+ <div hx-swap-oob="innerHTML:#list-data-{{ instance.pk }}">
7
7
  {% include list_entry_template with instance=instance %}
8
8
  </div>
9
9
  {% endif %}
@@ -1,19 +1,12 @@
1
1
  {% extends 'ui/modal.html' %}
2
2
  {% load i18n %}
3
+ {% load ui %}
3
4
 
4
5
  {% block modal_content %}
5
6
  <form id="{{ modal_id }}-form" hx-post="{% url 'user:change_email' %}">
6
7
  {% csrf_token %}
7
- <label class="label has-field is-required">
8
- {{ form.email.label }}
9
- {{ form.email }}
10
- <span class="has-text-danger is-size-7">{{ form.email.errors }}</span>
11
- </label>
12
- <label class="label has-field is-required">
13
- {{ form.password.label }}
14
- {{ form.password }}
15
- <span class="has-text-danger is-size-7">{{ form.password.errors }}</span>
16
- </label>
8
+ {{ form.email|wrap_label }}
9
+ {{ form.password|wrap_label }}
17
10
  </form>
18
11
  {% endblock %}
19
12
 
@@ -1,24 +1,13 @@
1
1
  {% extends 'ui/modal.html' %}
2
2
  {% load i18n %}
3
+ {% load ui %}
3
4
 
4
5
  {% block modal_content %}
5
6
  <form id="{{ modal_id }}-form" hx-post="{% url 'user:change_password' %}">
6
- {% csrf_token %}
7
- <label class="label">
8
- {{ form.old_password.label }}
9
- {{ form.old_password }}
10
- <span class="has-text-danger is-size-7">{{ form.old_password.errors }}</span>
11
- </label>
12
- <label class="label has-field is-required">
13
- {{ form.new_password.label }}
14
- {{ form.new_password }}
15
- <span class="has-text-danger is-size-7">{{ form.new_password.errors }}</span>
16
- </label>
17
- <label class="label has-field is-required">
18
- {{ form.new_password_confirm.label }}
19
- {{ form.new_password_confirm }}
20
- <span class="has-text-danger is-size-7">{{ form.new_password_confirm.errors }}</span>
21
- </label>
7
+ {% csrf_token %}
8
+ {{ form.old_password|wrap_label }}
9
+ {{ form.new_password|wrap_label }}
10
+ {{ form.new_password_confirm|wrap_label }}
22
11
  </form>
23
12
  {% endblock %}
24
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: accrete
3
- Version: 0.0.145
3
+ Version: 0.0.146
4
4
  Summary: Django Shared Schema Multi Tenant
5
5
  Author-email: Benedikt Jilek <benedikt.jilek@pm.me>
6
6
  License: Copyright (c) 2025 Benedikt Jilek
@@ -66,7 +66,7 @@ accrete/contrib/ui/apps.py,sha256=E0ao2ox6PQ3ldfeR17FXJUUJuGiWjm2DPCxHbPXGzls,15
66
66
  accrete/contrib/ui/filter.py,sha256=WWELsSZF-v7FxAWw1gGvYHFBB0BhmQWuWacI_joTKas,13703
67
67
  accrete/contrib/ui/middleware.py,sha256=QprWR8FXK9iMPIvLQAeYASaUJSW0uD9BHoYroMKrph0,1560
68
68
  accrete/contrib/ui/models.py,sha256=Vjc0p2XbAPgE6HyTF6vll98A4eDhA5AvaQqsc4kQ9AQ,57
69
- accrete/contrib/ui/response.py,sha256=EV1d4eNZNcUB0xn9FJvDWy2T2aNv1e21UFr73cS9f8Y,10408
69
+ accrete/contrib/ui/response.py,sha256=QwCxuPrzPLcJHOnZHfy0GcqqRWzZIu5kiInFxLE6VYg,10423
70
70
  accrete/contrib/ui/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
71
71
  accrete/contrib/ui/urls.py,sha256=5XUfK85HYWYf7oopMoJEEYmQ6pNgHgZBErBEn97pBt4,337
72
72
  accrete/contrib/ui/views.py,sha256=5VUbP0jgMcLMv9-3AKxkV315RA0qXuw5PmTRejPc0Yg,1136
@@ -202,7 +202,7 @@ accrete/contrib/ui/templates/ui/favicon.html,sha256=ZSK6qDGV4Cexgt0VA3KOHYN100yZ
202
202
  accrete/contrib/ui/templates/ui/form_error.html,sha256=WWqfFWyJ_LCzm5IkxXztn23GFak5wyM2HZcmiZ3Eq9s,417
203
203
  accrete/contrib/ui/templates/ui/layout.html,sha256=r3ZylKY2iPK8HwNcRPSzuJ4dfEQKQMGFCu7CBBE9gUg,13674
204
204
  accrete/contrib/ui/templates/ui/list.html,sha256=xyEUYwQKcj-65CO5Te8ixQcUoUj_bh4nmN9cpHaO9uM,2437
205
- accrete/contrib/ui/templates/ui/list_update.html,sha256=uHwdVQFGwDq0wEbZ6jtSnII6G7xLruivIlOX5dVGlz8,274
205
+ accrete/contrib/ui/templates/ui/list_update.html,sha256=CUV-OJCieOBrtSbh0vAoyZYL-_e9lP7vQrY4j1TlT7M,276
206
206
  accrete/contrib/ui/templates/ui/message.html,sha256=dQnPNkHIrrOzelXCTO8CLWG5ufmxJ8MuWp66YLZbmro,773
207
207
  accrete/contrib/ui/templates/ui/modal.html,sha256=3FzvnFVWvwRQ_r1-2qd9N5wYIOh6_oYDDp7uk6XoJPE,3481
208
208
  accrete/contrib/ui/templates/ui/oob.html,sha256=lZHIBBYclefbGkKguS1A7vrtOhODJizbSRaGAAHDvG8,267
@@ -243,8 +243,8 @@ accrete/contrib/user/migrations/0007_user_managed_login.py,sha256=SfG1Yj9m_g-sZb
243
243
  accrete/contrib/user/migrations/0008_remove_user_no_email_for_managed_user_and_more.py,sha256=XypG6tN0WmLyJV8sbZgSVqNFbTxRsBHWhIRyMJGfV7c,655
244
244
  accrete/contrib/user/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
245
245
  accrete/contrib/user/templates/user/accrete_navbar_end_dropdown.html,sha256=suPoeu1Dm49rDCrhnrkSZY8cBDsovnKqKGXcS5q-7o0,334
246
- accrete/contrib/user/templates/user/change_email.html,sha256=w9gBnU_O45YchY0EqD9mUK5oeDaD4cN92tHN80QjReA,815
247
- accrete/contrib/user/templates/user/change_password.html,sha256=1U7cI-xshsy_nhSj3TUqL3tPtYaBF17XFDgJHXXDzIw,1021
246
+ accrete/contrib/user/templates/user/change_email.html,sha256=C53Ow_J80nycjbfrUrvETdd2-J4ZJnbHAjGKk1N2zUo,463
247
+ accrete/contrib/user/templates/user/change_password.html,sha256=pOc4C0J-rY7Nr0ltMGT-DpKdsVBOvEWqj1UBa_kTYVw,523
248
248
  accrete/contrib/user/templates/user/login.html,sha256=SXbxgq3baEch3ksGMsZqIws5heqAtpkdCLAFX3SLhtQ,2669
249
249
  accrete/contrib/user/templates/user/password_forgotten.html,sha256=aoNR9VUhLkDFLIQ3NUA2Oh19bFlro0ZXvcRUdGDNPnc,30
250
250
  accrete/contrib/user/templates/user/user_preferences.html,sha256=s-WmVASO0-5R2PY-y_ExS5kl9yOtMQpElVH3nKLqW0g,1646
@@ -276,7 +276,7 @@ accrete/utils/forms.py,sha256=naV4urdfvmpxcx5Vf3Fo72M5Fy8DjGg5-vkysMKptbA,3914
276
276
  accrete/utils/log.py,sha256=BH0MBDweAjx30wGBO4F3sFhbgkSoEs7T1lLLjlYZNnA,407
277
277
  accrete/utils/models.py,sha256=2xTacvcpmDK_Bp4rAK7JdVLf8HU009LYNJ6eSpMgYZI,1014
278
278
  accrete/utils/views.py,sha256=mHfcKNDOiq-38LQ6tz9pDPQt-xs03b2qMxwJClprqu8,5022
279
- accrete-0.0.145.dist-info/METADATA,sha256=idt4aJsAK8BOUx3WvU8r2K5qCQlSPhuu9H5velgS74I,4953
280
- accrete-0.0.145.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
281
- accrete-0.0.145.dist-info/licenses/LICENSE,sha256=vHwb4Qnv8UfYKFiCWyTuRGsi49x19UQwHRCky3b2_NE,1057
282
- accrete-0.0.145.dist-info/RECORD,,
279
+ accrete-0.0.146.dist-info/METADATA,sha256=fFoFLZA3KrYwNZnCox5GJUegFEFKcrqpVg8BpMSbOzg,4953
280
+ accrete-0.0.146.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
281
+ accrete-0.0.146.dist-info/licenses/LICENSE,sha256=vHwb4Qnv8UfYKFiCWyTuRGsi49x19UQwHRCky3b2_NE,1057
282
+ accrete-0.0.146.dist-info/RECORD,,