maquinaweb-shared-auth 0.2.16__py3-none-any.whl → 0.2.18__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.

Potentially problematic release.


This version of maquinaweb-shared-auth might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maquinaweb-shared-auth
3
- Version: 0.2.16
3
+ Version: 0.2.18
4
4
  Summary: Models read-only para autenticação compartilhada entre projetos Django.
5
5
  Author-email: Seu Nome <seuemail@dominio.com>
6
6
  License: MIT
@@ -12,9 +12,9 @@ shared_auth/models.py,sha256=ow38lE2oDAVz2OplyTnGbGR7TeAmoDn3qUiyWn6Z1WE,6178
12
12
  shared_auth/permissions.py,sha256=CTsd0xE_Z-LYNVwU4jOJLWvlcbdRG8mLkLMEnbmkhJA,2665
13
13
  shared_auth/router.py,sha256=zYidJ7j40lQLrhkCtAQAp-rQLhua_UF0X7SDzYRcV5w,668
14
14
  shared_auth/serializers.py,sha256=uhSrcmFgBUnIWUiKymQrsSNpFDTj3j1Eged2lPG2M0s,4588
15
- shared_auth/urls.py,sha256=Bj3EtpLDyNBEgtfVN0gVf11STOPJV8hzAnOb_cF2xi4,298
16
- shared_auth/views.py,sha256=r4UU97TDvhJdqPr4ifIYSflRaUBeQ9DMaDAxby7l3k0,1572
17
- maquinaweb_shared_auth-0.2.16.dist-info/METADATA,sha256=8D6D6yeKcHIbHZ_pDRYgCNRQoe6mBSPM2tbVZZbgkMw,27151
18
- maquinaweb_shared_auth-0.2.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
- maquinaweb_shared_auth-0.2.16.dist-info/top_level.txt,sha256=msyYRy02ZV7zz7GR1raUI5LXGFIFn2TIkgkeKZqKufE,12
20
- maquinaweb_shared_auth-0.2.16.dist-info/RECORD,,
15
+ shared_auth/urls.py,sha256=591wWEWJPaHEGkcOZ8yvfgxddRyOcZLgOc0vNtF7XRI,289
16
+ shared_auth/views.py,sha256=2hyLnYSWUscfq-jVcskt-ukzDt4vg6IXeKjRDRu9RXk,1519
17
+ maquinaweb_shared_auth-0.2.18.dist-info/METADATA,sha256=TkhNs0ZBiugWCtRRrOkjTPiRgu7JG5QueuyKbBLbnj8,27151
18
+ maquinaweb_shared_auth-0.2.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
+ maquinaweb_shared_auth-0.2.18.dist-info/top_level.txt,sha256=msyYRy02ZV7zz7GR1raUI5LXGFIFn2TIkgkeKZqKufE,12
20
+ maquinaweb_shared_auth-0.2.18.dist-info/RECORD,,
shared_auth/urls.py CHANGED
@@ -2,7 +2,7 @@ from rest_framework.routers import DefaultRouter
2
2
  from .views import OrganizationViewSet, UserViewSet
3
3
 
4
4
  router = DefaultRouter()
5
- router.register(r'api/organizations', OrganizationViewSet, basename='organization')
6
- router.register(r'auth/user', UserViewSet, basename='user')
5
+ router.register(r'organizations', OrganizationViewSet, basename='organization')
6
+ router.register(r'user', UserViewSet, basename='user')
7
7
 
8
8
  urlpatterns = router.urls
shared_auth/views.py CHANGED
@@ -3,7 +3,6 @@ from rest_framework.decorators import action
3
3
  from rest_framework.response import Response
4
4
  from rest_framework.permissions import IsAuthenticated
5
5
  from .middleware import get_member
6
- from .models import SharedOrganization, SharedMember
7
6
  from .serializers import OrganizationSerializer, UserSerializer
8
7
 
9
8
  class OrganizationViewSet(viewsets.ReadOnlyModelViewSet):