Changes between Version 76 and Version 77 of RemovingTheMagic
- Timestamp:
- Feb 27, 2006, 11:48:34 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v76 v77 60 60 ALTER TABLE django_flatpages_sites RENAME TO django_flatpage_sites; 61 61 ALTER TABLE django_redirects RENAME TO django_redirect; 62 ALTER TABLE packages RENAME TO django_package;63 62 ALTER TABLE sites RENAME TO django_site; 63 DROP TABLE packages; 64 64 }}} 65 65 … … 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 == 240 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 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 239 247 === Changes to model syntax === 240 248