|
Revision 7351, 335 bytes
(checked in by jkocherhans, 9 months ago)
|
newforms-admin: Merged from trunk up to [7350].
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 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 |
""" |
|---|