Skip to content

Commit

Permalink
- Adding debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Oct 21, 2024
1 parent 1687fd1 commit d6042bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tdrs-backend/tdpservice/data_files/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ def download_error_report(self, request, pk=None):
"""Generate and return the parsing error report xlsx."""
datafile = self.get_object()
all_errors = ParserError.objects.filter(file=datafile).order_by('-pk')
for e in all_errors:
print(e.pk, e.error_message)
filtered_errors = None
user = self.request.user
is_active = "Active" in datafile.section
Expand Down

0 comments on commit d6042bd

Please sign in to comment.