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.
- {micro_users-1.1.0 → micro_users-1.1.1}/PKG-INFO +1 -1
- {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/PKG-INFO +1 -1
- {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/SOURCES.txt +0 -1
- {micro_users-1.1.0 → micro_users-1.1.1}/pyproject.toml +1 -1
- {micro_users-1.1.0 → micro_users-1.1.1}/setup.py +1 -1
- {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/user_actions.html +3 -3
- micro_users-1.1.0/users/tests.py +0 -3
- {micro_users-1.1.0 → micro_users-1.1.1}/LICENSE +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/MANIFEST.in +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/README.md +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/dependency_links.txt +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/requires.txt +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/micro_users.egg-info/top_level.txt +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/setup.cfg +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/__init__.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/admin.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/apps.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/filters.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/forms.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/migrations/0001_initial.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/migrations/__init__.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/models.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/signals.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/tables.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/registration/login.html +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/user_activity_log.html +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/manage_users.html +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/profile.html +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/profile_edit.html +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/templates/users/user_form.html +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/urls.py +0 -0
- {micro_users-1.1.0 → micro_users-1.1.1}/users/views.py +0 -0
|
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
|
|
|
8
8
|
|
|
9
9
|
[project]
|
|
10
10
|
name = "micro_users"
|
|
11
|
-
version = "1.1.
|
|
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.
|
|
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
|
-
{%
|
|
18
|
-
|
|
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>
|
micro_users-1.1.0/users/tests.py
DELETED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|