summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2005-11-03i18n: readded constant string translations, needed for template tags with ↵Georg Bauer
string constants git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03i18n: updated unittests and fixed bugs in the tags, removed the old tags and ↵Georg Bauer
fixed #719 (thx nesh) git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02i18n: updated documentation and unittests for the new ↵Georg Bauer
get_available_languages tag and the new switching view git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31i18n: merged to [1025] from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25Fixed #687 -- Fixed bug in floatformat template filter and added unit tests. ↵Adrian Holovaty
Thanks, Sune git-svn-id: http://code.djangoproject.com/svn/django/trunk@1007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23i18n: merged to [992] from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, SuneAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22Fixed #681 -- get_in_bulk no longer assumes PK fields are called id. Also ↵Adrian Holovaty
added unit tests to confirm. Thanks, Jeremy Dunck git-svn-id: http://code.djangoproject.com/svn/django/trunk@991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14i18n: merged to [873] from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14Changed template unit test runner to use new template-loader framework from ↵Adrian Holovaty
[870] git-svn-id: http://code.djangoproject.com/svn/django/trunk@871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14i18n: merged up to r868Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14Fixed #626 -- Moved template modules to django.core.template package. ↵Adrian Holovaty
django.core.template_loader is deprecated, in favor of django.core.template.loader. git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11i18n: added two additional unit tests for i18n (filter related)Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09i18n: merged r787:r814 from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08Fixed bug in tests/runtests.py -- some versions of MySQLdb require an ↵Adrian Holovaty
argument to connection.autocommit() git-svn-id: http://code.djangoproject.com/svn/django/trunk@805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-04i18n: merged r722:774 from trunkGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n: i18n string resolution now does string interpolation against the ↵Georg Bauer
context, too git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n: changed resolve_variable and resolve_variable_with_filters to allwaysGeorg Bauer
accept string constants and to accept i18n string constants with _(), too. That way the i18n tag isn't needed in simple cases. git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n: the i18n tag now supports gettext_noop. unittests updated.Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-01i18n now has support for ngettext and has unittestsGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #295 - added {{{forloop.revcounter}}} and {{{forloop.revcounter0}}} ↵Jacob Kaplan-Moss
variables to for loops. Also updated the docs and added unit tests to verify correct behavior. Thanks, Clint. git-svn-id: http://code.djangoproject.com/svn/django/trunk@736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #501 -- Fixed block.super in multi-level templates, and added unit ↵Adrian Holovaty
tests to confirm. Thanks for the patch, django@kieranholland.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Added unit test to confirm #558Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Fixed #556 -- ManyToManyField join tables no longer assume the primary keys ↵Adrian Holovaty
of both associated tables are integers. Also added unit tests to confirm. git-svn-id: http://code.djangoproject.com/svn/django/trunk@682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20Added unit test to one_to_one model that confirms #527Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-19Fixed #506 -- runtests.py now allows models to be tested individually. ↵Adrian Holovaty
Thanks, Simon git-svn-id: http://code.djangoproject.com/svn/django/trunk@646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11Fixed #486 -- Fixed bug in template filter parsing in edge cases, and added ↵Adrian Holovaty
unit tests. Thanks, Simon git-svn-id: http://code.djangoproject.com/svn/django/trunk@634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02Added unit test that confirms #404Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01Fixed #365 -- Changed template.resolve_variable to resolve hard-coded ↵Adrian Holovaty
strings. Thanks, davidschein git-svn-id: http://code.djangoproject.com/svn/django/trunk@587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29Fixed #256 and #334 -- Added {% ifequal %} template tag. Also, {% ifequal %} ↵Adrian Holovaty
and {% ifnotequal %} now both accept an optional {% else %} clause. Unit tests included. git-svn-id: http://code.djangoproject.com/svn/django/trunk@574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26Tiny change to docstring in many_to_one_null model unit testAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26Removed 'this isn't yet supported' message from custom_pk unit test ↵Adrian Holovaty
docstring -- it IS supported git-svn-id: http://code.djangoproject.com/svn/django/trunk@557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to ↵Adrian Holovaty
use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-19Added 'limit' and 'offset' unit tests, one of which fails in MySQL 3 (refs #350)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Added unit test that tests #323 -- currently fails for MySQL and passes for ↵Adrian Holovaty
PostgreSQL git-svn-id: http://code.djangoproject.com/svn/django/trunk@506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-11Changed timestamp and time typecasting to preserve microseconds. Added unit ↵Adrian Holovaty
tests to test this behavior, and added a db_typecast unit test module. Refs #306. git-svn-id: http://code.djangoproject.com/svn/django/trunk@487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-11Changed markup tests to not fail if required modules are not installedJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #241 -- added django.contrib.markup app with markup templatetags for ↵Jacob Kaplan-Moss
Textile, ReST and Markdown git-svn-id: http://code.djangoproject.com/svn/django/trunk@467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Doctest now uses the ELLIPSIS option, which allows the one_to_one test to ↵Jacob Kaplan-Moss
pass under sqlite. This fixes #238. git-svn-id: http://code.djangoproject.com/svn/django/trunk@466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Added a custom doctest OutputChecker that ignores differences between ints ↵Jacob Kaplan-Moss
and longs in values returned from the database; refs #238 git-svn-id: http://code.djangoproject.com/svn/django/trunk@465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #297 -- Added a '--settings' option to runtests.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Added more tests to custom_pk unit-test modelAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Added custom_pk unit tests, which fail because of #81Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #154 -- Fixed constraint error when deleting an object with a ↵Adrian Holovaty
many-to-many field git-svn-id: http://code.djangoproject.com/svn/django/trunk@447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09Improved unit-test framework so that it handles database errors more elegantlyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09Added some extra examples to many_to_many unit testAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09Added some extra examples to many_to_many unit testAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09Removed period from save_delete_hooks docstring -- it doesn't fit our styleAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08Companion checkin to [432]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08Fixed #280 -- Added _pre_delete() and _post_delete() hooks. Also updated the ↵Adrian Holovaty
docs and added a unit testdjango/core/meta/__init__.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@432 bcc190cf-cafb-0310-a4f2-bffc1f526a37