Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplemented -> NotImplementedError #2434

Merged
merged 1 commit into from
Jan 19, 2015
Merged

NotImplemented -> NotImplementedError #2434

merged 1 commit into from
Jan 19, 2015

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.
@tomchristie
Copy link
Member

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

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

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