Changes between Version 3 and Version 4 of AjaxDojoLogin


Ignore:
Timestamp:
Jun 13, 2006, 2:19:31 AM (18 years ago)
Author:
anonymous
Comment:

fixes

Legend:

Unmodified
Added
Removed
Modified
  • AjaxDojoLogin

    v3 v4  
    33Assuming you have a project running and using the normal authentification scheme providen by django, it would be nice not to reload the page to show errors about login and password when the login is wrong.
    44
    5 We need to add a specific method to your applications view.py lets call it '''loginajax'''.
     5We need to add a specific method to your application's view.py for this example we will call the method '''loginajax'''.
    66We simply do a copy / past from '''/django/contrib/auth/view.py''' method login.
    77we just change the return values.
Back to Top