create a view in django code example
Example: create views django
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def hola(request):
return HttpResponse("Hola Mundo, Esto es Django")
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def hola(request):
return HttpResponse("Hola Mundo, Esto es Django")