keymedia/managemedia/views.py

9 lines
239 B
Python
Raw Normal View History

2020-05-27 23:30:11 -04:00
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, ur at managemedia")
2020-06-09 11:18:39 -04:00
def view_movie(request, movie_id):
response = "You're looking at movie ID %s."
return HttpResponse(response % movie_id)