Commits

Anonymous committed bfe757b

fixed inadvertent push (mercurial beginner mistake)

  • Participants
  • Parent commits 6d39404

Comments (0)

Files changed (1)

File tests/modeltests/basic/models.py

 >>> a6 = Article(pub_date=datetime(2005, 7, 31))
 >>> a6.save()
 >>> a6.headline
-'Default headline'
+u'Default headline'
 
 # For DateTimeFields, Django saves as much precision (in seconds) as you
 # give it.
 >>> a101.save()
 >>> a101 = Article.objects.get(pk=101)
 >>> a101.headline
-'Article 101'
+u'Article 101'
 
 # You can create saved objects in a single step
 >>> a10 = Article.objects.create(headline="Article 10", pub_date=datetime(2005, 7, 31, 12, 30, 45))
 [<Article: Article 11>, <Article: Article 12>]
 
 # Unicode data works, too.
-# johan: how dshould this be tested in Py3?
 >>> a = Article(headline=u'\u6797\u539f \u3081\u3050\u307f', pub_date=datetime(2005, 7, 28))
 >>> a.save()
 >>> Article.objects.get(pk=a.id).headline