| Total Complexity | 0 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from django.db import models |
||
| 2 | |||
| 3 | from .node import Node |
||
| 4 | from .configuration import Configuration |
||
| 5 | |||
| 6 | |||
| 7 | class NodeConfiguration(models.Model): |
||
| 8 | |||
| 9 | """ |
||
| 10 | Class: Project |
||
| 11 | |||
| 12 | Fields: |
||
| 13 | {Node} node |
||
| 14 | {JSON} setting |
||
| 15 | {Configuration} configuration |
||
| 16 | """ |
||
| 17 | |||
| 18 | class Meta: |
||
| 19 | app_label = 'ore' |
||
| 20 | |||
| 21 | node = models.ForeignKey(Node) |
||
| 22 | setting = models.TextField() |
||
| 23 | configuration = models.ForeignKey( |
||
| 24 | Configuration, |
||
| 25 | related_name='node_configurations') |
||
| 26 |