I will try to explain the project I am hoping to build in more detail now.
First off I think it would have been a good process to debate with some of you more experienced people to discuss the structure needs of the project like which apps we need, models and the models’ field, but I will explain which choices we have made and maybe you can comment here, if you like.
The school is, as mentioned for a school for special needs children.
When the school is closed we still have to take care of some of the children and the project is a dashboard to visualize the care needs, starting with the parents telling the school that they have a care need for their child on a form page.
The care need is made by me in the app now (but User (parent) log in and posting is planned later)
The website itself for now is planned to be two pages.
- One for creating careneeds via a form and
- One for showing an overview of careneeds pr. one date (with a filter or change date option)
The overview page must help me say something like (visually, graph or with text):
- at 08:00 child “name” arrives (1 child in care)
- at 09:00 child “name” arrives (2 children in care)
- …
- at 15:15 child “name” leaves (1 child left)
- at 15:45 child “name” leaves (0 child left)
afterwards it would be nice if the site can help me suggest a roster for when a specific number of staff should start and end their day. Like the example above it would be nice if the first staff meets at 07:45 to be ready for the first child, and the last staff leaves at 16:00
I hope the above makes sense.
The project we have made so far looks like:
project - sfo: Main app for settings and all that. SFO is the danish word for our institution
app - children: app for everything about the children
class Child(models.Model):
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
care_index = models.DecimalField(max_digits=2,decimal_places=1)
class CareNeed(models.Model):
child = models.ForeignKey(Child,on_delete=models.CASCADE)
begin_datetime = models.DateTimeField()
end_datetime = models.DateTimeField()
app - employees: app for the staff info
class Employee(models.Model):
name = models.CharField(max_length=100)
title = models.Field.choices = ["pædagog","pædagogmedhjælper"]
employment_rate = models.DecimalField(max_digits=2,decimal_places=1)
created_date = models.DateTimeField('created')
class Shifts(models.Model):
employee = models.ForeignKey(Employee,on_delete=models.CASCADE)
begin_datetime = models.DateTimeField()
end_datetime = models.DateTimeField()
app - shifts: app for assigning working ours to staff
no model yet.
I hope it all makes sense to you all, and I hope you would like to help along the way. If we run in to difficulty I will post in this thread, but again, if you would like to mentor the process I would love to video-chat about specifics.