1. Home
  2. Computer Science MCQs
  3. Django
  4. What is Django ORM used for?

Added 28 Apr 2024

What is Django ORM used for?

  1. Handling HTTP requests
  2. Generating HTML templates
  3. Communicating with the database Correct answer
  4. Managing user authentication

Correct answer

C. Communicating with the database

14 views

MCQSEXAM

Explanation

Django's ORM (Object-Relational Mapper) is used for communicating with the database. You define models as Python classes and query them with Python code instead of writing SQL.

HTTP requests are handled by views, HTML by templates, and authentication by django.contrib.auth.

For more solved questions like this one, see Computer Science MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is C? 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