← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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').

** Affects: horizon
     Importance: Undecided
     Assignee: guoshan (guoshan)
         Status: New


** Tags: documentation

** Changed in: horizon
     Assignee: (unassigned) => guoshan (guoshan)

-- 
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):
  New

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


Follow ups