Hello, I am trying to make an automated database entry generation with Django, whenever I trigger it to happen.
For instance, assume I have a such model:
class status_entry(models.Model):
name = models.TextField()
date = models.DateField()
status = models.BooleanField()
and I have several entries to the model such as:
1 - "bla bla" - 2009/11/6 - true
2 - "bla bla" - 2009/11/7 - true
3 - "bla bla" - 2009/11/10 - true
so as you can see between my 2nd and 3rd entry, I have 2 absent entry days (2009/11/8 and 2009/11/9), via creating some view or script I want to auto fill these absent day entries such as :
id name date status
------------------------------------
1 - "bla bla" - 2009/11/6 - true
2 - "bla bla" - 2009/11/7 - true
3 - "bla bla" - 2009/11/8 - false
4 - "bla bla" - 2009/11/9 - false
5 - "bla bla" - 2009/11/10 - true
Thanks