P
P
Pavel2018-02-04 12:18:48
Django
Pavel, 2018-02-04 12:18:48

Is it possible to run django compress and collectstatic in automatic mode?

In code

{% compress css %}
        <link rel="stylesheet" type="text/x-scss" href="{% static "scss/main.scss" %}" />
    {% endcompress %}

When editing main.scss, you have to manually call ./manage.py collectstatic. Can this be avoided?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question