Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Corrected a couple comments in `model_forms` tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1eecc5a47e650e842231e5082c8f1f5a79a40afb 1 parent 8c9b654
Gary Wilson Jr. authored November 09, 2007

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  tests/modeltests/model_forms/models.py
4  tests/modeltests/model_forms/models.py
@@ -517,7 +517,7 @@ def __unicode__(self):
517 517
 ...
518 518
 ValidationError: [u'Enter a list of values.']
519 519
 
520  
-# Add a Category object *after* the ModelChoiceField has already been
  520
+# Add a Category object *after* the ModelMultipleChoiceField has already been
521 521
 # instantiated. This proves clean() checks the database during clean() rather
522 522
 # than caching it at time of instantiation.
523 523
 >>> Category.objects.create(id=6, name='Sixth', url='6th')
@@ -525,7 +525,7 @@ def __unicode__(self):
525 525
 >>> f.clean([6])
526 526
 [<Category: Sixth>]
527 527
 
528  
-# Delete a Category object *after* the ModelChoiceField has already been
  528
+# Delete a Category object *after* the ModelMultipleChoiceField has already been
529 529
 # instantiated. This proves clean() checks the database during clean() rather
530 530
 # than caching it at time of instantiation.
531 531
 >>> Category.objects.get(url='6th').delete()

0 notes on commit 1eecc5a

Please sign in to comment.
Something went wrong with that request. Please try again.