Changes between Version 34 and Version 35 of GenshiTutorial
- Timestamp:
- Aug 30, 2007, 3:23:51 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenshiTutorial
v34 v35 176 176 }}} 177 177 178 [[Image(model.png, align=right)]]179 180 178 == Data Model == 181 179 182 180 To 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)]] 183 183 184 184 Inside the `geddit` directory, create a file named `model.py`, with the following content: