Kaydet (Commit) 887ed3ad authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Changed one_to_one unit test to use %r instead of %s in repr method

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst b4bb345b
......@@ -28,7 +28,7 @@ class Waiter(meta.Model):
name = meta.CharField(maxlength=50)
def __repr__(self):
return "%s the waiter at %s" % (self.name, self.get_restaurant())
return "%s the waiter at %r" % (self.name, self.get_restaurant())
API_TESTS = """
# Create a couple of Places.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment