Commit 012b570
committed
ref(router): use the built in router of Django
DefaultRouter does all the actions we need and the @action and @link is not used anywhere in our code base.
@list_route and @detail_route exist if needed http://www.django-rest-framework.org/api-guide/routers/#defaultrouter1 parent f09b55e commit 012b570
2 files changed
Lines changed: 4 additions & 51 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments