Changes between Version 1 and Version 2 of DjangoCheatSheet


Ignore:
Timestamp:
06/19/2006 11:01:05 PM (9 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoCheatSheet

    v1 v2  
    77}}}
    88
    9 * edit your database settings
    10 * set path to media dir
    11 ** media contains public files such as css and js files
    12 ** this path might be: /home/joe/AcmeIntranet/media
    13 * set path to template dir
    14 ** templates contains django html templates
    15 ** your applications will likely have their own template dirs.  Remember to add those as you create them
     9 * edit your database settings
     10 * set path to media dir ( e.g. /home/joe/AcmeIntranet/media )
     11  * ''media contains public files such as css and js files''
     12 * set path to template dir
     13  * ''templates contains django html templates''
     14  * ''your applications will likely have their own template dirs.  Remember to add those as you create them''
    1615
    1716== 2. Create ''invoices'' application. ==
    1817
    19 Edit urls.py to point to the app you will create
    20 {{{ (r'^invoices/', include('AcmeIntranet.invoices.urls')) }}}
     18'''Edit urls.py''' to point to the app you will create
     19{{{
     20(r'^invoices/', include('AcmeIntranet.invoices.urls'))
     21}}}
    2122
    2223Create the invoices app
Back to Top