Changeset 543
- Timestamp:
- 08/21/05 13:26:56 (3 years ago)
- Files:
-
- django/trunk/docs/tutorial01.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial01.txt
r501 r543 346 346 347 347 Wait a minute. ``<Poll object>`` is, utterly, an unhelpful representation of 348 this object. Let's fix that by editing the polls model and adding a 349 ``__repr__()`` method to both ``Poll`` and ``Choice``:: 348 this object. Let's fix that by editing the polls model 349 (in the ``polls/models/polls.py`` file) and adding a ``__repr__()`` method to 350 both ``Poll`` and ``Choice``:: 350 351 351 352 class Poll(meta.Model):
