Hi all,

I've a model defined as thus:

from model_utils.models import TimeFramedModel

class Event(TimeFramedModel):
    title=models.CharField(max_length=100)
    ...

The 
docs<https://django-model-utils.readthedocs.org/en/latest/models.html#timeframedmodel>are
 a bit slim on the ground for this one, but how do you use the added 
"timeframed" 
manager<https://github.com/carljm/django-model-utils/blob/master/model_utils/models.py#L87>
?

I've tried Event.timeframed.filter(start=X, end=Y) but to no avail. Any 
help?

Cheers.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to