Skip to content
Browse files

Always pass models in post_syncdb signals as a set (not as a list


Fixed #5848, thanks to PJCrosier.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent fc26da6 commit 4323c228cc777e823c2d212858c333fbbc8766ad @malcolmt malcolmt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/management/commands/
2 django/core/management/commands/
@@ -72,7 +72,7 @@ def handle_noargs(self, **options):
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()

0 comments on commit 4323c22

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