django: Tutorial 6.

This commit is contained in:
2018-05-07 11:15:14 -07:00
parent 92a5117dfc
commit bc6a424fbe
4 changed files with 13 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 KiB

View File

@@ -0,0 +1,7 @@
li a {
color: green;
};
body {
background: black url("images/htp.gif") fixed center;
};

View File

@@ -1,3 +1,8 @@
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}" />
<img src="{% static 'polls/images/htp.gif' %}" />
{% if latest_questions %}
<ul>
{% for question in latest_questions %}