Ticket #5848: 5848.core.management.commands.syncdb.diff

File 5848.core.management.commands.syncdb.diff, 629 bytes (added by Pete Crosier, 16 years ago)

Make syncdb use a list for created_models instead

  • django/core/management/commands/syncdb.py

     
    9292
    9393        # Send the post_syncdb signal, so individual apps can do whatever they need
    9494        # to do at this point.
    95         emit_post_sync_signal(created_models, verbosity, interactive)
     95        emit_post_sync_signal(list(created_models), verbosity, interactive)
    9696
    9797        # Install custom SQL for the app (but only if this
    9898        # is a model we've just created)
Back to Top