Skip to content

Commit

Permalink
#256 verbose name as captions
Browse files Browse the repository at this point in the history
  • Loading branch information
yn-coder committed Apr 20, 2021
1 parent 5ddd4fe commit 4ec39e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def get(self, request, project_id):
row_num = 0
col_num = 0
for field in fields:
cell_data = field
cell_data = Task._meta.get_field( field ).verbose_name
worksheet.write(row_num, col_num, cell_data)
col_num = col_num + 1

Expand Down

0 comments on commit 4ec39e7

Please sign in to comment.