For instance, I have a model called Person, and it has a bool field called 'isAthlete'. I would like to be able to check off True for 50 of these Person records, and then hit submit, without having to go into each Person model record and make the change. Is there an easy or already provided way to set this up in Django?
From stackoverflow
-
you can do this using django admin actions, http://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/
0 comments:
Post a Comment