diff options
| author | Tom Christie | 2015-02-06 13:21:35 +0000 |
|---|---|---|
| committer | Tom Christie | 2015-02-06 13:21:35 +0000 |
| commit | 1f996128458570a909d13f15c3d739fb12111984 (patch) | |
| tree | 81632546e432b1483ba82753d2226b685cdcbbd0 /rest_framework/views.py | |
| parent | 1d4956f61615ed32f52b2f92bb8ae31b09279a34 (diff) | |
| download | django-rest-framework-1f996128458570a909d13f15c3d739fb12111984.tar.bz2 | |
Upgrade pending deprecations to deprecations
Diffstat (limited to 'rest_framework/views.py')
| -rw-r--r-- | rest_framework/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/views.py b/rest_framework/views.py index 9445c840..b4abc4d9 100644 --- a/rest_framework/views.py +++ b/rest_framework/views.py @@ -409,7 +409,7 @@ class APIView(View): warnings.warn( 'The `exception_handler(exc)` call signature is deprecated. ' 'Use `exception_handler(exc, context) instead.', - PendingDeprecationWarning + DeprecationWarning ) response = exception_handler(exc) else: |
