api/api/bills/views.py
2021-12-25 22:04:59 -05:00

9 lines
236 B
Python

from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("Let there be bills!")
def detail(request, bill_id):
return HttpResponse("You're looking at Bill %s." % bill_id)