Changes between Version 83 and Version 84 of RemovingTheMagic
- Timestamp:
- Feb 27, 2006, 5:27:53 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v83 v84 636 636 === Request.user is now set via middleware === 637 637 638 It used to be set in the modepython and wsgi handlers. You will need to add "django.contrib.auth.middleware.RequestUserMiddleware" somewhere '''after''' "django.contrib.sessions.middleware.SessionMiddleware" in your settings.py file. Otherwise authentication won't work.638 It used to be set in the modepython 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