Which is the correct import statement to use the render() function in Django?

23. Which is the correct import statement to use the render() function in Django?

  1. from django.shortcuts import render
  2. from django import render
  3. from django.requests import render
  4. from httpresponses import render

Answer: A) from django.shortcuts import render

Explanation:

The correct import statement to use the render() function in Django is:

from django.shortcuts import render

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.