Quantcast
Viewing latest article 8
Browse Latest Browse All 93

How To Exclude node_modules Directory When Running collectstatic Command in Django

If you use npm or yarn to install frontend packages inside your Django project, you may notice, that when you run python manage.py collectstatic command, it ends up collecting huge amounts of files.

That's because by default, collectstatic grabs all content of static directories inside the project, including thousands of ...

Read now


Viewing latest article 8
Browse Latest Browse All 93

Trending Articles