mongoengine-migrate
mongoengine-migrate copied to clipboard
Implement `URLField.url_regex` modification handling
URLField has url_regex attribute with default value described in URLField._URL_REGEX constant.
It's needed to implement "change" method in URLFieldHandler which will get invoked if user modified url_regex attribute value. It should perform checking against the specified regex on "strict" migration policy.