(self, request, **kwargs)
Exactly copied from https://github.com/toastdriven/django-tastypie/blob/v0.9.14/tastypie/resources.py#L1314
        (BSD licensed) and modified to catch Exception and not returning traceback
Exactly copied from https://github.com/toastdriven/django-tastypie/blob/v0.9.14/tastypie/resources.py#L1314
        (BSD licensed) and modified to catch Exception and not returning traceback
Exactly copied from https : // github . com / toastdriven / django - tastypie / blob / v0 . 9 . 14 / tastypie / resources . py#L1314 ( BSD licensed ) and modified to catch Exception and not returning traceback
def post_list(self, request, **kwargs):
        """
        Exactly copied from https://github.com/toastdriven/django-tastypie/blob/v0.9.14/tastypie/resources.py#L1314
        (BSD licensed) and modified to catch Exception and not returning traceback
        """
        deserialized = self.deserialize(request, request.body, format=request.META.get('CONTENT_TYPE', 'application/json'))
        deserialized = self.alter_deserialized_detail_data(request, deserialized)
        bundle = self.build_bundle(data=dict_strip_unicode_keys(deserialized), request=request)
        try:
            updated_bundle = self.obj_create(bundle, **self.remove_api_resource_names(kwargs))
            location = self.get_resource_uri(updated_bundle)

            if not self._meta.always_return_data:
                return http.HttpCreated(location=location)
            else:
                updated_bundle = self.full_dehydrate(updated_bundle)
                updated_bundle = self.alter_detail_data_to_serialize(request, updated_bundle)
                return self.create_response(request, updated_bundle, response_class=http.HttpCreated, location=location)
        except AssertionError as e:
            bundle.data['error_message'] = str(e)
            return self.create_response(request, bundle, response_class=http.HttpBadRequest)
def post_list ( self , request , * * kwargs ) : deserialized = self . deserialize ( request , request . body , format = request . META . get ( 'CONTENT_TYPE' , 'application/json' ) ) deserialized = self . alter_deserialized_detail_data ( request , deserialized ) bundle = self . build_bundle ( data = dict_strip_unicode_keys ( deserialized ) , request = request ) try : updated_bundle = self . obj_create ( bundle , * * self . remove_api_resource_names ( kwargs ) ) location = self . get_resource_uri ( updated_bundle ) if not self . _meta . always_return_data : return http . HttpCreated ( location = location ) else : updated_bundle = self . full_dehydrate ( updated_bundle ) updated_bundle = self . alter_detail_data_to_serialize ( request , updated_bundle ) return self . create_response ( request , updated_bundle , response_class = http . HttpCreated , location = location ) except AssertionError as e : bundle . data [ 'error_message' ] = str ( e ) return self . create_response ( request , bundle , response_class = http . HttpBadRequest )