Skip to content

Commit 5ac1cdf

Browse files
authored
Merge pull request #300 from stefanfoulis/patch-2
Fix example in docs for translatable scopes
2 parents b1eb3ae + 1177d4c commit 5ac1cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sections/scopesclaims.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Somewhere in your Django ``settings.py``::
8282

8383
Inside your oidc_provider_settings.py file add the following class::
8484

85-
from django.utils.translation import ugettext as _
85+
from django.utils.translation import ugettext_lazy as _
8686
from oidc_provider.lib.claims import ScopeClaims
8787

8888
class CustomScopeClaims(ScopeClaims):

0 commit comments

Comments
 (0)