Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 2.0 compatibility and improved test coverage #60

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix linelength
madisvain committed Jan 10, 2018
commit 6d946fc458856f0f85a341b129c9d8c5c0a91b1c
3 changes: 2 additions & 1 deletion django_celery_monitor/utils.py
Original file line number Diff line number Diff line change
@@ -105,5 +105,6 @@ def f(task):

if len(shortval) > maxlen:
shortval = shortval[:maxlen] + '...'
return format_html(FIXEDWIDTH_STYLE, val[:255], pt, mark_safe(shortval))
return format_html(FIXEDWIDTH_STYLE, val[:255], pt,
mark_safe(shortval))
return f