Mercurial > public > sg101
comparison gpp/templates/bio/members.html @ 197:2baadae33f2e
Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 10 Apr 2010 04:32:24 +0000 |
parents | ab7830b067b3 |
children | cd4124b19196 |
comparison
equal
deleted
inserted
replaced
196:893b6d462cf9 | 197:2baadae33f2e |
---|---|
9 <h2>Member List</h2> | 9 <h2>Member List</h2> |
10 <p>Surfguitar101.com currently has {{ num_members }} active members. Looking for a | 10 <p>Surfguitar101.com currently has {{ num_members }} active members. Looking for a |
11 particular user? Try our <a href="{% url bio-member_search %}">member search</a>.</p> | 11 particular user? Try our <a href="{% url bio-member_search %}">member search</a>.</p> |
12 {% if page.object_list %} | 12 {% if page.object_list %} |
13 <ul class="tab-nav"> | 13 <ul class="tab-nav"> |
14 <li><a href="{% url bio-members_full type="user",page="1" %}" | 14 <li><a href="{% url bio-members_full type='user' page=1 %}" |
15 {% ifequal type "user" %}class="active" {% endifequal %}>User</a></li> | 15 {% ifequal type "user" %}class="active" {% endifequal %}>User</a></li> |
16 <li><a href="{% url bio-members_full type="date",page="1" %}" | 16 <li><a href="{% url bio-members_full type='date' page=1 %}" |
17 {% ifequal type "date" %}class="active" {% endifequal %}>Date</a></li> | 17 {% ifequal type "date" %}class="active" {% endifequal %}>Date</a></li> |
18 </ul> | 18 </ul> |
19 | 19 |
20 {% include 'core/pagination.html' %} | 20 {% include 'core/pagination.html' %} |
21 <div class="members-list"> | 21 <div class="members-list"> |