Changes between Version 84 and Version 85 of RemovingTheMagic
- Timestamp:
- Feb 27, 2006, 5:34:58 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v84 v85 636 636 === Request.user is now set via middleware === 637 637 638 It used to be set in the mod epython and wsgi handlers. You will need to add "django.contrib.auth.middleware.RequestUserMiddleware" somewhere '''after''' "django.contrib.sessions.middleware.SessionMiddleware" in MIDDLEWARE_CLASSES in your settings.py file. Otherwise authentication won't work.638 It used to be set in the mod_python and wsgi handlers. You will need to add "django.contrib.auth.middleware.RequestUserMiddleware" somewhere '''after''' "django.contrib.sessions.middleware.SessionMiddleware" in MIDDLEWARE_CLASSES in your settings.py file. Otherwise authentication won't work. 639 639 640 640 641 641 == New functionality you can start using == 642 642 643 643 644 === Models support properties ===