Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django.http import HttpResponse
- from .models import icecream_db
- def icecream_list(request):
- icecreams = icecreams += f'{icecream_db[i]["name"]} :: '
- for i in range(len(icecream_db)):
- return HttpResponse(f'Список сортов мороженого: {icecreams)
Advertisement
Add Comment
Please, Sign In to add comment