Ticket #3905: core_management_py.patch
File core_management_py.patch, 507 bytes (added by , 18 years ago) |
---|
-
management.py
557 557 # Install custom SQL for the app (but only if this 558 558 # is a model we've just created) 559 559 for app in models.get_apps(): 560 app_name = app.__name__.split('.')[-2] 560 561 for model in models.get_models(app): 561 562 if model in created_models: 562 563 custom_sql = get_custom_sql_for_model(model)