Code

Changes between Version 77 and Version 78 of RemovingTheMagic


Ignore:
Timestamp:
02/27/06 09:50:45 (8 years ago)
Author:
jacob
Comment:

Meh, fixed formatting of last change (preview, jacob, preview!)

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v77 v78  
    237237Also, the {{{Session}}} model has moved from django/models/core.py to django/contrib/sessions/models.py. If you're accessing the {{{Session}}} model for some reason, note that location change. 
    238238 
    239 === The "packages" module is no more == 
     239=== The "packages" module is no more === 
    240240 
    241241Packages no longer exist (they were redundant).  If you've done lookups against content-types or permissions you'll need to modify your code slightly: 
    242242 
    243     || Old                                                || New                                              || 
    244     || contenttypes.get_list(package__label__exact='foo') || ContentType.objects.filter(package__exact='foo') || 
    245     || permissions.get_list(package__label__exact='foo')  || Permission.objects.filter(package__exact='foo')  || 
     243|| Old                                                      || New                                                    || 
     244|| {{{contenttypes.get_list(package__label__exact='foo')}}} || {{{ContentType.objects.filter(package__exact='foo')}}} || 
     245|| {{{permissions.get_list(package__label__exact='foo')}}}  || {{{Permission.objects.filter(package__exact='foo')}}}  || 
    246246     
    247247=== Changes to model syntax ===