mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04:16 +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
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user