Skip to content

Fix #299 (change JSONRenderer staticmethods to classmethods) #300

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

Merged

Conversation

arielpontes
Copy link
Contributor

Remove all hardcoded calls to JSONRenderer methods and change all staticmethods to classmethods in rederers.py so they can be safely overriden.

@arielpontes arielpontes changed the title Fix #299 Fix #299 (change JSONRenderer staticmethods to classmethods) Nov 21, 2016
@codecov-io
Copy link

codecov-io commented Nov 21, 2016

Current coverage is 91.73% (diff: 100%)

Merging #300 into develop will increase coverage by 0.06%

@@            develop       #300   diff @@
==========================================
  Files            49         49          
  Lines          2305       2323    +18   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           2113       2131    +18   
  Misses          192        192          
  Partials          0          0          

Powered by Codecov. Last update ddf612d...0a06b48

@chrisclark
Copy link
Collaborator

Looks great, thanks.

@chrisclark chrisclark merged commit 31d1eb9 into django-json-api:develop Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants