For example:
from django.shortcuts import render
from django.http import HttpResponse
def view(request, something):
return HttpResponse(f' {something} ')
I've found many examples like this one, but no explanation of what the 'f' means in 'HttpResponse(f' {something} '), or why is it necessary. It's not used when you don't utilize a captured value from the url.