Re: proposal: post-collectstatic signal

2012-11-14 Thread Luke Plant
On 14/11/12 03:43, Justin Holmes wrote: > My only concern is that we'll limit our audience by requiring users to > use a specific STATICFILES_STORAGE. What if they're already using a > custom one? One solution is to have your own COLDBREW_STATICFILES_STORAGE_BACKEND setting, which can be used

Re: proposal: post-collectstatic signal

2012-11-13 Thread Donald Stufft
On Tuesday, November 13, 2012 at 10:43 PM, Justin Holmes wrote: > > My only concern is that we'll limit our audience by requiring users to use a > specific STATICFILES_STORAGE. What if they're already using a custom one? Put the meat of your backend in a mixin, provide options for the default

Re: proposal: post-collectstatic signal

2012-11-13 Thread Justin Holmes
Ptone: Coldbrew already uses a templatetag for development, but for production, we want people to be able to have the collectstatic experience and simple find collected coffee as compiled JS in their static directories. As you suggest, I have reluctance about Bruno's solution. Also, I'd be

Re: proposal: post-collectstatic signal

2012-11-12 Thread Jannis Leidel
On 11.11.2012, at 17:09, Justin Holmes wrote: > My sense is that there are a growing number of use cases, but the one that I > currently have in mind is for django-coldbrew. I want to be able to > compile all the coffeescript in a project during the collectstatic

Re: proposal: post-collectstatic signal

2012-11-12 Thread ptone
On Sunday, November 11, 2012 8:09:23 AM UTC-8, Justin Holmes wrote: > > My sense is that there are a growing number of use cases, but the one that > I currently have in mind is for django-coldbrew. I want to be able to > compile all the coffeescript in a project during the collectstatic

Re: proposal: post-collectstatic signal

2012-11-12 Thread Bruno ReniƩ
On Sun, Nov 11, 2012 at 5:09 PM, Justin Holmes wrote: > My sense is that there are a growing number of use cases, but the one that I > currently have in mind is for django-coldbrew. I want to be able to > compile all the coffeescript in a project during the

Re: proposal: post-collectstatic signal

2012-11-11 Thread Justin Holmes
My sense is that there are a growing number of use cases, but the one that I currently have in mind is for django-coldbrew. I want to be able to compile all the coffeescript in a project during the collectstatic process. Currently, we have a management command, "collect_coldbrew" - but I'd

Re: proposal: post-collectstatic signal

2012-11-10 Thread Alex Gaynor
What's the use case? Alex On Sat, Nov 10, 2012 at 8:48 PM, Justin Holmes wrote: > Currently, our only built-in management signal is post-syncdb. > > I propose (and, notwithstanding objection, will build) > post-collectstatic. > > Is this reasonable? Is there another,

proposal: post-collectstatic signal

2012-11-10 Thread Justin Holmes
Currently, our only built-in management signal is post-syncdb. I propose (and, notwithstanding objection, will build) post-collectstatic. Is this reasonable? Is there another, less invasive way to hook logic into collectstatic? -- Justin Holmes Chief Chocobo Breeder, slashRoot slashRoot: