From c8d99a934692aceddef97916fb6b172121744385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Krienb=C3=BChl?= Date: Thu, 14 Dec 2017 10:48:16 +0100 Subject: [PATCH] Adds support for text to url migration --- HISTORY.rst | 3 +++ onegov/directory/migration.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index 940ce13..7dac263 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,9 @@ Changelog --------- +- Adds support for text to url migration. + [href] + - Changes the category filter from AND to OR. [href] diff --git a/onegov/directory/migration.py b/onegov/directory/migration.py index b69c988..40670aa 100644 --- a/onegov/directory/migration.py +++ b/onegov/directory/migration.py @@ -147,6 +147,9 @@ def time_to_text(self, value): def radio_to_checkbox(self, value): return value + def text_to_url(self, value): + return value + class StructuralChanges(object): """ Tries to detect structural changes between two formcode blocks.