Code

Changes between Version 6 and Version 7 of DosAndDontsForApplicationWriters


Ignore:
Timestamp:
11/22/05 00:44:14 (9 years ago)
Author:
sune.kirkeby@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DosAndDontsForApplicationWriters

    v6 v7  
    2828 
    2929 * To avoid name clashes with templates from other applications all your templates should 
    30    go into {{{mnemosyne/templates/mnemosyne/}}}.  The {{{mnemosyne/templates}} directory 
    31    will need to be added to 'TEMPLATE_DIRS'. 
     30   go into {{{mnemosyne/templates/mnemosyne/}}}.  The {{{mnemosyne/templates}}} directory 
     31   will need to be added to {{{TEMPLATE_DIRS}}}, which happens automatically if the user has 
     32   the {{{app_directory}}} template-loader in {{{TEMPLATE_LOADERS}}}, which is the preferred 
     33   way to handle this. 
    3234 * Your templates should all extend a single {{{base}}}-template specific to 
    3335   your application, in my example it would be {{{mnemosyne/templates/mnemosyne/base.html}}}