Tutorial 6 done / Static file serving
This commit is contained in:
parent
6723624810
commit
33ea2242b2
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
|
@ -0,0 +1,7 @@
|
||||||
|
li a {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: white url("images/bg.jpg") no-repeat;
|
||||||
|
}
|
|
@ -1,3 +1,7 @@
|
||||||
|
{% load static %}
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
|
||||||
|
|
||||||
{% if latest_question_list %}
|
{% if latest_question_list %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for question in latest_question_list %}
|
{% for question in latest_question_list %}
|
||||||
|
|
Loading…
Reference in New Issue