Mercurial > public > sg101
comparison bio/views.py @ 1078:6bf83070b19f
Convert member search to V3 design.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 22 Apr 2016 22:20:47 -0500 |
parents | 650ab160cbb9 |
children | 36fa9e9e010b |
comparison
equal
deleted
inserted
replaced
1077:26f2b83e7468 | 1078:6bf83070b19f |
---|---|
259 form = SearchUsersForm(data) | 259 form = SearchUsersForm(data) |
260 if form.is_valid(): | 260 if form.is_valid(): |
261 username = form.cleaned_data['username'] | 261 username = form.cleaned_data['username'] |
262 return redirect('bio-view_profile', username=username) | 262 return redirect('bio-view_profile', username=username) |
263 | 263 |
264 return render(request, 'bio/member_search.html', {'form': form}) | 264 return render(request, 'bio/member_search.html', { |
265 'form': form, | |
266 'V3_DESIGN': True, | |
267 }) |