Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 4323c228cc777e823c2d212858c333fbbc8766ad 1 parent fc26da6
Malcolm Tredinnick authored September 12, 2010
2  django/core/management/commands/flush.py
@@ -72,7 +72,7 @@ def handle_noargs(self, **options):
72 72
                     m for m in models.get_models(app, include_auto_created=True)
73 73
                     if router.allow_syncdb(db, m)
74 74
                 ])
75  
-            emit_post_sync_signal(all_models, verbosity, interactive, db)
  75
+            emit_post_sync_signal(set(all_models), verbosity, interactive, db)
76 76
 
77 77
             # Reinstall the initial_data fixture.
78 78
             kwargs = options.copy()

0 notes on commit 4323c22

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