Computer scienceBackendDjangoLaunching server

Static content

Add CSS file

Report a typo

Add CSS file <static_folder>/css/my.css to the template, where <static_folder> is a folder with static files.

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

Write a program in Python 3
template = """
<html>
{% load ... %}
<link rel="stylesheet" href="{% ... %}">
</html>
"""
___

Create a free account to access the full topic