Factorized openpyxl export code to exports.py
This commit is contained in:
parent
a823a89a78
commit
c0bd7a70da
3 changed files with 110 additions and 141 deletions
|
|
@ -274,7 +274,7 @@ class TeacherTests(TestCase):
|
|||
response = self.client.get(reverse('imputations_export'))
|
||||
self.assertEqual(
|
||||
response['Content-Disposition'],
|
||||
'attachment; filename=Imputations_export%s.xlsx' % date.strftime(date.today(), '%Y-%m-%d')
|
||||
'attachment; filename=Imputations_export_%s.xlsx' % date.strftime(date.today(), '%Y-%m-%d')
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue