Commits

Richard Jones committed f41328d

fix for new url syntax in 1.5

  • Participants
  • Parent commits b5c760f

Comments (0)

Files changed (2)

File pyweek/challenge/templates/base.html

     <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
     <link rel="stylesheet" href="{{ STATIC_URL }}challenge.css" type="text/css">
     <link rel="alternate" type="application/rss+xml"
-       title="PyWeek Diaries RSS feed"
-       href="{% url diary_feed %}">
+       title="PyWeek Diaries RSS feed" href="{% url "diary_feed" %}">
        <script src="{{ STATIC_URL }}js/challenge.js" type="text/javascript"></script>
        <script src="{{ STATIC_URL }}js/jquery.min.js" type="text/javascript"></script>
     {% block links %}

File pyweek/challenge/templates/messages.html

 
 {% block content %}
 
-<p style="margin-top: 0px; text-align: right;"><span style="float:left;"><a class="add" href="/message_add/">Post new message</a></span> <a class="button" href="{% url diary_feed %}">Atom Feed</a></p>
+<p style="margin-top: 0px; text-align: right;"><span style="float:left;"><a class="add" href="/message_add/">Post new message</a></span> <a class="button" href="{% url "diary_feed" %}">Atom Feed</a></p>
 
 <table id="diary-board">
 <tr><th>Message</th><!-- th>Team</th --><th>Rep</th><th>Last Post</th></tr>
 {% if prev %}
 <a class="button" href="/messages/?start={{ prev }}">&lt;&lt; Previous</a>
 {% endif %}
-</td><td align="center">Page: 
+</td><td align="center">Page:
 {% if more_start %}<a class="button" href="/messages/?start=0">first</a> ...{% endif %}
 {% for page in pages %}
 {% if page.current %}