From: George Vilches <g...@thataddress.com>
Date: Tue, 14 Aug 2007 10:07:33 -0400
Local: Tues, Aug 14 2007 10:07 am
Subject: Re: Changing the options in manage.py, adding more signals (was Re: Adding hooks to methods that generate SQL in django/core/management.py)
Russell Keith-Magee wrote: Let's make the assumption that we can land the changes to manage.py that > On 8/12/07, George Vilches <g...@thataddress.com> wrote: >> 1) Add a signal to every option? > If we were going to go down this path, this would be the preferred would allow us to merge the SQL logger and the actual execution commands into a single keyword, so that things like "sqlall" or "sqlreset" would not be necessary, just their equivalent executions. (We can easily map this list backwards if we have to). Then, the commands that would need signals are (with a few footnotes): (merge sqlflush) loaddata [--verbosity] fixture, fixture, ... (merge sqlreset) (make this executable?) syncdb [--verbosity] [--noinput] (we would probably want to keep the following, but have a version sqlclear [appname ...] sqlcustom [appname ...] sqlindexes [appname ...] As far as the need goes, here's a generic example. Say I need to create I know there is a custom SQL option, but there's no good way to have the Thanks, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||