standard attributes: expose created_at/updated_at on models
Instead of enforcing all model users to know that those fields belong to
a separate model, consistently use association_proxy for all standard
attributes similar to what we already do with description.
This change should reduce some complexity in db handling code, for
example for versioned objects.
Reviewed: https:/ /review. openstack. org/301837 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=34a328fe129 50c339b82594512 62470c627f2f00
Committed: https:/
Submitter: Jenkins
Branch: master
commit 34a328fe12950c3 39b825945126247 0c627f2f00
Author: Ihar Hrachyshka <email address hidden>
Date: Tue Apr 5 19:00:21 2016 +0200
standard attributes: expose created_ at/updated_ at on models
Instead of enforcing all model users to know that those fields belong to
a separate model, consistently use association_proxy for all standard
attributes similar to what we already do with description.
This change should reduce some complexity in db handling code, for
example for versioned objects.
Change-Id: I2df5c3514e1f86 8baa835adff2d95 c1156ec7384
Related-Bug: #1541928