more features for tracing and everything

This commit is contained in:
Laura Klünder 2023-10-05 05:40:07 +02:00
parent 0343030980
commit 0c9b253d87
6 changed files with 97 additions and 30 deletions

View file

@ -1,6 +1,5 @@
import time
from dataclasses import fields as dataclass_fields
from functools import cached_property
from django import forms
from django.core.exceptions import ValidationError
@ -99,7 +98,7 @@ class MeshRouteRequestForm(MeshMessageForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields["address"].choices = self.node_choices
self.fields["address"].choices = (('', '------'), )+self.node_choices
def get_msg_data(self):
return {