app/django/contrib/comments/tests.py
changeset 54 03e267d67478
equal deleted inserted replaced
53:57b4279d8c4e 54:03e267d67478
       
     1 # coding: utf-8
       
     2 
       
     3 r"""
       
     4 >>> from django.contrib.comments.models import Comment
       
     5 >>> from django.contrib.auth.models import User
       
     6 >>> u = User.objects.create_user('commenttestuser', 'commenttest@example.com', 'testpw')
       
     7 >>> c = Comment(user=u, comment=u'\xe2')
       
     8 >>> c
       
     9 <Comment: commenttestuser: â...>
       
    10 >>> print c
       
    11 commenttestuser: â...
       
    12 """
       
    13