  
      def __contains__(self, key):
          return key in self.GET or key in self.POST
  
      def has_key(self, key):
          return key in self
          
      def get_full_path(self):
          return ''
  
      def is_secure(self):
 
</s> remove     def __contains__(self, key):
 </s> add     def has_key(self, key): </s> remove     def __contains__(self, key):
        return self.has_key(key)
 </s> add     __contains__ = has_key </s> remove     def __contains__(self, key):
        return self.has_key(key)

 </s> add 
    __contains__ = has_key
  
      def __contains__(self, key):
          return key in self.GET or key in self.POST
  
    __contains__ = has_key
    __contains__ = has_key
          
      def get_full_path(self):
          return ''
  
      def is_secure(self):
keep keep keep keep replace replace keep keep keep keep keep
 Refs #5138 -- Refactored implementation of __contains__ in HttpRequest introduced in [6097] after a suggestion from Malcolm. Applied a similar refactor for MergeDict and Context which had comparable behavior.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6098 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/http/__init__.py