Changes between Version 156 and Version 157 of RemovingTheMagic


Ignore:
Timestamp:
Jun 27, 2006, 7:35:08 AM (18 years ago)
Author:
sj@…
Comment:

These apps are added by default to new projects, but this was not the case with Django 0.91

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v156 v157  
    442442
    443443Session middleware has moved from {{{django.middleware.sessions.SessionMiddleware}}} to {{{django.contrib.sessions.middleware.SessionMiddleware}}}. Make sure to update your {{{MIDDLEWARE_CLASSES}}} setting, if you're using sessions.
     444
     445If you get the following errors upon starting the webserver:
     446{{{
     447admin.logentry: 'user' has relation with model User, which has not been installed
     448admin.logentry: 'content_type' has relation with model ContentType, which has not been installed
     449}}}
     450you need to add the apps {{{'django.contrib.contenttypes'}}} and {{{'django.contrib.auth'}}} to your {{{INSTALLED_APPS}}}.
    444451
    445452
Back to Top