          # 1.3 does not include concrete model
          return model_cls
  
  
  # View._allowed_methods only present from 1.5 onwards
  if django.VERSION >= (1, 5):
      from django.views.generic import View
  else:
      from django.views.generic import View as DjangoView
  
      class View(DjangoView):
          def _allowed_methods(self):
              return [m.upper() for m in self.http_method_names if hasattr(self, m)]
  
  
  # PATCH method is not implemented by Django
  if 'patch' not in View.http_method_names:
      View.http_method_names = View.http_method_names + ['patch']
  
  
 
</s>
          # 1.3 does not include concrete model
          return model_cls
  
  











  # PATCH method is not implemented by Django
  if 'patch' not in View.http_method_names:
      View.http_method_names = View.http_method_names + ['patch']
  
  
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Added help_text argument to fields
rest_framework/compat.py