We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a13b98 commit 20ec7baCopy full SHA for 20ec7ba
tests/models.py
@@ -1,7 +1,24 @@
1
from django.db import models
2
3
-from oauth2_provider.models import AbstractApplication
+from oauth2_provider.models import (
4
+ AbstractApplication,
5
+ AbstractAccessToken,
6
+ AbstractGrant,
7
+ AbstractRefreshToken,
8
+)
9
10
11
class SampleApplication(AbstractApplication):
12
custom_field = models.CharField(max_length=255)
13
+
14
15
+class SampleAccessToken(AbstractAccessToken):
16
+ custom_field = models.CharField(max_length=255)
17
18
19
+class SampleRefreshToken(AbstractRefreshToken):
20
21
22
23
+class SampleGrant(AbstractGrant):
24
0 commit comments