Django

Code

Changeset 4049

Show
Ignore:
Timestamp:
11/06/06 23:20:00 (2 years ago)
Author:
jacob
Message:

Fixed #2848: broken doctest in comment app. Thanks, dummy@habmalnefrage.de

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/comments/models.py

    r3415 r4049  
    3535        Given a rating_string, this returns a tuple of (rating_range, options). 
    3636        >>> s = "scale:1-10|First_category|Second_category" 
    37         >>> get_rating_options(s) 
     37        >>> Comment.objects.get_rating_options(s) 
    3838        ([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], ['First category', 'Second category']) 
    3939        """