Changes between Version 77 and Version 78 of RemovingTheMagic
- Timestamp:
- Feb 27, 2006, 11:50:45 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v77 v78 237 237 Also, 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. 238 238 239 === The "packages" module is no more == 239 === The "packages" module is no more === 240 240 241 241 Packages no longer exist (they were redundant). If you've done lookups against content-types or permissions you'll need to modify your code slightly: 242 242 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')}}} || 246 246 247 247 === Changes to model syntax ===