Skip to content

How to resolve static files from templates?  #196

@mihalt

Description

@mihalt

Hi! Thanks for loader. But I haven't understood yet how to resolve static files from django templates. For example
<img src="{% static "img/tmp/ava.png" %}" width="50" height="50" alt="Avatar">

After using of webpack this image can have the name on output like 123456.png. So I thinked, that if I use webpack_static tag it will work, but it didn't want. May be I do something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions