plain.oauth 0.8.0__py3-none-any.whl → 0.8.1__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.
- plain/oauth/{staff.py → admin.py} +9 -9
- {plain_oauth-0.8.0.dist-info → plain_oauth-0.8.1.dist-info}/METADATA +1 -1
- {plain_oauth-0.8.0.dist-info → plain_oauth-0.8.1.dist-info}/RECORD +5 -5
- {plain_oauth-0.8.0.dist-info → plain_oauth-0.8.1.dist-info}/WHEEL +0 -0
- {plain_oauth-0.8.0.dist-info → plain_oauth-0.8.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,11 +1,11 @@
|
|
1
|
-
from plain.
|
2
|
-
from plain.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
StaffViewset,
|
1
|
+
from plain.admin.cards import ChartCard
|
2
|
+
from plain.admin.views import (
|
3
|
+
AdminModelDetailView,
|
4
|
+
AdminModelListView,
|
5
|
+
AdminViewset,
|
7
6
|
register_viewset,
|
8
7
|
)
|
8
|
+
from plain.models import Count
|
9
9
|
|
10
10
|
from .models import OAuthConnection
|
11
11
|
|
@@ -34,14 +34,14 @@ class ProvidersChartCard(ChartCard):
|
|
34
34
|
|
35
35
|
|
36
36
|
@register_viewset
|
37
|
-
class OAuthConnectionViewset(
|
38
|
-
class ListView(
|
37
|
+
class OAuthConnectionViewset(AdminViewset):
|
38
|
+
class ListView(AdminModelListView):
|
39
39
|
nav_section = "OAuth"
|
40
40
|
model = OAuthConnection
|
41
41
|
title = "Connections"
|
42
42
|
fields = ["id", "user", "provider_key", "provider_user_id"]
|
43
43
|
cards = [ProvidersChartCard]
|
44
44
|
|
45
|
-
class DetailView(
|
45
|
+
class DetailView(AdminModelDetailView):
|
46
46
|
model = OAuthConnection
|
47
47
|
title = "OAuth connection"
|
@@ -1,11 +1,11 @@
|
|
1
1
|
plain/oauth/README.md,sha256=RWGb-KlcYm6etIKAgypE7qqzmgRWskAaVdKxfrXybV8,9901
|
2
2
|
plain/oauth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
plain/oauth/admin.py,sha256=rqrGRRUVxOlG9wiuXtndIyQxd1VT67cvFy6qWo7LF-Q,1278
|
3
4
|
plain/oauth/config.py,sha256=jk5l59taT_3Kh7EFrJuuubtrCHLfNBVkD2sWQ_M5_JQ,160
|
4
5
|
plain/oauth/default_settings.py,sha256=dlN1J9vSOjjxPNLp-0qe-cLTqwM4E69ZAx_8lpxMhaM,28
|
5
6
|
plain/oauth/exceptions.py,sha256=TMGtIGkK3_J4rsEy1oPCmia7BnRSK8N8RMZm4_pNelA,189
|
6
7
|
plain/oauth/models.py,sha256=JKST_orOFzywvtoQbrTO9cn7lKLJgjaBUJTN9RqXw7c,6843
|
7
8
|
plain/oauth/providers.py,sha256=CqZg5pkB7yLK2Fkbc3dpY9ioYeh5tVoEuiJf1qn1qDM,7150
|
8
|
-
plain/oauth/staff.py,sha256=3RvJEFGVQ9gbVDi0d_EphrQg0NpwuS4YKOqIMMmj9q4,1278
|
9
9
|
plain/oauth/urls.py,sha256=NyP_yDKayJYrCdw4oNVHUmtjbLNfzdnpdWc-eOsMlDM,676
|
10
10
|
plain/oauth/views.py,sha256=G6icfdKkOOOKB00JVN4SCeZmBcGOGUvAgueyvOd9bLI,3042
|
11
11
|
plain/oauth/migrations/0001_initial.py,sha256=8-JR2McXDUNRhMRUrrZPqzRNpdROfCsIo5Qkndkn-pg,1756
|
@@ -15,7 +15,7 @@ plain/oauth/migrations/0004_alter_oauthconnection_access_token_and_more.py,sha25
|
|
15
15
|
plain/oauth/migrations/0005_alter_oauthconnection_unique_together_and_more.py,sha256=3hmuSvIZhn-haEKOGN3lQzcXD7b_Hy0P8Wa7LOAvJ1k,576
|
16
16
|
plain/oauth/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
plain/oauth/templates/oauth/error.html,sha256=xkkWw57sZ3fz4dDfH30SVtq3okJNnJmrSRPfGxrxjh8,108
|
18
|
-
plain_oauth-0.8.
|
19
|
-
plain_oauth-0.8.
|
20
|
-
plain_oauth-0.8.
|
21
|
-
plain_oauth-0.8.
|
18
|
+
plain_oauth-0.8.1.dist-info/METADATA,sha256=XlvCzLWntjvnH5gvvM6TjmmD2L3bt2NQWgUBeQvjIg8,10304
|
19
|
+
plain_oauth-0.8.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
20
|
+
plain_oauth-0.8.1.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
|
21
|
+
plain_oauth-0.8.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|