diff options
| author | Tom Christie | 2012-09-07 10:57:04 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-07 10:57:04 +0100 |
| commit | 071e7d72cd3d0f48bd3c0f8e22da319a9c4d4a09 (patch) | |
| tree | 089dced8775be183bd7b44b6810f98c1c3f79c7f /djangorestframework/mixins.py | |
| parent | b8559c619288be71d1f0709d3c4e622580da7e2d (diff) | |
| download | django-rest-framework-071e7d72cd3d0f48bd3c0f8e22da319a9c4d4a09.tar.bz2 | |
Fix method overloading
Diffstat (limited to 'djangorestframework/mixins.py')
| -rw-r--r-- | djangorestframework/mixins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/mixins.py b/djangorestframework/mixins.py index 4b833aac..6ab7ab6e 100644 --- a/djangorestframework/mixins.py +++ b/djangorestframework/mixins.py @@ -94,4 +94,4 @@ class MetadataMixin(object): # for name, field in form.fields.iteritems(): # field_name_types[name] = field.__class__.__name__ # content['fields'] = field_name_types - raise Response(content, status=status.HTTP_200_OK) + return Response(content, status=status.HTTP_200_OK) |
