This came up again in the channel today, and we remembered we wanted to
serve static content natively. I filed this work at the link below to add
it to the next sprint.
https://pulp.plan.io/issues/4180
On Mon, Oct 15, 2018 at 1:08 PM Brian Bouterse wrote:
> tl;dr: let's adopt Whitenoise as the
tl;dr: let's adopt Whitenoise as the static solution for pulp3. If anyone
is -1 on this, please reply.
Really this is a choice between (a) having all users struggle through a
STATIC_FILES config or (b) having users who plan to use Nginx or Apache
struggle through it. The less struggle the better I
I tested this method out and it did work with gunicorn. The only ugly part
is having to re-define the MIDDLEWARE entirely. I couldn't find a way to
simply just add the middleware I wanted in the spot I needed it.
Brian any thoughts on supporting this out of the box? I'm happy to do the
work but I'
On Wed, 2018-10-03 at 16:28 -0400, Eric Helms wrote:
> Howdy,
>
> When switching a deployment over to use gunicorn, DEBUG = TRUE for serving
> static files stopped working. I endeavored to follow the production install
> method using collectstatic. This required
> setting STATIC_ROOT which appea
On Fri, Oct 5, 2018 at 4:45 PM Brian Bouterse wrote:
> Hi Eric, Thanks for writing, see inline.
>
> On Wed, Oct 3, 2018 at 4:28 PM Eric Helms wrote:
>
>> Howdy,
>>
>> When switching a deployment over to use gunicorn, DEBUG = TRUE for
>> serving static files stopped working. I endeavored to follo
Hi Eric, Thanks for writing, see inline.
On Wed, Oct 3, 2018 at 4:28 PM Eric Helms wrote:
> Howdy,
>
> When switching a deployment over to use gunicorn, DEBUG = TRUE for serving
> static files stopped working. I endeavored to follow the production install
> method using collectstatic. This requi