Return `True` if the view should be allowed to display objects from the future.
(self)
| 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. |
no outgoing calls
no test coverage detected