I have a model called Offering which has a start date and a duration
in days.
I want to do a query and get instances where the end date (not
modeled) is in the past.
I know that I can add a non-editable field end-date that is computed
in the save method, but this seems denormalized.
I'm curious to see if this is possible using only a start date,
duration, and queries.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---