Intervention forms
* refactors intervention/forms and ../modalForms into individual files in separated packages
* forms.py has been renamed into intervention.py, now can be found as intervention/forms/intervention.py
* modalForms.py has been split into individual files living in modals package, can be found as intervention/forms/modals/...
This commit is contained in:
@@ -50,7 +50,7 @@ class KonovaCode(models.Model):
|
||||
|
||||
def __str__(self, with_parent: bool = True):
|
||||
ret_val = ""
|
||||
if self.parent and with_parent:
|
||||
if self.parent and self.parent.long_name and with_parent:
|
||||
ret_val += self.parent.long_name + " > "
|
||||
ret_val += self.long_name
|
||||
if self.short_name and self.short_name != self.long_name:
|
||||
|
||||
Reference in New Issue
Block a user