Django

Code

Show
Ignore:
Timestamp:
04/26/08 21:50:16 (7 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/many_to_many/models.py

    r5876 r7477  
    127127[<Publication: Highlights for Children>, <Publication: Science News>, <Publication: Science Weekly>, <Publication: The Python Journal>] 
    128128 
     129# Excluding a related item works as you would expect, too (although the SQL 
     130# involved is a little complex). 
     131>>> Article.objects.exclude(publications=p2) 
     132[<Article: Django lets you build Web apps easily>] 
     133 
    129134# If we delete a Publication, its Articles won't be able to access it. 
    130135>>> p1.delete()