Changeset 4049
- Timestamp:
- 11/06/06 23:20:00 (2 years ago)
- Files:
-
- django/trunk/django/contrib/comments/models.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/comments/models.py
r3415 r4049 35 35 Given a rating_string, this returns a tuple of (rating_range, options). 36 36 >>> s = "scale:1-10|First_category|Second_category" 37 >>> get_rating_options(s)37 >>> Comment.objects.get_rating_options(s) 38 38 ([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], ['First category', 'Second category']) 39 39 """
