Imagem de fundo HTML
Estou usando o django e estou tentando adicionar uma imagem de plano de fundo ao meu base.html, aplicando-a assim ao resto do site, mas estou tendo problemas.
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
{% load staticfiles %}
<head>
<title>{% block title %}Local 9{% endblock %}</title>
<style type="text/css">
body {
background-image: url('{{STATIC_URL}}img/background.jpg');
}
</style>
</head>
<body>
<div id="content">
{% block content %}{% endblock %}
</div>
</body>
</html>
Eu tenho o arquivo no local certo. Também estou fazendo isso em meu home.html:
{% extends "base.html" %}
{% block content %}
<a>HI</a>
{% endblock %}
Estou usando o settings.py padrão. Meu STATIC_URL = '/ static /' ... Estou com uma perda total. Quaisquer pensamentos ou sugestões seriam realmente úteis.