Edgewall Software

Changes between Version 34 and Version 35 of GenshiTutorial


Ignore:
Timestamp:
Aug 30, 2007, 3:23:51 PM (17 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenshiTutorial

    v34 v35  
    176176}}}
    177177
    178 [[Image(model.png, align=right)]]
    179 
    180178== Data Model ==
    181179
    182180To continue, we'll need to first add some Python classes to define the data model the application will use. As mentioned above, we're using a simple pickle file for persistence, so all we need to do here is create a couple of very simply Python classes.
     181
     182[[Image(model.png)]]
    183183
    184184Inside the `geddit` directory, create a file named `model.py`, with the following content: