5

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.

utku_karatas
  • 6,163
  • 4
  • 40
  • 52

3 Answers3

14

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.
  • 1,648
  • 1
  • 11
  • 11
4

Django "Mass Change" Admin Site Extension.

chris Frisina
  • 19,086
  • 22
  • 87
  • 167
  • 2
    The original blog seems to have disappeared. I've improved and posted it [here](http://code.google.com/p/django-mass-edit/) – Bufke Sep 04 '11 at 18:28
-3

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
  • 384,516
  • 81
  • 508
  • 779
  • 1
    Thanks for the answer S.Lott. I wish I could say that to the client though :-) – utku_karatas Aug 25 '09 at 15:44
  • Why can't you? Our application involves numerous bulk updates done as batch jobs -- Pythons scripts that use the ORM. – S.Lott Aug 25 '09 at 16:07
  • 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 Aug 25 '09 at 17:45
  • 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 Aug 25 '09 at 18:56