Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove weird syncdb managed thing - no longer needed.

  • Loading branch information...
commit 9234131c05ec0c63e035883d9586cb1630f3881a 1 parent 45e5eed
@andrewgodwin andrewgodwin authored
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))
Please sign in to comment.
Something went wrong with that request. Please try again.