Changeset 143
- Timestamp:
- 07/17/05 01:12:58 (3 years ago)
- Files:
-
- django/trunk/docs/tutorial01.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial01.txt
r142 r143 117 117 118 118 In our simple poll app, we'll create two models: polls and choices. A poll has 119 a question , a publication date and an expiration date. A choice has two fields:120 the text of thechoice and a vote tally. Each choice is associated with a poll.119 a question and a publication date. A choice has two fields: the text of the 120 choice and a vote tally. Each choice is associated with a poll. 121 121 122 122 Edit the ``polls/models/polls.py`` file so that it looks like this::
