Q. What does the collectstatic command do?

  • (A) Deletes unused static files
  • (B) Compresses static files
  • (C) Collects all static files into STATIC_ROOT
  • (D) Moves static files to media folder
πŸ’¬ Discuss
βœ… Correct Answer: (C) Collects all static files into STATIC_ROOT
Explanation: collectstatic gathers all static files from apps into the STATIC_ROOT directory.
Explanation by: Rakesh Yadav
collectstatic gathers all static files from apps into the STATIC_ROOT directory.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
95%
Success Rate