Ticket #3905: core_management_py.patch

File core_management_py.patch, 507 bytes (added by kbussell@…, 18 years ago)
  • management.py

     
    557557    # Install custom SQL for the app (but only if this
    558558    # is a model we've just created)
    559559    for app in models.get_apps():
     560        app_name = app.__name__.split('.')[-2]
    560561        for model in models.get_models(app):
    561562            if model in created_models:
    562563                custom_sql = get_custom_sql_for_model(model)
Back to Top