Re: Bulk add foreign keys in admin interface

2013-10-27 Thread Kristofer Pettijohn
I found that previously, but it doesn't seem to be quite what I need. Let me try to rephrase. I want to add two multi-selection boxes within the admin view page for the Product model. One of the multi-selections will be for Colors, and one will be for Sizes. I then want a button that the

Re: Bulk add foreign keys in admin interface

2013-10-26 Thread Timothy W. Cook
Yes it is possible and quite easy to do. Take a look at https://docs.djangoproject.com/en/1.6/ref/contrib/admin/actions/ Cheers, Tim On Sat, Oct 26, 2013 at 12:17 AM, Kristofer Pettijohn < kristo...@cybernetik.net> wrote: > I am using the following type of model setup: > > class

Bulk add foreign keys in admin interface

2013-10-25 Thread Kristofer Pettijohn
I am using the following type of model setup: class Product(models.Model): name = models.CharField(max_length=40) description = models.TextField(blank=True) active = models.BooleanField(default=True) priority = models.IntegerField(default=100) size_chart = models.ForeignKey(SizeChart)