Skip to content

Commit

Permalink
Writing your first Django app, part 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mdamien committed Sep 4, 2016
1 parent 3e438ba commit d58e5cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Binary file added polls/static/polls/images/background.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions polls/static/polls/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
li a {
color: green;
}

body {
background: white url("images/background.gif") repeat right bottom;
}
4 changes: 4 additions & 0 deletions polls/templates/polls/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% load static %}

<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}" />

{% if latest_question_list %}
<ul>
{% for question in latest_question_list %}
Expand Down

0 comments on commit d58e5cc

Please sign in to comment.