Changes between Version 16 and Version 17 of Signals


Ignore:
Timestamp:
Feb 14, 2007, 5:55:58 PM (18 years ago)
Author:
yary h <spm-django@…>
Comment:

made "created_models" description more accurate.

Legend:

Unmodified
Added
Removed
Modified
  • Signals

    v16 v17  
    164164 * `sender` -- the `models` module of the application which was just installed.
    165165 * `app` -- same as `sender`.
    166  * `created_models` -- a list of the model classes which were just installed.
     166 * `created_models` -- a list of the model classes which `manage.py` has created so far, regardless of app.
    167167 * `verbosity` -- indicates how much information `manage.py` is printing on screen. There are three possible values: 0 means no information, 1 means some information and 2 means all possible information. Functions which listen for this signal should adjust what they output to the screen based on the value of this argument.
    168168 * `interactive` -- whether `manage.py` is running in "interactive" mode; this is a boolean and so is either `True` or `False`. If `interactive` is `True`, it's safe to prompt the user to input things on the command line (for example, the auth app only prompts to create a superuser when `interactive` is `True`); if `interactive` is `False`, functions which listen for this signal should not try to prompt for anything.
Back to Top