[Openstack] Horizon panel and database

Matthias Runge mrunge at redhat.com
Mon Jun 30 11:53:26 UTC 2014


On Thu, Jun 26, 2014 at 05:36:07PM +0200, Lukáš Vízner wrote:
> Hi,
> 
> I have specific task that I need to create a new panel in horizon
> dashboard. In this panel I need to create table and in this table I need to
> show data from my specific database table.
> 
> I have created the new panel and table, I have prepared my database table,
> but now I donť know how to work with it all to connect to my database, read
> data from the database table and show it in the horizon table, because in
> the example files from others panels is openstack api used. I would need to
> read data directly from the database. Is this possible? What steps should I
> follow now ?
> 
> Could anybody help me to solve this issue?
> 
Do you have a model for you data used? The Django docs are quite good at
this point[1].

HTH, Matthias


[1] https://docs.djangoproject.com/en/1.6/topics/db/queries/
-- 
Matthias Runge <mrunge at redhat.com>




More information about the Openstack mailing list