πŸ“Š Django
Q. How can you serve static files during development?
  • (A) settings.SERVE_STATIC = True
  • (B) python manage.py collectstatic
  • (C) Set DEBUG=True and configure static URL
  • (D) static.serve = on
πŸ’¬ Discuss
βœ… Correct Answer: (C) Set DEBUG=True and configure static URL

Explanation: Static files can be served in development by setting DEBUG=True and configuring STATIC_URL.

Explanation by: Mr. Dubey
Static files can be served in development by setting DEBUG=True and configuring STATIC_URL.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
63
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate