Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

I missed a spot.

  • Loading branch information...
commit efb8720589c98d54fb4c576864e22573f507c024 1 parent cf58e6e
@ericflo ericflo authored
View
2  templates/base.html
@@ -20,7 +20,7 @@
<li><a href="{% url publicline %}">Public</a></li>
<li><a href="{% url find_friends %}">Find Friends</a></li>
{% if request.user.is_authenticated %}
- <li><a href="{% url logout %}">Sign out of {{ request.session.uname }}</a></li>
+ <li><a href="{% url logout %}">Sign out of {{ request.session.username }}</a></li>
{% else %}
<li><a href="{% url login %}">Login</a></li>
{% endif %}
View
2  templates/tweets/publicline.html
@@ -7,7 +7,7 @@ <h2 class="grid_4 suffix_5">Public Timeline</h2>
<ul id="timeline" class="grid_9 alpha">
{% for tweet in tweets %}
<li>
- <a href="{% url userline tweet.uname %}" class="username">{{ tweet.uname }}</a>
+ <a href="{% url userline tweet.username %}" class="username">{{ tweet.username }}</a>
<span class="body">{{ tweet.body|urlize }}</span>
</li>
{% empty %}
View
2  templates/tweets/timeline.html
@@ -17,7 +17,7 @@ <h2 class="grid_4 suffix_5">Public Timeline</h2>
<ul id="timeline" class="grid_9 alpha">
{% for tweet in tweets %}
<li>
- <a href="{% url userline tweet.uname %}" class="username">{{ tweet.uname }}</a>
+ <a href="{% url userline tweet.username %}" class="username">{{ tweet.username }}</a>
<span class="body">{{ tweet.body|urlize }}</span>
</li>
{% empty %}
View
2  templates/tweets/userline.html
@@ -7,7 +7,7 @@ <h2 class="grid_4 suffix_5">{{ username }}&rsquo;s Timeline</h2>
<ul id="timeline" class="grid_9 alpha">
{% for tweet in tweets %}
<li>
- <a href="{% url userline tweet.uname %}" class="username">{{ tweet.uname }}</a>
+ <a href="{% url userline tweet.username %}" class="username">{{ tweet.username }}</a>
<span class="body">{{ tweet.body|urlize }}</span>
</li>
{% empty %}
View
2  templates/users/add_friends.html
@@ -14,7 +14,7 @@ <h2 class="grid_4 suffix_5">Add Friends</h2>
{% if result %}
<p>Hooray, your friend {{ q }} is on the site!</p>
{% if request.user.is_authenticated %}
- {% ifnotequal request.session.uname q %}
+ {% ifnotequal request.session.username q %}
<form method="POST" action="{% url modify_friend %}?next={{ request.path }}{% if q %}&amp;q={{ q }}{% endif %}">
<input type="hidden" name="{% if result.friend %}remove{% else %}add{% endif %}-friend" value="{{ q }}" />
<input type="submit" value="{% if result.friend %}Remove{% else %}Add{% endif %} Friend" />
Please sign in to comment.
Something went wrong with that request. Please try again.