1
0
mirror of https://github.com/django/django.git synced 2025-01-12 03:15:47 +00:00
django/django
Carl Meyer 5a16b64ed2 Avoid spurious failures in naturaltime tests.
Previous fix didn't cover timesince module, which naturaltime delegates to
under certain conditions. Extended mock of datetime to timesince module, and
switched to a fixed datetime rather than now() for testing, for more
reproducible tests (failures in mock will fail fast, rather than sporadically).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-26 15:17:43 +00:00
..
bin
conf Fixed #16360 -- Added WSGI entrypoint to startproject layout, and enabled internal servers (runserver and runfcgi) to use an externally-defined WSGI application. Thanks to Armin Ronacher, Jannis Leidel, Alex Gaynor, ptone, and Jacob Kaplan-Moss. 2011-10-22 04:30:10 +00:00
contrib Avoid spurious failures in naturaltime tests. 2011-10-26 15:17:43 +00:00
core Fixed #17099 -- Removed an out-of-date warning and some unused code, now that startapp doesn't require creating app inside project. Thanks ptone for the report. 2011-10-24 20:50:39 +00:00
db Remove all relative imports. We have always been at war with relative imports. 2011-10-18 00:47:49 +00:00
dispatch
forms Remove comments referencing encryption. Django doesn't do encryption. 2011-10-18 20:28:52 +00:00
http Remove all relative imports. We have always been at war with relative imports. 2011-10-18 00:47:49 +00:00
middleware
shortcuts
template Fixed #14806 -- Added support for contextual translations to the trans and blocktrans template tags. Thanks to jtiai for the report. 2011-10-19 04:59:47 +00:00
templatetags Fixed #14806 -- Added support for contextual translations to the trans and blocktrans template tags. Thanks to jtiai for the report. 2011-10-19 04:59:47 +00:00
test Fixed #15826 -- Made assertContains and assertNotContains work with SimpleTemplateResponse by forcing it to be rendered if it hasn't been rendered yet. Thanks to bmihelac for the report, to mmcnickle for the initial patch and tests, and to Carl Meyer for the guidance. 2011-10-22 09:15:50 +00:00
utils Fixed #14202 -- made the atom:link element optional in feeds. 2011-10-23 15:19:09 +00:00
views Fixed #17111 -- Made the redirect_to generic view properly handle query strings with percent symbols. Thanks, Chris Adams. 2011-10-26 06:33:13 +00:00
__init__.py