refactorize the authentication
- Migrate all the authentication business in a dedicated class (
models/auth.py
) - Refactorize the models using only two files
_db_pro.py
anddb.py
- The class should inherited from
Auth
- In order to use Ext JS instead of JQuery the methods
login
,register
,change_password
have to be modified. Another approach is to transform the HTML form returns by thelogin
method and to translate it into a Ext JS one (now working in the first try but more work might solve this)....