diff options
| author | Greg Kempe | 2015-02-04 16:03:03 +0200 |
|---|---|---|
| committer | Greg Kempe | 2015-02-04 16:03:03 +0200 |
| commit | 7bb5fd270da98d8957efb4bf0e4bd4679ddbcf5f (patch) | |
| tree | 1f74161bcd546509f1a0360b9d6f8ea7700ff53d /rest_framework/permissions.py | |
| parent | 46181341d5579cb7a1b07cd7203b2f94b6c9c119 (diff) | |
| download | django-rest-framework-7bb5fd270da98d8957efb4bf0e4bd4679ddbcf5f.tar.bz2 | |
FIX: Don't default to list in method args
Fixes @list_route and @detail_route so that they don't initialize their `methods` parameter as a list. In some cases the list gets cleared, and the result is that default parameter is now empty, and may get reused unexpectedly.
Diffstat (limited to 'rest_framework/permissions.py')
0 files changed, 0 insertions, 0 deletions
