mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge ac438177b8
into fd72a814f8
This commit is contained in:
commit
355ba491d0
|
@ -123,6 +123,16 @@ We'd also like to set a few global settings. We'd like to turn on pagination, a
|
||||||
],
|
],
|
||||||
'PAGE_SIZE': 10
|
'PAGE_SIZE': 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In order for the browsable API to properly render you should also add the
|
||||||
|
following information into `tutorial/settings.py`
|
||||||
|
|
||||||
|
INSTALLED_APPS = (
|
||||||
|
...
|
||||||
|
'django.contrib.staticfiles',
|
||||||
|
)
|
||||||
|
|
||||||
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
Okay, we're done.
|
Okay, we're done.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user