I recently made a patch that can be used to get a similar result.
You can find the patch here: http://code.djangoproject.com/ticket/4528
regards,
Johan Bergström
On Jul 4, 7:54 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> I have the begging of something that may eventually get submitted, and
Russell Keith-Magee wrote:
> On 7/5/07, Nis Jørgensen <[EMAIL PROTECTED]> wrote:
>> Carl Karsten skrev:
>>> I have the begging of something that may eventually get submitted, and
>>> looking
>>> for guidance as I build it.
>>>
>>> In the spirit of DRY, I have a nifty script that helps create the
On 7/5/07, Nis Jørgensen <[EMAIL PROTECTED]> wrote:
>
> Carl Karsten skrev:
> > I have the begging of something that may eventually get submitted, and
> > looking
> > for guidance as I build it.
> >
> > In the spirit of DRY, I have a nifty script that helps create the db
> > defined in
> >
Carl Karsten skrev:
> I have the begging of something that may eventually get submitted, and
> looking
> for guidance as I build it.
>
> In the spirit of DRY, I have a nifty script that helps create the db defined
> in
> settings.py
>
[snip]
> I am thinking it would be nice if it was hung
On 7/5/07, Carl Karsten <[EMAIL PROTECTED]> wrote:
> So far I have only heard reasons why it isn't that important, but no reasons
> not
> to.
I'm cautiously skeptical. Probably the best route to take with
something like this would be to develop and release it as a standalone
utility; this lets
Adrian Holovaty wrote:
> On 7/4/07, Max Battcher <[EMAIL PROTECTED]> wrote:
>> I'm not sure if there is a large enough need for your script, Carl K.
>> Creating the databases themselves should be a rare activity.
>
> Agreed. One should only have to create a database once. It's dropping
> and
On 7/4/07, Max Battcher <[EMAIL PROTECTED]> wrote:
> I'm not sure if there is a large enough need for your script, Carl K.
> Creating the databases themselves should be a rare activity.
Agreed. One should only have to create a database once. It's dropping
and creating individual *tables* that
I'm not sure if there is a large enough need for your script, Carl K.
Creating the databases themselves should be a rare activity. Perhaps
you'd be better off looking for a deployment engine that supports what
you need, such as Capistrano.
--
--Max Battcher--
http://www.worldmaker.net/
I have the begging of something that may eventually get submitted, and looking
for guidance as I build it.
In the spirit of DRY, I have a nifty script that helps create the db defined in
settings.py
#!/usr/bin/env python
# mkdbuser.py
# prints the CREATE DATABASE and GRANT commands based on