Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 5 and Version 6 of ExtendingQuickstart


Ignore:
Timestamp:
01/01/06 09:16:29 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExtendingQuickstart

    v5 v6  
    1515Let's start creating some files and dirs. 
    1616 
    17 mytemplate/ 
    18 mytemplate/setup.py 
    19 mytemplate/mytemplate/__init__.py 
    20 mytemplate/mytemplate/template/+package+/static/css/default.css 
     17    mytemplate/ 
     18 
     19    mytemplate/setup.py 
     20 
     21    mytemplate/mytemplate/__init__.py 
     22 
     23    mytemplate/mytemplate/template/+package+/static/css/default.css 
    2124 
    2225First we will edit the setup.py 
     
    3639}}} 
    3740 
    38 This setup basically tells pastescript that there is an template called mytemplate and its class is MyTemplate in the mytemplate module 
     41This setup basically tells pastescript that there is a template called mytemplate and its class is MyTemplate in the mytemplate module 
    3942 
    40 Now let's edit __init__.py 
     43Now let's edit {{{__init__.py}}} 
    4144 
    4245{{{ 
     
    5356}}} 
    5457 
    55 Now all you have to do is add anything to the template dir. 
     58Now all you have to do is add documentation templates, testing frameworks... to the template dir. 
    5659 
    57 Now you can run  
     60Now you can run: 
     61  
    5862tg-admin quickstart -t mytemplate and there should be a default.css file in your static/css/ dir! 
    5963