Changes between Version 3 and Version 4 of AjaxDojoLogin
- 06/13/06 02:19:31 (10 years ago)
v3 v4 3 3 Assuming 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. 4 4 5 We need to add a specific method to your application s view.py lets call it'''loginajax'''. 5 We need to add a specific method to your application '''loginajax'''. 6 6 We simply do a copy / past from '''/django/contrib/auth/view.py''' method login. 7 7 we just change the return values.