View GitHub Profile
Viewflow 0.12 upgrade instruction
- Django 1.6 is no longer supported. please consider upgrading.
- Process wait-lock was removed for all locks implementation. Django 1.8 users need to enable django-transaction-hooks that required by celery.Job task. Any 3rd party task queue implementation should use transaction.on_commit to schedule a background task.
- Django and DjangoRestFramework tend to use _class suffix for the variable names. Viewflow now follows the same naming theme. All _cls suffixes were renamed to _class. Check your code for the process_cls, task_cls and flow_cls variables and rename to process_class, task_class, flow_class respectively.
- Django-Extra-Views integration was removed. Consider using django-material or django-super-forms packages to simplify forms handling.
|# Fix no-tty error|
|# if there a line that only consists of 'mesg n' in /root/.profile, replace it with 'tty -s && mesg n'|
|:inline => "(grep -q -E '^mesg n$' /root/.profile && sed -i 's/^mesg n$/tty -s \\&\\& mesg n/g' /root/.profile && echo 'Ignore the previous error about stdin not being a tty. Fixing it now...') || exit 0;"|