Q. What type of file is used to define Django database migrations?

  • (A) .py
  • (B) .sql
  • (C) .json
  • (D) .xml
πŸ’¬ Discuss
βœ… Correct Answer: (A) .py
Explanation: Migration files are Python files generated by makemigrations.
Explanation by: Rakesh Yadav
Migration files are Python files generated by makemigrations.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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