Changes between Version 6 and Version 7 of DjangoCheatSheet


Ignore:
Timestamp:
06/20/2006 12:59:46 AM (9 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoCheatSheet

    v6 v7  
    22The django tutorials are quite good.  The goal of this cheat sheet is to create a quick start guide so that after reading the tuts over once or twice you have a more handy reference.  Things in this guide are done the 'right' way with generic views and templates right off the bat.  Please please add to this page.
    33
    4 == Starting a project... ==
     4= Starting a project... =
    55
    66{{{
     
    2525
    2626
    27 == Creating an ''invoices'' application... ==
     27= Creating an ''invoices'' application... =
    2828
    2929{{{
     
    3434
    3535
    36 === Create your data model ===
     36== Create your data model ==
    3737{{{
    3838from django.db import models
     
    5656
    5757
    58 === Design your urls ===
     58== Design your urls ==
    5959
    6060in the project root directory, edit urls.py:
     
    8080''see: [http://www.djangoproject.com/documentation/generic_views/ generic views]
    8181
    82 === Create your templates ===
     82== Create your templates ==
    8383
    8484First create ''Acme_base.html'' in templates
Back to Top