-
-
Notifications
You must be signed in to change notification settings - Fork 290
[FIX] -- job status display in scheduler listing page template. #694
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
@@ -93,7 +93,7 @@ | |||
{{ job.ended_at|to_localtime|date:"Y-m-d, H:i:s" }} | |||
{% endif %} | |||
</td> | |||
<td>{{ job.get_status }}</td> | |||
<td>{{ job.get_status.value }}</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix test cases as well
Hey @selwin, Any updates on this? Does this fix require test cases? I don't think so, as it's just a template frontend-side value change. |
No tests is necessary since you provided a screenshot, but can you make sure that all tests pass? |
8e91e2b
to
ab68ce0
Compare
- Updated 'job.get_status' to 'job.get_status.value' in 'scheduler.html' to correctly display the job status. - This affects the scheduler view at '/django-rq/schedulers/<scheduler_id>/'.
ab68ce0
to
07d3a2a
Compare
@DhavalGojiya the tests still failed, did you look at the failing test to see what went wrong? |
I think the issue is on GitHub Actions' side. The Docker pull image rate limit API has been exceeded, which is why the action is unable to run. |
Fix job status display in scheduler template
Description
This PR updates
scheduler.html
to correctly display the job status by usingjob.get_status.value
instead ofjob.get_status
.Changes
scheduler.html
./django-rq/schedulers/<scheduler_id>/
.Before Screenshot:
After Screenshot:
Testing