diff options
| author | Tom Christie | 2011-05-13 17:19:12 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-05-13 17:19:12 +0100 |
| commit | 325e63a3a767bf4aedef7be616cc268a08537424 (patch) | |
| tree | df9bb4f81a569df85ef2d0dd5dfd4f111e633522 /djangorestframework/utils | |
| parent | 8f6bcac7f3f156831343cc7fec79f624dcc2639f (diff) | |
| download | django-rest-framework-325e63a3a767bf4aedef7be616cc268a08537424.tar.bz2 | |
Sorting out resources. Doing some crazy magic automatic url resolving stuff. Yum.
Diffstat (limited to 'djangorestframework/utils')
| -rw-r--r-- | djangorestframework/utils/mediatypes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/djangorestframework/utils/mediatypes.py b/djangorestframework/utils/mediatypes.py index 62a5e6f3..190cdc2d 100644 --- a/djangorestframework/utils/mediatypes.py +++ b/djangorestframework/utils/mediatypes.py @@ -43,6 +43,7 @@ def add_media_type_param(media_type, key, val): media_type.params[key] = val return str(media_type) + def get_media_type_params(media_type): """ Return a dictionary of the parameters on the given media type. |
