convert delivery status handling to use django.forms