views:

217

answers:

2

Are there any admin extensions to let bulk editing data in Django Admin? (ie. Changing the picture fields of all product models at once. Note that this is needed for a users POV so scripting doesn't count.) Any thoughts on subject welcome.

A: 

You have SQL. You can write SQL UPDATE statements.

You have Python for writing batch scripts that interact with the Django ORM. This works really, really well for bulk changes.

S.Lott
Thanks for the answer S.Lott. I wish I could say that to the client though :-)
utku_karatas
Why can't you? Our application involves numerous bulk updates done as batch jobs -- Pythons scripts that use the ORM.
S.Lott
My clients IT is run by average Joe's. They can't possibly be bothered with SQL. Yet bulk editing is a requirement for the project. Hopefully Django 1.1 will come to the rescue.
utku_karatas
We don't use SQL. We use Python scripts using the Django ORM. No SQL of any kind. Just bulk load and extract applications that run from the command line. Very simple.
S.Lott
+5  A: 

With Django 1.1, you can create admin actions which can be applied to multiple entries at once. See the documentation on this subject.

af
Oh I was afraid this was going to be the only answer but still it's better than rolling a custom app. Thanks.
utku_karatas