aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/versioning.py
diff options
context:
space:
mode:
authorTom Christie2015-01-19 15:22:38 +0000
committerTom Christie2015-01-19 15:22:38 +0000
commit3cc39ffbceffc5fdbb511d9a10e7732329e8baa4 (patch)
treec2b0d159b8b66c723bf75de185a9429c2d2a857f /rest_framework/versioning.py
parent6065cdbd939542dec79708615bc3e75b38834f41 (diff)
downloaddjango-rest-framework-3cc39ffbceffc5fdbb511d9a10e7732329e8baa4.tar.bz2
NotImplemented -> NotImplementedError
Diffstat (limited to 'rest_framework/versioning.py')
-rw-r--r--rest_framework/versioning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/versioning.py b/rest_framework/versioning.py
index e31c71e9..a07b629f 100644
--- a/rest_framework/versioning.py
+++ b/rest_framework/versioning.py
@@ -17,7 +17,7 @@ class BaseVersioning(object):
def determine_version(self, request, *args, **kwargs):
msg = '{cls}.determine_version() must be implemented.'
- raise NotImplemented(msg.format(
+ raise NotImplementedError(msg.format(
cls=self.__class__.__name__
))