http://simon.net.nz/articles/django-database-export-v1/ is nice :)
I was refering to something more than ju a way to make dumps - a
dumper which has an admin page where I could select what to dump and
other options.
--~--~-~--~~~---~--~~
You received this m
On 1/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
My proposal is a database data dumper based on django ORM - It would
not produce SQL but python code that would insert the data. Something
like (example dump):
You might want to check out the phase 3 patches associated with ticket
#2333
I half-wrote something similar (1) to extract some data for an app.
It's very preliminary - you'll need to hand-edit the ordering of
relationships etc, but you can get a list of the various api
save/create commands which will recreate the data.
Hope it helps,
Simon
[1] http://simon.net.nz/artic
On 1/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
My proposal is a database data dumper based on django ORM - It would
not produce SQL but python code that would insert the data. Something
like (example dump):
###
from os import environ
environ['DJANGO_SETTINGS_MODULE'] =
My proposal is a database data dumper based on django ORM - It would
not produce SQL but python code that would insert the data. Something
like (example dump):
###
from os import environ
environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from django.contrib.auth.models import User, G