Package gavo :: Package registry :: Module common :: Class DateUpdatedMixin
[frames] | no frames]

Class DateUpdatedMixin

source code

object --+
         |
        DateUpdatedMixin
Known Subclasses:

A mixin providing computers for dateUpdated and datetimeUpdated.

The trouble is that we need this in various formats. Classes mixing this in may give a dateUpdated attribute (a datetime.datetime) that is used to compute both meta elements.

If any of them is overridden manually, the other is computed from the one given.

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__