Django

Code

Show
Ignore:
Timestamp:
04/26/08 21:50:16 (5 months ago)
Author:
mtredinnick
Message:

Merged the queryset-refactor branch into trunk.

This is a big internal change, but mostly backwards compatible with existing
code. Also adds a couple of new features.

Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/tests/modeltests/field_subclassing/models.py

    r7294 r7477  
    66from django.utils.encoding import force_unicode 
    77from django.core import serializers 
     8from django.core.exceptions import FieldError 
    89 
    910class Small(object): 
     
    5152        if lookup_type == 'isnull': 
    5253            return [] 
    53         raise TypeError('Invalid lookup type: %r' % lookup_type) 
     54        raise FieldError('Invalid lookup type: %r' % lookup_type) 
    5455 
    5556    def flatten_data(self, follow, obj=None): 
     
    9596Traceback (most recent call last): 
    9697... 
    97 TypeError: Invalid lookup type: 'lt' 
     98FieldError: Invalid lookup type: 'lt' 
    9899 
    99100# Serialization works, too.