0

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?

Itachi Uchiha
  • 67
  • 1
  • 9

2 Answers2

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.

-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