Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Adds support for text to url migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Dec 14, 2017
1 parent fa58873 commit c8d99a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HISTORY.rst
@@ -1,6 +1,9 @@
Changelog
---------

- Adds support for text to url migration.
[href]

- Changes the category filter from AND to OR.
[href]

Expand Down
3 changes: 3 additions & 0 deletions onegov/directory/migration.py
Expand Up @@ -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.
Expand Down

0 comments on commit c8d99a9

Please sign in to comment.