Skip to content

Commit f2d9749

Browse files
committed
Merge branch 'patch-1' of https://github.com/cool-RR/django-oauth-toolkit into cool-RR-patch-1
2 parents 52a45af + c523ec9 commit f2d9749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def get_absolute_url(self):
103103
return reverse('oauth2_provider:detail', args=[str(self.id)])
104104

105105
def __str__(self):
106-
return self.client_id
106+
return self.name or self.client_id
107107

108108

109109
class Application(AbstractApplication):

0 commit comments

Comments
 (0)