Re: Provide a way to pass kwargs when initializing the storage class

2015-11-08 Thread Shai Berger
On Sunday 08 November 2015 10:31:06 Marc Tamlyn wrote: > > (Side point: a temp dir based storage which could clean itself up between > rest runs would be amazing) > Yes, it would. https://code.djangoproject.com/ticket/23251

Re: Provide a way to pass kwargs when initializing the storage class

2015-11-08 Thread Marc Tamlyn
I'm definitely in favour of a format allowing multiple storage back ends referred to by name. For larger sites it is not unusual to manage files across multiple locations (eg several S3 buckets). The storage param to FileField would be allowed to be the key, and there would be a get_storage functio

Re: startproject values for STATICFILES_DIRS and TEMPLATES

2015-11-08 Thread Aymeric Augustin
Hello René, The current built-in projet template is designed to provide the minimal set of settings required for a functional admin and a good level of security. (A few months ago I would have just said "a functional admin", but a new setting was added since then.) As far as I can tell, the main