Mercurial > public > sg101
comparison bio/views.py @ 1122:2574cd24773e
Convert avatar form to V3 design.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 03 Aug 2016 21:17:59 -0500 |
parents | 36fa9e9e010b |
children | ce6a0c12cbf3 |
comparison
equal
deleted
inserted
replaced
1121:67c839267220 | 1122:2574cd24773e |
---|---|
155 else: | 155 else: |
156 form = UploadAvatarForm() | 156 form = UploadAvatarForm() |
157 | 157 |
158 return render(request, 'bio/avatar.html', { | 158 return render(request, 'bio/avatar.html', { |
159 'form': form, | 159 'form': form, |
160 'V3_DESIGN': True, | |
160 }) | 161 }) |
161 | 162 |
162 ####################################################################### | 163 ####################################################################### |
163 | 164 |
164 @require_POST | 165 @require_POST |