Reviewed: https://review.openstack.org/299818 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a7da1dae4d005d104b88d471eb30c9da79c870ad Submitter: Jenkins Branch: master
commit a7da1dae4d005d104b88d471eb30c9da79c870ad Author: guoshan <email address hidden> Date: Thu Mar 31 17:12:12 2016 +0800
Tutorials related to class Meta should use new style
The tutorials still use the old style class declaration. class MyTable(DataTable): name = Column('name') email = Column('email')
class Meta: name = "my_table" table_actions = (MyAction, MyOtherAction) row_actions - (MyAction) It should use new style (inherit from 'object').
Change-Id: Icad23f6359f5f4866c5819f351f5c5cf1c3521fd closes-bug:#1564193
Reviewed: https:/ /review. openstack. org/299818 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=a7da1dae4d0 05d104b88d471eb 30c9da79c870ad
Committed: https:/
Submitter: Jenkins
Branch: master
commit a7da1dae4d005d1 04b88d471eb30c9 da79c870ad
Author: guoshan <email address hidden>
Date: Thu Mar 31 17:12:12 2016 +0800
Tutorials related to class Meta should use new style
The tutorials still use the old style class declaration.
class MyTable(DataTable):
name = Column('name')
email = Column('email')
class Meta:
table_ actions = (MyAction, MyOtherAction)
row_ actions - (MyAction)
name = "my_table"
It should use new style (inherit from 'object').
Change-Id: Icad23f6359f5f4 866c5819f351f5c 5cf1c3521fd bug:#1564193
closes-