Tutorials related to class Meta should use new style
Bug #1564193 reported by
guoshan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
guoshan |
Bug Description
The tutorials still use the old style class declaration.
class MyTable(DataTable):
name = Column('name')
email = Column('email')
class Meta:
name = "my_table"
row_actions - (MyAction)
It should use new style (inherit from 'object').
Changed in horizon: | |
assignee: | nobody → guoshan (guoshan) |
Changed in horizon: | |
importance: | Undecided → Low |
milestone: | none → ongoing |
status: | New → Confirmed |
Changed in horizon: | |
status: | Confirmed → In Progress |
Changed in horizon: | |
milestone: | ongoing → next |
Changed in horizon: | |
milestone: | next → newton-1 |
To post a comment you must log in.
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-