Commits

Anonymous committed b51fc2f

  • Participants
  • Parent commits 292ffbc

Comments (0)

Files changed (1)

 
 * Add //extauth// to your settings.INSTALLED_APPS
 
-* Add //extauth.session.CaptureRequestUser// to your settings.MIDDLEWARE_CLASSES.  This enables ExtAuth to find the current //request.user// without you having to specify it.  This is especially helpful in library functions where you may not want to pass in request or user objects.
+* Add //extauth.session.CaptureRequestUser// to your settings.MIDDLEWARE_CLASSES.  This enables ExtAuth to find the current //request.user// without you having to specify it.  This is especially helpful in library functions where you may not want to pass in request or user objects.  Alternately, you can just call //extauth.session.set_current_user(user)// in your own middleware.
 
 * Call //extauth.roles.autodiscover()// in your urls.py.  This is just like how the Django Admin app works.