Adrian Holovaty
|
104fcb2447
|
magic-removal: Fixed bugs in many_to_one unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 06:00:50 +00:00 |
Adrian Holovaty
|
08e3bc8dd8
|
magic-removal: Fixed bug in many_to_one unit test
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:57:30 +00:00 |
Adrian Holovaty
|
e49a09731b
|
magic-removal: Implemented QuerySet.values(). All 'lookup' unit tests pass.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:38:02 +00:00 |
Adrian Holovaty
|
f0d3b56d76
|
magic-removal: Fixed some errors in 'lookup' model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:21:11 +00:00 |
Adrian Holovaty
|
97e7ff7c27
|
magic-removal: Changed get_DATEFIELD_list() manager method to dates(), which takes the name of the date field. Updated docs and unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 04:36:41 +00:00 |
Adrian Holovaty
|
abd2bdba14
|
magic-removal: Fixed bug in manipulators model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 03:41:18 +00:00 |
Adrian Holovaty
|
a71574a476
|
magic-removal: Changed custom_managers unit tests to set core_filters directly rather than _set_core_filter()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 03:40:06 +00:00 |
Adrian Holovaty
|
2be3eefdff
|
magic-removal: Updated some of the unit tests to use new syntax. 175 unit-test failures at this point.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 00:38:23 +00:00 |
Luke Plant
|
2fd362f2d7
|
magic-removal: Updated model tests for new syntax: 'basic', 'custom_managers' and 'custom_columns'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-29 00:23:52 +00:00 |
Russell Keith-Magee
|
ce71979e53
|
magic-removal: Modified query lookup to correctly handle non-plural RelatedObjects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 17:06:05 +00:00 |
Joseph Kocherhans
|
faf9ff6316
|
magic-removal: Fixed some model tests that broke with removal of pluralization in [2111].
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-25 21:51:13 +00:00 |
Adrian Holovaty
|
69120fa9d3
|
magic-removal: Changed delete() safety-mechanism logic to happen as soon as possible.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:34:07 +00:00 |
Russell Keith-Magee
|
186c09d96f
|
magic-removal: Refs 1219 -- Added DELETE_ALL=True safety mechanism to prevent accidental deletion of entire table contents.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-18 13:16:58 +00:00 |
Adrian Holovaty
|
c85e3d4a2a
|
magic-removal: Added some unit tests to many_to_one that verify deletion of related objects
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 21:55:07 +00:00 |
Adrian Holovaty
|
51d2de6a56
|
magic-removal: Changed save_delete_hooks unit test to use new convention for overriding save() and delete()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 19:18:24 +00:00 |
Adrian Holovaty
|
6074e49daa
|
magic-removal: Merged to [2034]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 17:57:27 +00:00 |
Russell Keith-Magee
|
c983ab3e16
|
magic-removal: Fixed template unit tests. Corrected expected output for 'spaceless' tests, added extra error condition for cycle tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 12:47:12 +00:00 |
Russell Keith-Magee
|
00f93bc7bb
|
magic-removal: Fixed #1219 - Added bulk delete for objects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 12:06:16 +00:00 |
Adrian Holovaty
|
2cfb709ac2
|
magic-removal: Merged to [1967], a fantastic year in pop music
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-15 01:54:32 +00:00 |
Adrian Holovaty
|
08f032f6b5
|
magic-removal: Merged to [1964]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-15 00:53:19 +00:00 |
Joseph Kocherhans
|
fe02b0e998
|
magic-removal: updated tests to reflect new location of django.core.template
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-13 17:36:53 +00:00 |
Adrian Holovaty
|
b6954b5ffc
|
magic-removal: Fixed #1217 -- Added some template-tag unit tests. Thanks, nick at efford.net
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-13 17:22:44 +00:00 |
Joseph Kocherhans
|
7e3abb4c35
|
magic-removal: Updated tests to reflect new location of django.utils.httpwrappers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-11 21:46:32 +00:00 |
Russell Keith-Magee
|
0389e6261b
|
magic-removal: Cleaned up get_in_bulk() and __get_date_list() DB queries to match documentation and improve error checking.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-09 14:34:17 +00:00 |
Russell Keith-Magee
|
dde6963869
|
magic-removal: Fixed #1133 -- Added ability to use Q objects as args
in DB lookup queries.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-09 11:01:38 +00:00 |
Adrian Holovaty
|
8b1662a185
|
magic-removal: Changed 'reserved_names' model unit tests to add tests that get_date_extract_sql and get_date_trunc_sql properly escape table and column names
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-09 01:48:02 +00:00 |
Adrian Holovaty
|
f998c7bcc6
|
magic-removal: Fixed #1186 -- Fixed problem resolving primary key in some 'pk' database queries. Also lightly refactored query-parsing code. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-08 06:16:05 +00:00 |
Joseph Kocherhans
|
1091c18c39
|
magic-removal: django-admin.py init now installs django.contrib.sessions and django.contrib.sites. Also added init_minimal and changed runtests to use it. Note that init_minimal is not available as a django-admin.py command yet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-06 22:45:00 +00:00 |
Adrian Holovaty
|
bb8fb814a6
|
magic-removal: Merged to [1834]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-06 20:49:38 +00:00 |
Adrian Holovaty
|
f89510c60c
|
magic-removal: Changed manipulator unit tests to remove usage of sorted() function, which is Python 2.4 only
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-05 22:10:41 +00:00 |
Adrian Holovaty
|
1db708d4d7
|
magic-removal: Merged to [1817]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-04 17:06:16 +00:00 |
Adrian Holovaty
|
b72373a7fd
|
magic-removal: Fixed #1143 -- Fixed backwards incompatibilities in many-to-many DB API lookups, added support for reverse many-to-many lookups, added unit tests. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-30 16:38:26 +00:00 |
Adrian Holovaty
|
9d5272d61d
|
magic-removal: Fixed #1141 -- Fixed unit-test failures in [1799]. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-30 15:51:53 +00:00 |
Adrian Holovaty
|
d382abc875
|
magic-removal: Fixed #1136: Removed duplicated DB joins resulting from kwarg evaluation. Thanks, Russ Magee
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-29 19:11:00 +00:00 |
Robert Wittams
|
79ad41be03
|
magic-removal: Manipulator and deletion fixes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-22 15:07:36 +00:00 |
Adrian Holovaty
|
29fe9598e0
|
magic-removal: Renamed 'class META' to 'class Meta' in models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-21 02:42:27 +00:00 |
Adrian Holovaty
|
5d630bcc60
|
magic-removal: Added more manipulator unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-20 17:23:22 +00:00 |
Adrian Holovaty
|
55d49ed576
|
magic-removal: Added first stab at manipulator unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-19 05:42:08 +00:00 |
Robert Wittams
|
1fbf03112f
|
Mutually recursive models unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-16 22:15:07 +00:00 |
Robert Wittams
|
c86bfac264
|
Moved fields.py. Fixed template debug unit test failures.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-16 15:51:08 +00:00 |
Adrian Holovaty
|
58f61e0373
|
magic-removal: Removed SilentVariableFailure exception, in favor of a silent_variable_failure attribute on the exception. Updated docs and added unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-16 01:58:03 +00:00 |
Adrian Holovaty
|
96afbcff43
|
magic-removal: Fixed bug in custom_pk unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 21:50:37 +00:00 |
Robert Wittams
|
765abe8f70
|
magic-removal: related classes methods now added
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 21:30:49 +00:00 |
Adrian Holovaty
|
e18d87f84e
|
magic-removal: Implemented hook for custom managers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:49:48 +00:00 |
Adrian Holovaty
|
af96c19be2
|
magic-removal: Added custom_managers model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:41:48 +00:00 |
Adrian Holovaty
|
ebcc0dad23
|
magic-removal: Removed subclassing model unit tests for now
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:03:33 +00:00 |
Adrian Holovaty
|
aecff3e245
|
magic-removal: Various cleanup and moving, with respect to the recent django.core.db -> django.db move
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 06:24:32 +00:00 |
Adrian Holovaty
|
d0fabc0499
|
magic-removal: Moved django.core.meta to django.db.models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:02:51 +00:00 |
Adrian Holovaty
|
16f354236a
|
magic-removal: Removed unnecessary import in runtests.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:47:09 +00:00 |
Adrian Holovaty
|
464b638d90
|
magic-removal: Removed module_name calls in model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:25:46 +00:00 |
Adrian Holovaty
|
710d865b9d
|
magic-removal: Changed runtests.py to fix import-order error in overriding settings.INSTALLED_APPS
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:50:46 +00:00 |
Adrian Holovaty
|
8d4f9f73c8
|
magic-removal: Improved 'properties' model unit tests to test for setting attribute on a property
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:36:20 +00:00 |
Adrian Holovaty
|
bac086ba43
|
magic-removal: Added 'properties' model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:29:58 +00:00 |
Adrian Holovaty
|
257f7090ef
|
magic-removal: Added Manager.__get__ method that forbids access by instances. Also added unit tests. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-13 16:44:54 +00:00 |
Adrian Holovaty
|
d0c3aee64c
|
magic-removal: Small simplification of test_namespace assignment in runtests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-13 16:17:33 +00:00 |
Adrian Holovaty
|
683e075a01
|
magic-removal: Changed runtests.py to use new modeltests package and to import model classes directly, rather than magic modules
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 05:40:09 +00:00 |
Adrian Holovaty
|
750963bfc8
|
magic-removal: Added __init__.py to tests/modeltests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 04:13:59 +00:00 |
Adrian Holovaty
|
9b1dd36665
|
magic-removal: Moved model unit tests from 'testapp' package into 'modeltests' package, with each model test getting its own app
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 04:07:46 +00:00 |
Adrian Holovaty
|
24cf934578
|
magic-removal: Fixed bugs in custom_methods unit test
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 03:35:17 +00:00 |
Adrian Holovaty
|
141a5382d8
|
magic-removal: Fixed some bugs in unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 03:01:57 +00:00 |
Adrian Holovaty
|
5f420e14a9
|
magic-removal: Added get_pub_date_list() unit tests to basic model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-11 22:57:14 +00:00 |
Adrian Holovaty
|
577ac01250
|
magic-removal: Added 'choices' model unit test
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-11 22:22:49 +00:00 |
Adrian Holovaty
|
c1be782510
|
magic-removal: Changed model unit tests to use new Model.objects.* syntax instead of models.*
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-11 22:10:02 +00:00 |
Adrian Holovaty
|
63cf85b64d
|
Moved custom unit-test templatetag library into the unit test module itself, to fix errors when running the test module directly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 04:29:20 +00:00 |
Adrian Holovaty
|
65c1a9f1c9
|
Added two more unit tests for #982 (which still pass under Python 2.4). Refs #982
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-05 03:37:23 +00:00 |
Adrian Holovaty
|
027f2a378a
|
Added unit tests for #982, but they're passing for me on Python 2.4. Maybe the problem is Python 2.3? Refs #982
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-05 03:34:35 +00:00 |
Adrian Holovaty
|
e7e991e86b
|
Fixed #964 -- Added helpful error message if there's a problem in running the unit tests. Thanks, paolo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:39:39 +00:00 |
Adrian Holovaty
|
fa9cbe5ea0
|
Added unit tests to confirm #452. Refs #452.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:01:46 +00:00 |
Adrian Holovaty
|
9abc012003
|
Fixed bug in basic.py model unit tests caused by [1511] -- the special-case MySQL thing needs to be at the end of the tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:01:13 +00:00 |
Jacob Kaplan-Moss
|
c28daf2289
|
Fixed #757: manually set AutoField values are now respected; also added unit test to verify the correct behavior. Thanks, cygnus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 03:06:30 +00:00 |
Adrian Holovaty
|
9541d7a7c7
|
Fixed #251 -- Added OR support to queries, via the new 'complex' DB API keyword argument. Updated docs and added unit tests. Also removed old, undocumented '_or' parameter. Thanks, Hugo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 06:14:05 +00:00 |
Adrian Holovaty
|
991bb61242
|
Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 04:08:46 +00:00 |
Adrian Holovaty
|
3ede006fc9
|
Fixed #911 -- Made template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-26 22:46:31 +00:00 |
Adrian Holovaty
|
473eabc447
|
Negligible spacing change in tests/othertests/templates.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 01:54:17 +00:00 |
Adrian Holovaty
|
5d863f1fbd
|
Fixed #603 -- Added template debugging errors to pretty error-page output, if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-23 23:10:17 +00:00 |
Adrian Holovaty
|
bedf10a98d
|
Fixed #598 -- Added {% include %} template tag. Added docs and unit tests. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-22 05:44:04 +00:00 |
Adrian Holovaty
|
10ca90a2fd
|
Added unit tests to verify OneToOne deletion works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-21 02:34:05 +00:00 |
Adrian Holovaty
|
db94402ea6
|
Added unit tests to verify #800. Refs #800
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-21 02:33:46 +00:00 |
Adrian Holovaty
|
9347f748b0
|
Added an EmailField to the many_to_one API tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-20 22:40:46 +00:00 |
Adrian Holovaty
|
887ed3ad2c
|
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
|
2005-11-20 22:17:00 +00:00 |
Georg Bauer
|
3478fb51d6
|
fixed two failing i18n tests - they only failed when using ./runtests, now they work both ways. And template tests give tracebacks when they fail.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-17 15:55:04 +00:00 |
Adrian Holovaty
|
f6bf41e59a
|
Fixed #121 -- Django now quotes all names in SQL queries. Also added unit tests to confirm. Thanks, Robin Munn and Sune.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-14 01:44:35 +00:00 |
Adrian Holovaty
|
e3e37ed120
|
Fixed #724 -- Ensured get_next_by_FOO() and get_previous_by_FOO() methods don't skip or duplicate any records in the case of duplicate values. Thanks for reporting the bug, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-10 05:36:41 +00:00 |
Adrian Holovaty
|
28bce49e59
|
Added unit tests to disprove #724
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-10 00:03:53 +00:00 |
Adrian Holovaty
|
133e9e9639
|
Added unit tests to confirm #683 -- a new custom_columns model example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 21:56:05 +00:00 |
Adrian Holovaty
|
2a149e29b8
|
Fixed dateformat unit test that was failing -- the test was incorrect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 20:41:18 +00:00 |
Adrian Holovaty
|
ba87f474dc
|
Changed dateformat unit tests so that they use the en-us language. They were failing because they depended on the current user's LANGUAGE_CODE setting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 20:36:23 +00:00 |
Jacob Kaplan-Moss
|
5cf8f68423
|
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-04 04:59:46 +00:00 |
Adrian Holovaty
|
3226127aa2
|
Added model unit tests for year, month and day lookup. Refs #659
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-01 00:40:32 +00:00 |
Adrian Holovaty
|
e0d2793b7b
|
Fixed #687 -- Fixed bug in floatformat template filter and added unit tests. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-25 01:44:14 +00:00 |
Adrian Holovaty
|
17f62269c2
|
Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-22 21:37:59 +00:00 |
Adrian Holovaty
|
f82e64c6b2
|
Fixed #681 -- get_in_bulk no longer assumes PK fields are called id. Also 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-22 21:18:53 +00:00 |
Adrian Holovaty
|
6ee014725e
|
Changed template unit test runner to use new template-loader framework from [870]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-14 22:28:38 +00:00 |
Adrian Holovaty
|
f71f854628
|
Fixed #626 -- Moved template modules to django.core.template package. 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-14 20:10:13 +00:00 |
Adrian Holovaty
|
b63abf0379
|
Fixed bug in tests/runtests.py -- some versions of MySQLdb require an argument to connection.autocommit()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-08 20:56:34 +00:00 |
Jacob Kaplan-Moss
|
27b1f69d79
|
Fixed #295 - added {{{forloop.revcounter}}} and {{{forloop.revcounter0}}} 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-29 23:34:29 +00:00 |
Adrian Holovaty
|
8a7189f38f
|
Fixed #501 -- Fixed block.super in multi-level templates, and added unit 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-29 04:22:09 +00:00 |
Adrian Holovaty
|
fa8662a13f
|
Added unit test to confirm #558
git-svn-id: http://code.djangoproject.com/svn/django/trunk@696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-26 05:00:29 +00:00 |
Adrian Holovaty
|
c05cce5c52
|
Fixed #556 -- ManyToManyField join tables no longer assume the primary keys 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-25 18:29:59 +00:00 |
Adrian Holovaty
|
473306a658
|
Added unit test to one_to_one model that confirms #527
git-svn-id: http://code.djangoproject.com/svn/django/trunk@648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-20 01:12:24 +00:00 |