Skip to content
Snippets Groups Projects
Commit 2e5a7c3b authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-142: use absolute paths

parent 80f8415e
No related branches found
No related tags found
2 merge requests!98Resolve TMSS-142 and TMSS-141,!97Resolve TMSS-138
......@@ -5,13 +5,14 @@ from glob import glob
import subprocess as sp
import logging
logger = logging.getLogger(__file__)
here = os.path.dirname(__file__)
relapath = '/tmss/tmssapp/migrations/'
template = """
from django.db import migrations
from ..populate import *
from lofar.sas.tmss.tmss.tmssapp.populate import *
class Migration(migrations.Migration):
......
......@@ -9,4 +9,5 @@ class Migration(migrations.Migration):
('tmssapp', '0002_auto_20200123_1057'),
]
operations = [ migrations.RunPython(populate_choices) ]
operations = [ migrations.RunPython(populate_choices),
migrations.RunPython(populate_lofar_json_schemas) ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment