Changes between Version 2 and Version 3 of CookBookIPAccessMiddleware


Ignore:
Timestamp:
12/21/2006 06:00:49 PM (8 years ago)
Author:
Manuel Saelices <msaelices@…>
Comment:

Tipo fix

Legend:

Unmodified
Added
Removed
Modified
  • CookBookIPAccessMiddleware

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