diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2006-06-27 15:21:43 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2006-06-27 15:21:43 +0000 |
| commit | 2adbe11678030a019c1e279501e688acae3f85ce (patch) | |
| tree | d7b65888ad5ddfd473e734a09132eb5dfd784f46 /tests/modeltests/m2m_recursive | |
| parent | e923ed2a83a08ba2db7347e5d467f26949fa4877 (diff) | |
Fixes #2216 -- Added extra tests for model validity, and cleaned up warning messages for existing tests. Models are now invalid if the query string required to access a field (or related object) would clash with the name of another field (or related object). Previous tests only checked the accessor names, not the query string.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/m2m_recursive')
| -rw-r--r-- | tests/modeltests/m2m_recursive/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/m2m_recursive/models.py b/tests/modeltests/m2m_recursive/models.py index c109b9cc2c..dace32d565 100644 --- a/tests/modeltests/m2m_recursive/models.py +++ b/tests/modeltests/m2m_recursive/models.py @@ -2,7 +2,7 @@ 27. Many-to-many relationships between the same two tables In this example, A Person can have many friends, who are also people. Friendship is a -symmetrical relationshiup - if I am your friend, you are my friend. +symmetrical relationship - if I am your friend, you are my friend. A person can also have many idols - but while I may idolize you, you may not think the same of me. 'Idols' is an example of a non-symmetrical m2m field. Only recursive |
