Changes between Version 5 and Version 6 of DosAndDontsForApplicationWriters


Ignore:
Timestamp:
11/19/2005 09:06:58 AM (10 years ago)
Author:
L.Plant.98@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DosAndDontsForApplicationWriters

    v5 v6  
    2828
    2929 * To avoid name clashes with templates from other applications all your templates should
    30    go into {{{mnemosyne/templates/mnemosyne/}}}
     30   go into {{{mnemosyne/templates/mnemosyne/}}}.  The {{{mnemosyne/templates}} directory
     31   will need to be added to 'TEMPLATE_DIRS'.
    3132 * Your templates should all extend a single {{{base}}}-template specific to
    3233   your application, in my example it would be {{{mnemosyne/templates/mnemosyne/base.html}}}
     
    8384   and {{{/media/mnemosyne}}}.
    8485
     86== Package and module structure ==
     87
     88 * Separate generic apps that you are intending to distribute into a different project
     89   from other projects which might happen to use that app.  To avoid clashes, use a name for
     90   the project which is unique to you, the author, such as one based on a domain name that
     91   you own.  Examples:
     92   {{{
     93project_for_acme_com/
     94    apps/
     95        myapp/
     96ibofobi/
     97    apps/
     98        mnemosyne/
     99   }}}
     100   rather than:
     101   {{{
     102project_for_acme_com/
     103    apps/
     104        myapp/
     105        mnemosyne/
     106   }}}
     107   This will enable your urls.py module to be fully portable.   
     108
    85109== URLs ==
    86110
Back to Top