diff --git a/netbox_documentation/__init__.py b/netbox_documentation/__init__.py index 578c2c9..f690167 100644 --- a/netbox_documentation/__init__.py +++ b/netbox_documentation/__init__.py @@ -5,7 +5,7 @@ class DocumentationConfig(PluginConfig): name = "netbox_documentation" verbose_name = "NetBox Dokumentation" description = "Wiki und Office-Dokumentation direkt in NetBox" - version = "0.12.0" + version = "0.12.1" author = "LKE" base_url = "documentation" min_version = "4.0.0" diff --git a/netbox_documentation/migrations/0006_tags_taggable_manager.py b/netbox_documentation/migrations/0006_tags_taggable_manager.py new file mode 100644 index 0000000..1b92c20 --- /dev/null +++ b/netbox_documentation/migrations/0006_tags_taggable_manager.py @@ -0,0 +1,50 @@ +# Generated by Django 6.1.1 on 2026-10-13 12:06 + +import taggit.managers +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('netbox_documentation', '0005_document_tenancy'), + ] + + operations = [ + migrations.RemoveField( + model_name='document', + name='tags', + ), + migrations.RemoveField( + model_name='documentassignment', + name='tags', + ), + migrations.RemoveField( + model_name='documentattachment', + name='tags', + ), + migrations.RemoveField( + model_name='documentcategory', + name='tags', + ), + migrations.AddField( + model_name='document', + name='tags', + field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), + ), + migrations.AddField( + model_name='documentassignment', + name='tags', + field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), + ), + migrations.AddField( + model_name='documentattachment', + name='tags', + field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), + ), + migrations.AddField( + model_name='documentcategory', + name='tags', + field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), + ), + ] diff --git a/pyproject.toml b/pyproject.toml index 8f5b02d..3c2ccfd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "netbox-documentation" -version = "0.12.0" +version = "0.12.1" description = "Integrated Markdown wiki and office document importer for NetBox" readme = "README.md" requires-python = ">=3.10"