I'm coding css and javascript file for my web project. That files I put in app folder. I use "git add ." and "git push origin +(branch_name)", but I clone project again, I don't call that static files I wrote. How do I solve problem?
Asked
Active
Viewed 98 times
2 Answers
0
Your query is a little unclear to proceed with exact solution
Still, collect-static does the job for static files in Django. A similar issue was raised, which can be of help to you.

Amit Khetan
- 58
- 7
-1
for me the following command do the trick: python manage.py collectstatic
But plz note that it also depends on the way like where you would like to host your static files and so on. For example, I use azure storage account to host the static files, therefore in my case I have to configure the setting.py also.
Hope you can solve ur problem soon. (btw surprise to know the leaf village uses django, too... )

Rudy
- 21
- 3
-
the static files I wrote don't added, so if use this above command, cannot call static files – Itachi Uchiha Jul 15 '19 at 09:25