mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 05:04:31 +03:00
Update routers.md
Reference to ```DefaultRouter``` should be ```SimpleRouter```
This commit is contained in:
parent
462c5e3d0d
commit
7382f8c6ad
|
@ -12,7 +12,7 @@ REST framework adds support for automatic URL routing to Django, and provides yo
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Here's an example of a simple URL conf, that uses `DefaultRouter`.
|
Here's an example of a simple URL conf, that uses `SimpleRouter`.
|
||||||
|
|
||||||
from rest_framework import routers
|
from rest_framework import routers
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user