On 2 nov, 12:37, rd-london wrote:
> Not worry, found work-a-round using MEDIA_URL.
Actually, that's what MEDIA_URL is for - so it's not a "workaround".
Now if you want more control (or custom stuff), writing a context
processor that exposes whatever setting (builtin or custom) you want
isn't r
Not worry, found work-a-round using MEDIA_URL.
On Oct 30, 4:39 pm, rd-london wrote:
> Hi,
>
> I'd like to write some code, probably middleware, that look at various
> types of HTML in templates and prepends a setting from settings.py.
>
> For example, I'd like to pickup all .js, .css, .jpg, .pn
Hi,
I'd like to write some code, probably middleware, that look at various
types of HTML in templates and prepends a setting from settings.py.
For example, I'd like to pickup all .js, .css, .jpg, .png, .gif - and
stick a custom setting from settings.py on the front - effectively a
path.
Ideally
3 matches
Mail list logo