django-users-iag-usp 0.1.2__py3-none-any.whl → 0.1.3__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.2.dist-info → django_users_iag_usp-0.1.3.dist-info}/METADATA +1 -1
- django_users_iag_usp-0.1.3.dist-info/RECORD +3 -0
- django_users_iag_usp-0.1.2.dist-info/RECORD +0 -7
- ldap/__init__.py +0 -0
- ldap/admin.py +0 -3
- ldap/apps.py +0 -7
- ldap/models.py +0 -14
- {django_users_iag_usp-0.1.2.dist-info → django_users_iag_usp-0.1.3.dist-info}/WHEEL +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
ldap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
ldap/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
|
|
3
|
-
ldap/apps.py,sha256=9IJdYnroLbUjcvJMRM_mWjbv-AeO30zpKpInS3oShE8,188
|
|
4
|
-
ldap/models.py,sha256=xZ4Hkzya6Mc00InuVUWGLSC0PSqpY8eXRWZ7yqtZ8c8,393
|
|
5
|
-
django_users_iag_usp-0.1.2.dist-info/METADATA,sha256=v1UMCwc6GkWvAjGt0QZ2igG5ONValKUn6n2fNM0Ck_s,411
|
|
6
|
-
django_users_iag_usp-0.1.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
7
|
-
django_users_iag_usp-0.1.2.dist-info/RECORD,,
|
ldap/__init__.py
DELETED
|
File without changes
|
ldap/admin.py
DELETED
ldap/apps.py
DELETED
ldap/models.py
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
from django.contrib.auth.models import AbstractUser
|
|
2
|
-
from django.db import models
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class LdapUser(AbstractUser):
|
|
6
|
-
groups = models.TextField()
|
|
7
|
-
created_at = models.DateField(auto_now_add=True)
|
|
8
|
-
updated_at = models.DateField(auto_now=True)
|
|
9
|
-
|
|
10
|
-
def get_setor(self):
|
|
11
|
-
groups_striped = self.groups.replace(" ", "")
|
|
12
|
-
groups = groups_striped.split(",")
|
|
13
|
-
return groups
|
|
14
|
-
|
|
File without changes
|