Computer scienceBackendDjangoLaunching server

Static content

Adding a media file

Report a typo

Add a song from the file <media_folder>/mp3/django.mp3 to the template, where <media_folder> is a folder with media files.

Tip: You don't need to know the exact name of the folder, use the appropriate variable to get the needed file.

Write a program in Python 3
template = """
<html>
<audio src="{{ ... }}"></audio>
</html>
"""
___

Create a free account to access the full topic