← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1564193] Re: Tutorials related to class Meta should use new style

 

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 <guoshan@xxxxxxxxxxx>
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


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1564193

Title:
  Tutorials related to class Meta should use new style

Status in OpenStack Dashboard (Horizon):
  Fix Released

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"
          table_actions = (MyAction, MyOtherAction)
          row_actions - (MyAction)

  It should use new style (inherit from 'object').

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1564193/+subscriptions


References