Changes between Version 7 and Version 8 of CookBookIPAccessMiddleware


Ignore:
Timestamp:
12/21/2006 06:09:44 PM (9 years ago)
Author:
Manuel Saelices <msaelices@…>
Comment:

last change (i hope)

Legend:

Unmodified
Added
Removed
Modified
  • CookBookIPAccessMiddleware

    v7 v8  
    3434== IPAccess Middleware ==
    3535
    36 Middleware mission is authenticate automatically with an user defined in models, '''only if''' the remote ip address exists in ''IPAccess'' table.
     36Middleware mission is authenticate automatically with an user defined in models, '''only if''' the browser remote ip address exists in ''IPAccess'' table.
    3737
    3838This is the code (in file ''myproj/myapp/middleware.py''):
     
    5858== Settings ==
    5959
    60 The middleware installation requires you insert ''IPAccessMiddleware'' into ''MIDDLEWARE_CLASSES''. Obviusly, it also requires the installation of !''AuthenticationMiddleware''.
     60The middleware installation requires you insert ''IPAccessMiddleware'' into ''MIDDLEWARE_CLASSES''. Obviusly, it also requires the installation of ''!AuthenticationMiddleware''.
    6161
    6262The code would be like that:
Back to Top