Эх сурвалжийг харах

[notebook] Fix the install of the example Notebook

Romain Rigaux 10 жил өмнө
parent
commit
7c9a069

+ 0 - 0
desktop/libs/notebook/src/notebook/fixtures/initial_spark_examples.json → desktop/libs/notebook/src/notebook/fixtures/initial_notebook_examples.json


+ 1 - 1
desktop/libs/notebook/src/notebook/management/commands/notebook_setup.py

@@ -43,7 +43,7 @@ class Command(BaseCommand):
     if not Document2.objects.filter(type='notebook', owner__username__in=SAMPLE_USER_OWNERS).exists():
       install_sample_user()
 
-      management.call_command('loaddata', 'apps/spark/src/spark/fixtures/initial_spark_examples.json', verbosity=2)
+      management.call_command('loaddata', 'desktop/libs/notebook/src/notebook/fixtures/initial_notebook_examples.json', verbosity=2)
       Document.objects.sync()
 
     from beeswax.management.commands.beeswax_install_examples import Command