Changes between Version 3 and Version 4 of AjaxDojoLogin
- Timestamp:
- Jun 13, 2006, 2:19:31 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AjaxDojoLogin
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's view.py for this example we will call the method '''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.