Stefan Matthias Aust wrote:
> Carl, Jeremy,
> 
> Thanks for your answers.
> 
> Carl wrote:
> 
>> I just made this.  it should answer most of 1 and 2.
>> http://code.djangoproject.com/wiki/DatabaseReset
> 
> Somehow, it seems to me that there should be a standard utility
> function to initialize the system for command line tools. I saw your
> "nifty trick" twice and I used a similar approach.

I vote for ./manage.py -runscript myscript.py
which apparently has been shot down in the past.

> 
> Your migrate.py script seems to be very specific to your
> mysql-specific use case.

yes, but only for reading.  The writes into django db are all via the django db 
api.

The page is boarder line wiki worthy, but I got tired of pasting the same 3 
files into dpaste.com :)

Carl K

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to