first commit
Some checks failed
ci / deploy (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled

This commit is contained in:
Vlastislav Svatek
2026-06-05 10:39:05 +02:00
commit 673e67106e
217 changed files with 76612 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
# Generated by Django 5.1.4 on 2025-08-07 12:50
import taggit.managers
import utilities.json
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("extras", "0122_charfield_null_choices"),
("netbox_librenms_plugin", "0003_interfacetypemapping_librenms_speed_and_more"),
]
operations = [
migrations.CreateModel(
name="LibreNMSSettings",
fields=[
(
"id",
models.BigAutoField(auto_created=True, primary_key=True, serialize=False),
),
("created", models.DateTimeField(auto_now_add=True, null=True)),
("last_updated", models.DateTimeField(auto_now=True, null=True)),
(
"custom_field_data",
models.JSONField(
blank=True,
default=dict,
encoder=utilities.json.CustomFieldJSONEncoder,
),
),
(
"selected_server",
models.CharField(default="default", max_length=100),
),
(
"tags",
taggit.managers.TaggableManager(through="extras.TaggedItem", to="extras.Tag"),
),
],
options={
"verbose_name": "LibreNMS Settings",
"verbose_name_plural": "LibreNMS Settings",
},
),
]