I'm building an application that requires each user to make a post on a daily basis. I'd like to display the gaps in dates where users haven't made posts. Since it doesn't seem like a good idea to insert empty database rows for empty posts, I'm only inserting a record when the user adds a post.
The model contains a field named log_date. I'm at a loss for how to display the gaps in the Django template. This is how I'd like the output in the template to look like:
2009-11-25
2009-11-24
2009-11-23 NO ENTRY
2009-11-22 NO ENTRY
2009-11-21
Thanks in advance for any help. Let me know if I can provide additional details.