Commit 90f078a0 authored by guanghongwei's avatar guanghongwei

--broken encoding: IBM420_ltr

parent 3f0e8fcc
......@@ -47,6 +47,7 @@ def bool2str(value):
else:
return u'否'
@register.filter(name='perm_count')
def perm_count(user_id):
user = User.objects.get(int(user_id))
......
......@@ -44,7 +44,7 @@
</tr>
</thead>
<tbody>
{% for group in contacts.object_list %}
{% for user in contacts.object_list %}
<tr class="gradeX">
<td class="text-center"> {{ user.username }} </td>
<td class="text-center"> {{ user.name }} </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment