diff --git a/DOC.md b/DOC.md index 73fce25..a9a3c4b 100644 --- a/DOC.md +++ b/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()