Remove weird syncdb managed thing - no longer needed.

This commit is contained in:
Andrew Godwin 2012-09-22 01:22:43 +01:00
parent 45e5eedea9
commit 9234131c05
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Command(NoArgsCommand):
opts = model._meta
converter = connection.introspection.table_name_converter
# Note that if a model is unmanaged we short-circuit and never try to install it
return opts.managed and not ((converter(opts.db_table) in tables) or
return not ((converter(opts.db_table) in tables) or
(opts.auto_created and converter(opts.auto_created._meta.db_table) in tables))