Logo
Explore Help
Sign In
Django/django
11
0
Fork 0
You've already forked django
Code Pull Requests Projects Releases Activity
django/tests/regressiontests/null_queries
History
Russell Keith-Magee afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
assert_ -> assertTrue
 assertEquals -> assertEqual
 failUnless -> assertTrue

For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 15:04:39 +00:00
..
__init__.py
Fixes #2737 -- Added code to allow None as a query value for __exact queries, raising an error otherwise. __exact=None is interpreted as the SQL 'value = NULL'. This fixes some minor problems with queries on unsaved objects with related object sets, and stops queries with a value of None being outright ignored (even if they reference an unknown attribute).
2006-10-14 02:48:05 +00:00
models.py
Migrated null_queries doctests. Thanks to Stephan Jaekel.
2010-09-28 08:16:47 +00:00
tests.py
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
2011-03-03 15:04:39 +00:00
Powered by Gitea Version: 1.23.5 Page: 21ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API