Skip to content

Support URLs that don't start with /static/ #177

Description

@benjmin-r

In template_tags.py#L19 a TODO says exactly that.

I'd like to tackle this one, as we need it in one of our projects.

Do you have any hints on how to do this? Introduce a config setting, and if present use that as a base url for static assets? Did you have any concrete plans/ideas on how to implement this?

I wonder if it would be a good idea to reuse django's STATIC_ROOT related capabilities (or rather the collectstatic contrib to be exact) for that.

But this would somehow contradict the item on the roadmap (see #117) which states/asks, that other template engines than Django's would be a nice feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions