Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Sep 18, 2015
1 parent cd09b0d commit 16550b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions panoramix/bin/panoramix
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,10 @@ def runserver(debug, port):
print("Starting server with command: " + cmd)
Popen(cmd, shell=True).wait()

@manager.command
def load_examples(self):
"""Loads a set of Slices and Dashboards and a supporting dataset """
print("Loading examples")

if __name__ == "__main__":
manager.run()
3 changes: 3 additions & 0 deletions panoramix/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ def get_url(self, **kwargs):
d = self.args.copy()
d.update(kwargs)
href = Href('/panoramix/table/2/')
href = Href(
'/panoramix/{self.datasource.type}/'
'{self.datasource.id}/'.format(**locals()))
return href(d)

def get_df(self):
Expand Down

0 comments on commit 16550b9

Please sign in to comment.