plain.oauth 0.5.0__py3-none-any.whl → 0.7.0__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.
@@ -47,9 +47,5 @@ class Migration(migrations.Migration):
47
47
  ),
48
48
  ),
49
49
  ],
50
- options={
51
- "ordering": ("provider_key",),
52
- "unique_together": {("provider_key", "provider_user_id")},
53
- },
54
50
  ),
55
51
  ]
@@ -11,10 +11,6 @@ class Migration(migrations.Migration):
11
11
  ]
12
12
 
13
13
  operations = [
14
- migrations.AlterUniqueTogether(
15
- name="oauthconnection",
16
- unique_together=set(),
17
- ),
18
14
  migrations.AddConstraint(
19
15
  model_name="oauthconnection",
20
16
  constraint=models.UniqueConstraint(
plain/oauth/models.py CHANGED
@@ -109,7 +109,6 @@ class OAuthConnection(models.Model):
109
109
  user = get_user_model()(
110
110
  **oauth_user.user_model_fields,
111
111
  )
112
- user.full_clean()
113
112
  user.save()
114
113
  except (IntegrityError, ValidationError):
115
114
  raise OAuthUserAlreadyExistsError()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plain.oauth
3
- Version: 0.5.0
3
+ Version: 0.7.0
4
4
  Summary: OAuth login and API access for Plain.
5
5
  Home-page: https://plainframework.com
6
6
  License: BSD-3-Clause
@@ -2,19 +2,19 @@ plain/oauth/README.md,sha256=cMfq_xUk5qBrt1ENOAhsoIjsY-7NwA0upkfOK-vpS8M,11289
2
2
  plain/oauth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  plain/oauth/config.py,sha256=jk5l59taT_3Kh7EFrJuuubtrCHLfNBVkD2sWQ_M5_JQ,160
4
4
  plain/oauth/exceptions.py,sha256=TMGtIGkK3_J4rsEy1oPCmia7BnRSK8N8RMZm4_pNelA,189
5
- plain/oauth/migrations/0001_initial.py,sha256=mPNAno5kas8yt7OXKvYcwihKd6PM0yKLnO3UiRA08XA,1915
5
+ plain/oauth/migrations/0001_initial.py,sha256=8-JR2McXDUNRhMRUrrZPqzRNpdROfCsIo5Qkndkn-pg,1756
6
6
  plain/oauth/migrations/0002_alter_oauthconnection_options_and_more.py,sha256=3Mb0IU9KDRQfog0PjVbzuNv_AxCs7UVHnA0F263AKNo,581
7
7
  plain/oauth/migrations/0003_alter_oauthconnection_access_token_and_more.py,sha256=XSd_b8fbFyJQ9Hl117KH9g0-jOzXgekARBAtQqE9G14,625
8
8
  plain/oauth/migrations/0004_alter_oauthconnection_access_token_and_more.py,sha256=ewMJTajyqbyYsxmJqlGtgc3fZPlqZWhX-Fnect1xgnQ,648
9
- plain/oauth/migrations/0005_alter_oauthconnection_unique_together_and_more.py,sha256=1CjiVmWqSqy_9f3H4Z1nQYGECgT8HUAXinNhHjbJql8,698
9
+ plain/oauth/migrations/0005_alter_oauthconnection_unique_together_and_more.py,sha256=3hmuSvIZhn-haEKOGN3lQzcXD7b_Hy0P8Wa7LOAvJ1k,576
10
10
  plain/oauth/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- plain/oauth/models.py,sha256=v1Onc088mPRM7EZDUCxrsMZTVCypB1mpkHpq5nYw_gU,6881
11
+ plain/oauth/models.py,sha256=JKST_orOFzywvtoQbrTO9cn7lKLJgjaBUJTN9RqXw7c,6843
12
12
  plain/oauth/providers.py,sha256=NQNgxqNdU5ZFMA12vKZFTHagWx5SoMBf-fiZXmkFFps,7060
13
13
  plain/oauth/staff.py,sha256=NtmyFURkKMH6hRp7sjl8FUWYOGSA7M0tLKRyXUciPj4,1288
14
14
  plain/oauth/templates/oauth/error.html,sha256=xkkWw57sZ3fz4dDfH30SVtq3okJNnJmrSRPfGxrxjh8,108
15
15
  plain/oauth/urls.py,sha256=NyP_yDKayJYrCdw4oNVHUmtjbLNfzdnpdWc-eOsMlDM,676
16
16
  plain/oauth/views.py,sha256=G6icfdKkOOOKB00JVN4SCeZmBcGOGUvAgueyvOd9bLI,3042
17
- plain_oauth-0.5.0.dist-info/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
18
- plain_oauth-0.5.0.dist-info/METADATA,sha256=x2FB5VNhAjFNmELQysjUmysgRYZt_TLKP6Xs_1FJ6Mg,12136
19
- plain_oauth-0.5.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
- plain_oauth-0.5.0.dist-info/RECORD,,
17
+ plain_oauth-0.7.0.dist-info/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
18
+ plain_oauth-0.7.0.dist-info/METADATA,sha256=YYGbxj3FhbZlOpZjf1hiIIzvUfVM7xACPoVMjTkjjcs,12136
19
+ plain_oauth-0.7.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
+ plain_oauth-0.7.0.dist-info/RECORD,,