          self.check_object_permissions(self.request, obj)
  
          return obj
  
      ### The following methods are intended to be overridden.
  
      def pre_save(self, obj):
          """
          Placeholder method for calling before saving an object.
  
 
</s> remove     pk_url_kwarg = 'pk'  # Not provided in Django 1.3
    slug_url_kwarg = 'slug'  # Not provided in Django 1.3
 </s> add     pk_url_kwarg = 'pk'
    slug_url_kwarg = 'slug'
    ########################
    ### The following are placeholder methods,
    ### and are intended to be overridden.
          self.check_object_permissions(self.request, obj)
  
          return obj
  
    ########################
    ### The following are placeholder methods,
    ### and are intended to be overridden.
  
      def pre_save(self, obj):
          """
          Placeholder method for calling before saving an object.
  
keep keep keep keep replace keep keep keep keep keep
 Cleaning up around bits of API that will be pending deprecation 
rest_framework/generics.py