views.generic.dates.DateMixin.allow_future

allow_future

A boolean specifying whether to include “future” objects on this page, where “future” means objects in which the field specified in date_field is greater than the current date/time. By default, this is False.

doc_Django
2016-10-09 18:40:53
Comments
Leave a Comment

Please login to continue.