How you can write a view in django?
Answer / Kalpana Verma
In Django, views are defined as functions or classes inside an application's views.py file. The simplest view function looks like this: nn```pythonndef home(request):n return render(request, 'home.html')```
| Is This Answer Correct ? | 0 Yes | 0 No |
Can i use django apis in mobile application development ?
Why django ? What is advantages of Django ?
What is a form in django?
How does django integrate with angularjs?
How can you customize the functionality of the django admin interface?
Is django unchained accurate?
Is django full stack?
Is django still relevant 2019?
Discuss django architecture.
Is django better than node?
Is django in the hateful eight?
What is the lambda operator ?