mongoengine-migrate icon indicating copy to clipboard operation
mongoengine-migrate copied to clipboard

Implement `URLField.url_regex` modification handling

Open bdragon300 opened this issue 4 years ago • 0 comments

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.

bdragon300 avatar Dec 14 '20 19:12 bdragon300