Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 027f2a378a836d828347f3d295cae4f83a9cad71 1 parent 74d69af
Adrian Holovaty adrianholovaty authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/testapp/models/basic.py
6 tests/testapp/models/basic.py
View
@@ -158,6 +158,12 @@ class Article(meta.Model):
>>> a8.id
8L
+>>> a7 == a8
+False
+>>> a8 == articles.get_object(id__exact=8)
+True
+>>> a7 != a8
+True
"""
from django.conf import settings
Please sign in to comment.
Something went wrong with that request. Please try again.