mirror of
https://github.com/Hopiu/django.git
synced 2026-05-04 21:54:48 +00:00
Remove weird syncdb managed thing - no longer needed.
This commit is contained in:
parent
45e5eedea9
commit
9234131c05
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue