Permalink
Browse files

Remove weird syncdb managed thing - no longer needed.

  • Loading branch information...
1 parent 45e5eed commit 9234131c05ec0c63e035883d9586cb1630f3881a @andrewgodwin andrewgodwin committed Sep 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/management/commands/syncdb.py
View
2 django/core/management/commands/syncdb.py
@@ -72,7 +72,7 @@ def model_installed(model):
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))

0 comments on commit 9234131

Please sign in to comment.