What is the purpose of Django's collectstatic command?
-
A
Collecting static files from all installed apps to a single location
Correct answer
-
B
Collecting media files for deployment
-
C
Collecting dynamic files for caching
-
D
Collecting JavaScript files for optimization
Correct answer
A. Collecting static files from all installed apps to a single location
14 views
Explanation
The collectstatic command gathers static files from all installed apps into one directory for deployment.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ