Django

Code

Changeset 5131

Show
Ignore:
Timestamp:
04/30/07 21:44:24 (2 years ago)
Author:
mtredinnick
Message:

Fixed #3905 -- Report app_name correctly in errors during custom SQL
installation. Thanks, kbussell@gmail.com.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/management.py

    r5106 r5131  
    540540    # is a model we've just created) 
    541541    for app in models.get_apps(): 
     542        app_name = app.__name__.split('.')[-2] 
    542543        for model in models.get_models(app): 
    543544            if model in created_models: