Compatibility for use of widget outside Django admin