micro-users 1.1.0__tar.gz → 1.1.1__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.

Potentially problematic release.


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

Files changed (32) hide show
  1. {micro_users-1.1.0 → micro_users-1.1.1}/PKG-INFO +1 -1
  2. {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/PKG-INFO +1 -1
  3. {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/SOURCES.txt +0 -1
  4. {micro_users-1.1.0 → micro_users-1.1.1}/pyproject.toml +1 -1
  5. {micro_users-1.1.0 → micro_users-1.1.1}/setup.py +1 -1
  6. {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/user_actions.html +3 -3
  7. micro_users-1.1.0/users/tests.py +0 -3
  8. {micro_users-1.1.0 → micro_users-1.1.1}/LICENSE +0 -0
  9. {micro_users-1.1.0 → micro_users-1.1.1}/MANIFEST.in +0 -0
  10. {micro_users-1.1.0 → micro_users-1.1.1}/README.md +0 -0
  11. {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/dependency_links.txt +0 -0
  12. {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/requires.txt +0 -0
  13. {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/top_level.txt +0 -0
  14. {micro_users-1.1.0 → micro_users-1.1.1}/setup.cfg +0 -0
  15. {micro_users-1.1.0 → micro_users-1.1.1}/users/__init__.py +0 -0
  16. {micro_users-1.1.0 → micro_users-1.1.1}/users/admin.py +0 -0
  17. {micro_users-1.1.0 → micro_users-1.1.1}/users/apps.py +0 -0
  18. {micro_users-1.1.0 → micro_users-1.1.1}/users/filters.py +0 -0
  19. {micro_users-1.1.0 → micro_users-1.1.1}/users/forms.py +0 -0
  20. {micro_users-1.1.0 → micro_users-1.1.1}/users/migrations/0001_initial.py +0 -0
  21. {micro_users-1.1.0 → micro_users-1.1.1}/users/migrations/__init__.py +0 -0
  22. {micro_users-1.1.0 → micro_users-1.1.1}/users/models.py +0 -0
  23. {micro_users-1.1.0 → micro_users-1.1.1}/users/signals.py +0 -0
  24. {micro_users-1.1.0 → micro_users-1.1.1}/users/tables.py +0 -0
  25. {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/registration/login.html +0 -0
  26. {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/user_activity_log.html +0 -0
  27. {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/manage_users.html +0 -0
  28. {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/profile.html +0 -0
  29. {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/profile_edit.html +0 -0
  30. {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/user_form.html +0 -0
  31. {micro_users-1.1.0 → micro_users-1.1.1}/users/urls.py +0 -0
  32. {micro_users-1.1.0 → micro_users-1.1.1}/users/views.py +0 -0
@@ -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
@@ -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
@@ -16,7 +16,6 @@ users/forms.py
16
16
  users/models.py
17
17
  users/signals.py
18
18
  users/tables.py
19
- users/tests.py
20
19
  users/urls.py
21
20
  users/views.py
22
21
  users/migrations/0001_initial.py
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
8
8
 
9
9
  [project]
10
10
  name = "micro_users"
11
- version = "1.1.0"
11
+ version = "1.1.1"
12
12
  description = "Arabic Django user management app with abstract user, permissions, and activity logging"
13
13
  readme = "README.md"
14
14
  requires-python = ">=3.11"
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="micro_users",
8
- version="1.1.0",
8
+ version="1.1.1",
9
9
  author="DeBeski",
10
10
  author_email="debeski1@gmail.com",
11
11
  description="Arabic django user management app with abstract user, permissions, and activity logging",
@@ -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>
@@ -1,3 +0,0 @@
1
- from django.test import TestCase
2
-
3
- # Create your tests here.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes