Luke Plant
|
a666b98783
|
Fixed bug with Meta.ordering being ignored when slicing a single item off a QuerySet. Thanks, Gábor Fawkes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-23 19:55:30 +00:00 |
Jacob Kaplan-Moss
|
e6ee971498
|
The tests now run correctly with the new psycopg2 backend. There's 4 failures, but they all have to do with the new way the psycopg2 handles datetimes and are probably a single fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-18 18:25:49 +00:00 |
Jacob Kaplan-Moss
|
5a8ed6f7f6
|
Fixed whitespace in tests/runtests.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-18 18:03:27 +00:00 |
Adrian Holovaty
|
c643e12faf
|
Fixed #1321 -- Made DJANGO_SETTINGS_MODULE optional. You can now call django.conf.settings.configure() to set settings manually if you don't have a settings module. Thanks, Malcolm Tredinnick, Luke Plant, Fredrik Lundh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-16 21:28:06 +00:00 |
Malcolm Tredinnick
|
1006d6eb06
|
Fixed #1530 -- make count() respect distinct() on QuerySets. Create some
tests for this as well. Thanks to Adam Endicott for the original patch on which
this is based.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-14 23:49:29 +00:00 |
Luke Plant
|
c427479539
|
Updated tests in line with changed exception messages, fixing 2 failures.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-11 21:52:23 +00:00 |
Luke Plant
|
4116403a55
|
Updated 'or_lookup' tests to give example of more compact syntax, for the sake of autogenerated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-11 21:51:24 +00:00 |
Adrian Holovaty
|
0727df90f0
|
Fixed #1781 -- Fixed unit tests to use new error message for DoesNotExist. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 18:36:32 +00:00 |
Luke Plant
|
f57e34e990
|
Fixed #1579 - added support for 'Q' objects in limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 00:26:24 +00:00 |
Adrian Holovaty
|
69d6bd7af3
|
Fixed #1745 -- Accessing many-to-many relationships without a PK value now throws an exception. Thanks, Luke
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 19:51:41 +00:00 |
Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 01:31:56 +00:00 |
Adrian Holovaty
|
5bb59acfde
|
Fixed #1632 -- Fixed typo in markup unit tests. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-13 13:16:05 +00:00 |
Adrian Holovaty
|
00b3891524
|
Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, Dexter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-12 13:35:31 +00:00 |
Adrian Holovaty
|
85f084de39
|
Added model unit tests for get_DATEFIELD_list(). Refs #1423
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-01 03:12:24 +00:00 |
Adrian Holovaty
|
250281361d
|
Changed get_object() not to use 'ordering' parameter from the model. Thanks, Ned Batchelder. Also updated some unit tests to show correct DoesNotExist output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-25 17:24:17 +00:00 |
Adrian Holovaty
|
f8915c0676
|
Removed a datetime test in tests/defaultfilters -- it was failing because it's hard to test datetime-related stuff
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-25 17:09:54 +00:00 |
Adrian Holovaty
|
9a74e89ef0
|
Fixed #1385 -- Allowed timesince filter to accept datetime.date objects. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-23 20:27:03 +00:00 |
Adrian Holovaty
|
e029c9f7f8
|
Added usage to unit-test OptionParser
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 20:08:20 +00:00 |
Adrian Holovaty
|
8f54a225a5
|
Fixed spaceless template-tag tests in trunk (from magic-removal [2030])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 17:59:31 +00:00 |
Adrian Holovaty
|
8654a91e12
|
Improved doctests to normalize long integers in compared output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 17:56:33 +00:00 |
Adrian Holovaty
|
0eaee6f5d4
|
Fixed #1067 and #276 -- Added a {% spaceless %} tag, available in all templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-15 01:51:30 +00:00 |
Adrian Holovaty
|
39639cfd22
|
Fixed #1176 -- Changed {% comment %} template tag not to generate a nodelist, so it's now possible to comment-out broken template tags. Thanks, Kieran Holland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-15 00:48:23 +00:00 |
Adrian Holovaty
|
bbfc645337
|
Fixed #1181 -- get_in_bulk no longer fails on empty input. Also added unit tests. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-06 20:43:14 +00:00 |
Adrian Holovaty
|
1714e79796
|
Changed repr for MultiValueDict
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-04 17:09:26 +00:00 |
Adrian Holovaty
|
49874d54a2
|
Fixed httpwrappers unit tests to reflect MultiValueDict repr() change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-01 18:43:09 +00:00 |
Adrian Holovaty
|
53aef92bf8
|
Fixed #1145 -- Added unit tests for default template filters and fixed two bugs in filters. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-01 18:37:33 +00:00 |
Adrian Holovaty
|
e296de5500
|
Changed resolve_variable to resolve integers and floats as integers and floats. Added ifequal unit tests. Refs #959
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-16 05:33:24 +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 |