Changes between Version 16 and Version 17 of DeveloperGuidelinesNewModule


Ignore:
Timestamp:
01/10/09 10:05:56 (13 years ago)
Author:
Fran Boon
Comment:

Need to duplicate login() function otherwsie don't return to where you were

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesNewModule

    v16 v17  
    9595{{{
    9696# T2 framework functions
    97 def login(): redirect(URL(r=request,c='default',f='login'))
     97def login():
     98    response.view='default/login.html'
     99    return dict(form=t2.login(),module_name=module_name,modules=modules,options=options)
    98100def logout(): t2.logout(next='login')
    99101def register(): redirect(URL(r=request,c='default',f='register'))