mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed some 5-space indents that were introduced with multidb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -52,9 +52,9 @@ class GenericForeignKey(object): | ||||
|         # using this model | ||||
|         ContentType = get_model("contenttypes", "contenttype") | ||||
|         if obj: | ||||
|              return ContentType.objects.db_manager(obj._state.db).get_for_model(obj) | ||||
|             return ContentType.objects.db_manager(obj._state.db).get_for_model(obj) | ||||
|         elif id: | ||||
|              return ContentType.objects.db_manager(using).get_for_id(id) | ||||
|             return ContentType.objects.db_manager(using).get_for_id(id) | ||||
|         else: | ||||
|             # This should never happen. I love comments like this, don't you? | ||||
|             raise Exception("Impossible arguments to GFK.get_content_type!") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user