django-users-iag-usp 0.1.4__py3-none-any.whl → 0.1.6__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.
- {django_users_iag_usp-0.1.4.dist-info → django_users_iag_usp-0.1.6.dist-info}/METADATA +2 -2
- django_users_iag_usp-0.1.6.dist-info/RECORD +7 -0
- ldap_user/admin.py +16 -1
- ldap_user/models.py +1 -1
- django_users_iag_usp-0.1.4.dist-info/RECORD +0 -7
- {django_users_iag_usp-0.1.4.dist-info → django_users_iag_usp-0.1.6.dist-info}/WHEEL +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-users-iag-usp
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Author-email: Marcelo Schneider <schenider.fei@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -9,5 +9,5 @@ Classifier: Framework :: Django
|
|
|
9
9
|
Classifier: Framework :: Django :: 4.2
|
|
10
10
|
Classifier: Framework :: Django :: 5.0
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Requires-Python: >=3.
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
13
|
Requires-Dist: django>=5.2.10
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
ldap_user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
ldap_user/admin.py,sha256=J7MTi1FzPl_3rDEl7QXnT-BjgTHckYIoJdr7tGZRIOg,643
|
|
3
|
+
ldap_user/apps.py,sha256=N8_kJDmbO1iw6Al6FOpGHRzn7NfX5gvUj6Yzge3UlZk,193
|
|
4
|
+
ldap_user/models.py,sha256=I8MBDxHLvwrc-HwYvDpUDIZTDCGZHfT_1iLrLi9Kcow,397
|
|
5
|
+
django_users_iag_usp-0.1.6.dist-info/METADATA,sha256=8qc1bLvLHJy551lCEf6jo099mOGPwld888d92VZpLVI,411
|
|
6
|
+
django_users_iag_usp-0.1.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
7
|
+
django_users_iag_usp-0.1.6.dist-info/RECORD,,
|
ldap_user/admin.py
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
from django.contrib import admin
|
|
2
|
+
from django.contrib.auth.admin import UserAdmin
|
|
3
|
+
from .models import LdapUser
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
@admin.register(LdapUser)
|
|
6
|
+
class CustomUserAdmin(UserAdmin):
|
|
7
|
+
list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff')
|
|
8
|
+
|
|
9
|
+
fieldsets = UserAdmin.fieldsets + (
|
|
10
|
+
('Informações Adicionais', {'fields': ('seu_campo_extra_1', 'seu_campo_extra_2')}),
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
add_fieldsets = UserAdmin.add_fieldsets + (
|
|
14
|
+
('Informações Adicionais', {'fields': ('seu_campo_extra_1', 'seu_campo_extra_2')}),
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
search_fields = ('username', 'first_name', 'last_name', 'email')
|
|
18
|
+
ordering = ('username',)
|
ldap_user/models.py
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
ldap_user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
ldap_user/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
|
|
3
|
-
ldap_user/apps.py,sha256=N8_kJDmbO1iw6Al6FOpGHRzn7NfX5gvUj6Yzge3UlZk,193
|
|
4
|
-
ldap_user/models.py,sha256=xZ4Hkzya6Mc00InuVUWGLSC0PSqpY8eXRWZ7yqtZ8c8,393
|
|
5
|
-
django_users_iag_usp-0.1.4.dist-info/METADATA,sha256=Xc6ZDbvgHmnSfhGmHyTq6lwJ1m0V2L55ayEVw2YQJMI,411
|
|
6
|
-
django_users_iag_usp-0.1.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
7
|
-
django_users_iag_usp-0.1.4.dist-info/RECORD,,
|
|
File without changes
|