1. Home
  2. Computer Science MCQs
  3. Django
  4. What is the purpose of Django's collectstatic command?

Added 31 Jan 2024

What is the purpose of Django's collectstatic command?

  1. Collecting static files from all installed apps to a single location Correct answer
  2. Collecting media files for deployment
  3. Collecting dynamic files for caching
  4. Collecting JavaScript files for optimization

Correct answer

A. Collecting static files from all installed apps to a single location

14 views

MCQSEXAM

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

Shown after review. No links please.

More Django MCQs

Practise all Django MCQs

Similar MCQs