django: Tutorial 6.

This commit is contained in:
Kyle Isom 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 %}

View File

@ -1,3 +1,4 @@
https://docs.djangoproject.com/en/2.0/intro/tutorial03/
https://docs.djangoproject.com/en/2.0/intro/tutorial04/
https://docs.djangoproject.com/en/2.0/intro/tutorial06/
https://docs.djangoproject.com/en/2.0/intro/tutorial07/