Created
February 1, 2012 06:15
-
-
Save yumike/1715447 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.utils import simplejson as json | |
class JSONRequestMixin(object): | |
def get_request_data(self): | |
return json.loads(self.request.body) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment