Re: Issues with django-storages and gunicorn processes

2015-10-23 Thread Mike Herring
AM UTC-4, Vijay Khemlani wrote: > > Media Library? I'm not aware of something like that in django-storages > > On Wed, Oct 21, 2015 at 5:22 PM, Mike Herring > wrote: > >> I am using django-storages to store media files in Amazon S3. >> >> Gun

Issues with django-storages and gunicorn processes

2015-10-21 Thread Mike Herring
I am using django-storages to store media files in Amazon S3. Gunicorn spaws three worker processes, each running their own copy of S3BotoStorage. When I go into filebrowser and upload a file, the current worker process adds it to its entries list, and therefore knows that the file exists. When

ManyToMany doesn't support validators?

2015-10-13 Thread Mike Herring
Doc here: https://docs.djangoproject.com/en/1.8/ref/models/fields/#django.db.models.ManyToManyField ManyToManyField does not support validators. Is there a particular reason that ManyToManyField doesn't support validators? I would like to add a validator to require the user to select at least