mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	newforms-admin: Merged from trunk up to [7602].
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -147,8 +147,13 @@ Test constructor for Restaurant. | ||||
| >>> c.save() | ||||
| >>> ir = ItalianRestaurant(name='Ristorante Miron', address='1234 W. Ash', serves_hot_dogs=False, serves_pizza=False, serves_gnocchi=True, rating=4, chef=c) | ||||
| >>> ir.save() | ||||
| >>> ItalianRestaurant.objects.filter(address='1234 W. Ash') | ||||
| [<ItalianRestaurant: Ristorante Miron the italian restaurant>] | ||||
|  | ||||
| >>> ir.address = '1234 W. Elm' | ||||
| >>> ir.save() | ||||
| >>> ItalianRestaurant.objects.filter(address='1234 W. Elm') | ||||
| [<ItalianRestaurant: Ristorante Miron the italian restaurant>] | ||||
|  | ||||
| # Make sure Restaurant and ItalianRestaurant have the right fields in the right | ||||
| # order. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user