cardo-python-utils 0.5.dev0__py3-none-any.whl → 0.5.dev1__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.
- {cardo_python_utils-0.5.dev0.dist-info → cardo_python_utils-0.5.dev1.dist-info}/METADATA +2 -2
- {cardo_python_utils-0.5.dev0.dist-info → cardo_python_utils-0.5.dev1.dist-info}/RECORD +6 -6
- python_utils/django/auth/admin.py +1 -3
- {cardo_python_utils-0.5.dev0.dist-info → cardo_python_utils-0.5.dev1.dist-info}/WHEEL +0 -0
- {cardo_python_utils-0.5.dev0.dist-info → cardo_python_utils-0.5.dev1.dist-info}/licenses/LICENSE +0 -0
- {cardo_python_utils-0.5.dev0.dist-info → cardo_python_utils-0.5.dev1.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cardo-python-utils
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.dev1
|
|
4
4
|
Summary: Python library enhanced with a wide range of functions for different scenarios.
|
|
5
|
-
Author-email:
|
|
5
|
+
Author-email: CardoAI <hello@cardoai.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/CardoAI/cardo-python-utils
|
|
8
8
|
Project-URL: Repository, https://github.com/CardoAI/cardo-python-utils.git
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
cardo_python_utils-0.5.
|
|
1
|
+
cardo_python_utils-0.5.dev1.dist-info/licenses/LICENSE,sha256=N-YtxDy8n5A1Mo7JKKItNIlboiK_pMOZ48ojx76jo3g,1046
|
|
2
2
|
python_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
python_utils/choices.py,sha256=pu1fUBlem-Uz2J36FmDv-tzr0UqOSF00xIaF6cVOa4g,2505
|
|
4
4
|
python_utils/data_structures.py,sha256=ZqkZYPy20zyGYOVhwb9qst4vF_P7X2A9z5E36rMUC6I,16820
|
|
@@ -12,10 +12,10 @@ python_utils/time.py,sha256=7Wei3uJ02Bk-BFRf-e1axoG418XQOhrXPvTwNZgTdnw,9614
|
|
|
12
12
|
python_utils/types_hinting.py,sha256=QVWzmXRgNxhvln14tEX_FbQYryuVYhjWJ0dVOnlF6G4,120
|
|
13
13
|
python_utils/django/utils.py,sha256=lgLZLsUfdDJJmBYD2lqQDfiC9nDnT4oSIxVt3pKYIwI,16192
|
|
14
14
|
python_utils/django/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
-
python_utils/django/auth/admin.py,sha256=
|
|
15
|
+
python_utils/django/auth/admin.py,sha256=1zuqfvAXSKEEPvrdv7tYOG1x0namOIlJwPeHaF2f1EA,1517
|
|
16
16
|
python_utils/django/auth/drf.py,sha256=k7KISe1FZzwaPOpQU6geoTvnTnaVHa5sBALClb_n4-4,3735
|
|
17
17
|
python_utils/django/auth/ninja.py,sha256=h8O0otdOi6aUUDR4WXeh6OBfBMdeKl0_wF7CKrOtS_I,4237
|
|
18
|
-
cardo_python_utils-0.5.
|
|
19
|
-
cardo_python_utils-0.5.
|
|
20
|
-
cardo_python_utils-0.5.
|
|
21
|
-
cardo_python_utils-0.5.
|
|
18
|
+
cardo_python_utils-0.5.dev1.dist-info/METADATA,sha256=KjJsod4NI_Sui9swL-3UQEJCLMVoP4BiMZaJBzxNIcE,3067
|
|
19
|
+
cardo_python_utils-0.5.dev1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
20
|
+
cardo_python_utils-0.5.dev1.dist-info/top_level.txt,sha256=zAx6OfEsjJs8BEW3okSiG_j9gpkI69xWShzum6oBgKI,13
|
|
21
|
+
cardo_python_utils-0.5.dev1.dist-info/RECORD,,
|
|
@@ -44,6 +44,4 @@ class OIDCCustomAuthenticationBackend(OIDCAuthenticationBackend):
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
def has_permission(request):
|
|
47
|
-
|
|
48
|
-
# Only superusers will have access to do anything in the admin site
|
|
49
|
-
return request.user.is_active and request.user.is_superuser
|
|
47
|
+
return request.user.is_active
|
|
File without changes
|
{cardo_python_utils-0.5.dev0.dist-info → cardo_python_utils-0.5.dev1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{cardo_python_utils-0.5.dev0.dist-info → cardo_python_utils-0.5.dev1.dist-info}/top_level.txt
RENAMED
|
File without changes
|