[Answered ]-Use Django's get_or_create to create a model for each day

2👍

You should use DateField instead of DateTimeField, and if you need to create something more complex (like one new field per hour), you should try to create your own field or use filters.

If you want to use filters, just do something like this:

get_or_create(Model, date__year=datetime.now().year, [...])

You can also create a cron task that create a field each day.

These articles can ask to your question:

Leave a comment