Skip to content

Commit

Permalink
style: Expand "questio" to "questionnaire"
Browse files Browse the repository at this point in the history
  • Loading branch information
pselkirk committed Aug 14, 2023
1 parent 1588fe6 commit e6d8f41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ietf/nomcom/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2901,7 +2901,7 @@ def test_download_feedback_nominee(self):

response = self.client.post(url, {'feedback_id': fb.id, 'submit': 'download'})
self.assertEqual(response.status_code, 200)
self.assertIn('questio', response['Content-Disposition'])
self.assertIn('questionnaire-', response['Content-Disposition'])

def test_reclassify_feedback_nominee(self):
fb = FeedbackFactory.create(nomcom=self.nc,type_id='comment')
Expand Down
4 changes: 2 additions & 2 deletions ietf/nomcom/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,8 +1026,8 @@ def view_feedback_nominee(request, year, nominee_id):
feedback = get_object_or_404(Feedback, id=feedback_id)
submit = request.POST.get('submit', None)
if submit == 'download':
fn = f'questio-{slugify(nominee.name())}-{feedback.time.date()}.txt'
response = render_to_string('nomcom/download_questio.txt',
fn = f'questionnaire-{slugify(nominee.name())}-{feedback.time.date()}.txt'
response = render_to_string('nomcom/download_questionnaire.txt',
{'year': year,
'nominee': nominee,
'feedback': feedback,
Expand Down
File renamed without changes.

0 comments on commit e6d8f41

Please sign in to comment.