Skip to content

Conversation

@alexdutton
Copy link
Contributor

NotImplemented is a singleton object, not an exception. You should be raising NotImplementedError here instead.

`NotImplemented` is a singleton object, not an exception. You should be raising `NotImplementedError` here instead.
@lovelydinosaur
Copy link
Contributor

Good point - could you update this PR to included all the places this is an issue... https://github.com/tomchristie/django-rest-framework/search?utf8=%E2%9C%93&q=NotImplemented

@lovelydinosaur lovelydinosaur added this to the 3.0.4 Release milestone Jan 19, 2015
lovelydinosaur added a commit that referenced this pull request Jan 19, 2015
NotImplemented is not an exception
@lovelydinosaur lovelydinosaur merged commit ae77ff9 into encode:master Jan 19, 2015
@lovelydinosaur lovelydinosaur changed the title NotImplemented is not an exception NotImplemented -> NotImplementedError Jan 19, 2015
@lovelydinosaur
Copy link
Contributor

Ignore that - I've gone ahead and added the extra places myself.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants