django: Tutorial 6.
This commit is contained in:
parent
92a5117dfc
commit
bc6a424fbe
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 %}
|
{% if latest_questions %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for question in latest_questions %}
|
{% for question in latest_questions %}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
https://docs.djangoproject.com/en/2.0/intro/tutorial03/
|
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/tutorial04/
|
||||||
https://docs.djangoproject.com/en/2.0/intro/tutorial06/
|
https://docs.djangoproject.com/en/2.0/intro/tutorial06/
|
||||||
|
https://docs.djangoproject.com/en/2.0/intro/tutorial07/
|
||||||
|
|
Loading…
Reference in New Issue