Add link_text and link_url to importcollection + update version 0.1.7
authorymh <ymh.work@gmail.com>
Wed, 01 Aug 2018 13:42:46 +0200
changeset 574 ad370eb2b020
parent 573 5197a80bee84
child 575 03b9debd09c5
Add link_text and link_url to importcollection + update version
src/iconolab/__init__.py
src/iconolab/management/commands/importcollection.py
--- a/src/iconolab/__init__.py	Wed Jul 18 18:17:12 2018 +0200
+++ b/src/iconolab/__init__.py	Wed Aug 01 13:42:46 2018 +0200
@@ -1,4 +1,4 @@
-VERSION = (0, 1, 6, "final", 0)
+VERSION = (0, 1, 7, "final", 0)
 
 VERSION_STR = ".".join(map(lambda i: "%02d" % (i,), VERSION[:2]))
 
--- a/src/iconolab/management/commands/importcollection.py	Wed Jul 18 18:17:12 2018 +0200
+++ b/src/iconolab/management/commands/importcollection.py	Wed Aug 01 13:42:46 2018 +0200
@@ -74,6 +74,8 @@
                 name=coll_name,
                 verbose_name=collection_data.get('verbose_name', coll_name),
                 description=collection_data.get('description', coll_name),
+                link_text=collection_data.get('link_text'),
+                link_url=collection_data.get('link_url'),
             )
 
             image_path = options.get('collection_image', None)