django: Tutorial 6.

This commit is contained in:
2018-06-05 15:41:49 -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

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