Fix Docs.
This commit is contained in:
parent
04b417f744
commit
b107724b9a
1 changed files with 1 additions and 1 deletions
2
DOC.md
2
DOC.md
|
@ -125,7 +125,7 @@ class MyAppScopeClaims(AbstractScopeClaims):
|
|||
# print self.scopes
|
||||
try:
|
||||
self.some_model = SomeModel.objects.get(user=self.user)
|
||||
except UserInfo.DoesNotExist:
|
||||
except SomeModel.DoesNotExist:
|
||||
# Create an empty model object.
|
||||
self.some_model = SomeModel()
|
||||
|
||||
|
|
Loading…
Reference in a new issue