pThor-health/pthor — comment on commit 324d693840abb6ab9c1e8a850dffa8221962c429
File:  line 0
By vicmiclovich:

uhmm... good thoughts.

about

protocol_start = ProtocolStart.objects.create(name="blah blah")

is there any way we can refer to its parent? I'd think something like

protocol_start = ProtocolStart.objects.create(name="blah blah", protocol=Project.objects.get(name="parent_protocol"))

where ProtocolStart has a relationship with the main Protocol table.

Also, let the integer field that you will add be known as ```order```
ProtocolStart(Model):
... #some stuff
order = models.IntegerField(null=False)

#Thoughts
I think we are about to nail the model. Is it running properly in your test environment? Are you able to run ```python manage.py shell_plus```?