Changes between Version 4 and Version 5 of DeveloperGuidelines


Ignore:
Timestamp:
12/20/08 03:41:16 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines

    v4 v5  
    121121SQLField('modified_on','datetime'), # Used by T2 to do edit conflict-detection
    122122
    123 AAA
    124  Controller
    125   Each controller which incldues protected functions needs this:
    126 {{{
    127    def login():
    128        response.view='login.html'
    129            return dict(form=t2.login())
    130    def logout(): t2.logout(next='login')
    131    def register():
    132            response.view='register.html'
    133            return dict(form=t2.register())
    134   Each protected function needs this:
    135    @t2.requires_login('login')
    136    def function():
    137 }}}
    138 
    139123How to add a new module?
    140124- copy existing & edit!
     
    155139Sahana3 uses a separate table for each lookup list
    156140
     141DeveloperGuidelinesAAA
     142
    157143DeveloperGuidelinesAdvanced