From 73d82b3d0361d6a17bffc19a30142ec321465c63 Mon Sep 17 00:00:00 2001 From: Sam Sandberg Date: Tue, 16 Apr 2013 18:13:08 -0400 Subject: fixing a few typos in the doc... --- docs/server2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/server2.rst b/docs/server2.rst index 9b655f4..af8f66e 100644 --- a/docs/server2.rst +++ b/docs/server2.rst @@ -74,7 +74,7 @@ Note that OAuth 2 provider is still very much a work in progress, consider it a former is Authorization Code Grant and the latter Implicit Grant:: # max_length and choices depend on which response types you support - grant_type = django.db.models.CharField(max_length=4, + response_type = django.db.models.CharField(max_length=4, choices=[('Authorization code', 'code')]) **Scopes**: @@ -101,7 +101,7 @@ Note that OAuth 2 provider is still very much a work in progress, consider it a # serializing them into a string. redirect_uris = django.db.models.TextField() - # You might also want to mark a certain URI as defaul in case the + # You might also want to mark a certain URI as default in case the # client does not specify any in the authorization default_redirect_uri = django.db.models.TextField() -- cgit v1.2.1