mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	Always pass models in post_syncdb signals as a set (not as a list
sometimes). Fixed #5848, thanks to PJCrosier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -72,7 +72,7 @@ The full error: %s""" % (connection.settings_dict['NAME'], e)) | ||||
|                     m for m in models.get_models(app, include_auto_created=True) | ||||
|                     if router.allow_syncdb(db, m) | ||||
|                 ]) | ||||
|             emit_post_sync_signal(all_models, verbosity, interactive, db) | ||||
|             emit_post_sync_signal(set(all_models), verbosity, interactive, db) | ||||
|  | ||||
|             # Reinstall the initial_data fixture. | ||||
|             kwargs = options.copy() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user