mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
capitalise Django
This commit is contained in:
parent
32506e2075
commit
9f169acb62
|
@ -70,7 +70,8 @@ available for Django to use. You should see a message
|
|||
|
||||
|
||||
## How Django chooses which language to use
|
||||
REST framework will use the same preferences to select which language to display as Django does. You can find more info in the [django docs on discovering language preferences][django-language-preference]. For reference, these are
|
||||
REST framework will use the same preferences to select which language to
|
||||
display as Django does. You can find more info in the [Django docs on discovering language preferences][django-language-preference]. For reference, these are
|
||||
|
||||
1. First, it looks for the language prefix in the requested URL
|
||||
2. Failing that, it looks for the `LANGUAGE_SESSION_KEY` key in the current user’s session.
|
||||
|
|
Loading…
Reference in New Issue
Block a user