micro-users 1.1.0__py3-none-any.whl → 1.1.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.

Potentially problematic release.


This version of micro-users might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: micro-users
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Arabic Django user management app with abstract user, permissions, and activity logging
5
5
  Home-page: https://github.com/debeski/micro-users
6
6
  Author: DeBeski
@@ -6,7 +6,6 @@ users/forms.py,sha256=GHC8pFm2i9PD3MVaakrgMXEszsBrXieHq7DYiAfo8Fw,14977
6
6
  users/models.py,sha256=KX_6LoiNJN6PCTFOuuGp5so4CNn5pAh1Vpaigv4fKk4,2060
7
7
  users/signals.py,sha256=5Kd3KyfPT6740rvwZj4vy1yXsmjVhmaQ__RB8p5R5aE,1336
8
8
  users/tables.py,sha256=JS3fvZvwzcNPGAH1LfCCUNnuQXgauDnB--rFt4okC0I,1717
9
- users/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
10
9
  users/urls.py,sha256=gmk_ZkSg9Bj-fUpIRACL_X7MEADTgZ7uvmbvXoAo5fo,956
11
10
  users/views.py,sha256=yfzWkIDha66YK-Rgz7GH7MhQsupSCojf59C7fBqkppI,7209
12
11
  users/migrations/0001_initial.py,sha256=lx9sSKS-lxHhI6gelVH52NOkwqEMJ32TvOJUn9zaOXM,4709
@@ -16,10 +15,10 @@ users/templates/registration/login.html,sha256=owbzO_XjqMeSncwWxkTzsvbkhjEZd7Ldb
16
15
  users/templates/users/manage_users.html,sha256=jaYxUGRPyqx8tj9M6aApUZOgmgAIQekFtaL5j1mRPRQ,2951
17
16
  users/templates/users/profile.html,sha256=9ahVF6YZUR-6-c8SKc0rN2pVdis2lI9gbcOQZeMaFnY,2909
18
17
  users/templates/users/profile_edit.html,sha256=sgO3h9ffVK1vnDNl4E6l5x3xfam3FTQl6Lqkrw5gmlw,4215
19
- users/templates/users/user_actions.html,sha256=33y-aFqzsFm7yMSzBFGtuT-95hhyQV8CFppU3Oev54A,1366
18
+ users/templates/users/user_actions.html,sha256=kuNMZBK9qwrLDU6hhp836Ru_yGVOr-uAeoJBJsZtzP8,1386
20
19
  users/templates/users/user_form.html,sha256=jcyI7OQZOY4ue4DajPtfjAt2SmAYO5ZgHNOqTp2-FO0,1352
21
- micro_users-1.1.0.dist-info/LICENSE,sha256=Fco89ULLSSxKkC2KKnx57SaT0R7WOkZfuk8IYcGiN50,1063
22
- micro_users-1.1.0.dist-info/METADATA,sha256=EAHDpG_oRTxDMxQVGphsRdkox-R27ym66m3ks4_-HIQ,2807
23
- micro_users-1.1.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
24
- micro_users-1.1.0.dist-info/top_level.txt,sha256=tWT24ZcWau2wrlbpU_h3mP2jRukyLaVYiyHBuOezpLQ,6
25
- micro_users-1.1.0.dist-info/RECORD,,
20
+ micro_users-1.1.1.dist-info/LICENSE,sha256=Fco89ULLSSxKkC2KKnx57SaT0R7WOkZfuk8IYcGiN50,1063
21
+ micro_users-1.1.1.dist-info/METADATA,sha256=sXwfJIZTPf798hq2QIih9Z33O_1jwySSksk1AaPXhrY,2807
22
+ micro_users-1.1.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
23
+ micro_users-1.1.1.dist-info/top_level.txt,sha256=tWT24ZcWau2wrlbpU_h3mP2jRukyLaVYiyHBuOezpLQ,6
24
+ micro_users-1.1.1.dist-info/RECORD,,
@@ -9,20 +9,20 @@
9
9
  <i class="bi bi-person-lines-fill text-dark me-1 h5"> </i> عرض
10
10
  </a>
11
11
  </li> {% endcomment %}
12
+ {% if not record.is_superuser %}
12
13
  <li>
13
14
  <a class="dropdown-item" href="{% url 'edit_user' record.id %}" title="تعديل">
14
15
  <i class="bi bi-person-dash-fill text-dark me-1 h5"> </i> تعديل
15
16
  </a>
16
17
  </li>
17
- {% if user.is_superuser %}
18
- {% if not record.is_staff %}
18
+ {% endif %}
19
+ {% if user.is_superuser and not record.is_staff %}
19
20
  <li>
20
21
  <a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#deleteModal"
21
22
  data-user-id="{{ record.id }}" data-user-name="{{ record.username }}">
22
23
  <i class="bi bi-x-octagon text-danger me-1 h5"> </i> حذف
23
24
  </a>
24
25
  </li>
25
- {% endif %}
26
26
  {% endif %}
27
27
  </ul>
28
28
  </div>
users/tests.py DELETED
@@ -1,3 +0,0 @@
1
- from django.test import TestCase
2
-
3
- # Create your tests here.