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
2009-08-24 13:33:31
Thanks for the answer S.Lott. I wish I could say that to the client though :-)
utku_karatas
2009-08-25 15:44:40
Why can't you? Our application involves numerous bulk updates done as batch jobs -- Pythons scripts that use the ORM.
S.Lott
2009-08-25 16:07:33
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
2009-08-25 17:45:55
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
2009-08-25 18:56:49
+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
2009-08-24 13:34:59
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
2009-08-25 15:43:57