MCPcopy
hub / github.com/django/django / get_allow_future

Method get_allow_future

django/views/generic/dates.py:249–254  ·  view source on GitHub ↗

Return `True` if the view should be allowed to display objects from the future.

(self)

Source from the content-addressed store, hash-verified

247 return self.date_field
248
249 def get_allow_future(self):
250 """
251 Return `True` if the view should be allowed to display objects from
252 the future.
253 """
254 return self.allow_future
255
256 # Note: the following three methods only work in subclasses that also
257 # inherit SingleObjectMixin or MultipleObjectMixin.

Callers 3

get_dated_querysetMethod · 0.80
get_objectMethod · 0.80
_get_next_prevFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected