Commit 03cf768c authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix codestyling

parent 1dce94a1
from __future__ import unicode_literals
import unicodedata
from django.forms import ModelForm
from .models import Member
from django.contrib.auth.hashers import (
UNUSABLE_PASSWORD_PREFIX, identify_hasher,
)
from django.utils.translation import ugettext, ugettext_lazy as _
class MemberForm(ModelForm):
......
......@@ -32,7 +32,7 @@ def index(request):
if query_filter and query_filter.isdigit() and not (
query_filter == 'ex' or
query_filter == 'honor' or
query_filter == 'old'):
query_filter == 'old'):
members = [obj for obj in members if
obj.current_membership and
obj.current_membership.since.year == int(query_filter)]
......
Supports Markdown
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