Browse Source

HUE-1277 [impala] Install queries example fix

Romain Rigaux 12 years ago
parent
commit
4498724b46

+ 1 - 1
apps/beeswax/src/beeswax/management/commands/beeswax_install_examples.py

@@ -102,7 +102,7 @@ class Command(NoArgsCommand):
 
 
     for design_dict in design_list:
     for design_dict in design_list:
       if app_name == 'impala':
       if app_name == 'impala':
-        design_dict['type'] = SavedQuery.IMPALA
+        design_dict['type'] = models.IMPALA
       design = SampleDesign(design_dict)
       design = SampleDesign(design_dict)
       try:
       try:
         design.install(django_user)
         design.install(django_user)