aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/settings.md
diff options
context:
space:
mode:
authorTom Christie2012-09-12 10:12:13 +0100
committerTom Christie2012-09-12 10:12:13 +0100
commitc85f799ade0710dd27838e8bfc78989c80213d6a (patch)
tree39ffc44c768c1b24d9e06e64393eb2194216b571 /docs/api-guide/settings.md
parentd4f8b4cf0683923fe85652f8fd572d2931eb3074 (diff)
downloaddjango-rest-framework-c85f799ade0710dd27838e8bfc78989c80213d6a.tar.bz2
Updating docs
Diffstat (limited to 'docs/api-guide/settings.md')
-rw-r--r--docs/api-guide/settings.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md
index ae8dce76..2513928c 100644
--- a/docs/api-guide/settings.md
+++ b/docs/api-guide/settings.md
@@ -2,9 +2,13 @@
# Settings
-Configuration for REST framework is all namespaced inside the `API_SETTINGS` setting.
+> Namespaces are one honking great idea - let's do more of those!
+>
+> — [The Zen of Python][cite]
-For example your project's `settings.py` file might look like this:
+Configuration for REST framework is all namespaced inside a single Django setting, named `API_SETTINGS`.
+
+For example your project's `settings.py` file might include something like this:
API_SETTINGS = {
'DEFAULT_RENDERERS': (
@@ -133,3 +137,5 @@ The name of a URL parameter that may be used to override the HTTP `Accept` heade
If the value of this setting is `None` then URL accept overloading will be disabled.
Default: `'_accept'`
+
+[cite]: http://www.python.org/dev/peps/pep-0020/