Remove weird syncdb managed thing - no longer needed.
This commit is contained in:
parent
45e5eedea9
commit
9234131c05
|
@ -72,7 +72,7 @@ class Command(NoArgsCommand):
|
||||||
opts = model._meta
|
opts = model._meta
|
||||||
converter = connection.introspection.table_name_converter
|
converter = connection.introspection.table_name_converter
|
||||||
# Note that if a model is unmanaged we short-circuit and never try to install it
|
# 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))
|
(opts.auto_created and converter(opts.auto_created._meta.db_table) in tables))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue