From 3a3467be2810ef85d594c6805ff9e3630fce4aa4 Mon Sep 17 00:00:00 2001 From: CVL-GitHub <jupiter.hu@monash.edu> Date: Mon, 7 Sep 2015 16:22:11 +1000 Subject: [PATCH] add default projects --- roles/karaage3.1.17/templates/settings.py.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/karaage3.1.17/templates/settings.py.j2 b/roles/karaage3.1.17/templates/settings.py.j2 index b2ff33d..7c4d2ad 100644 --- a/roles/karaage3.1.17/templates/settings.py.j2 +++ b/roles/karaage3.1.17/templates/settings.py.j2 @@ -83,6 +83,12 @@ DEFAULT_PROJECT_PID = "{{ defaultProject }}" DEFAULT_MACHINE_CATEGORY_NAME = "{{ defaultMachineCategory }}" {% endif %} DEFAULT_INSTITUTE_NAME = "Monash University" +DEFAULT_PROJECTS = [ +{"project_name": "MCC2", "pid": "pMcc2", "institute_name": "Monash University"}, +{"project_name": "MCC3", "pid": "pMcc3", "institute_name": "Monash University"}, +{"project_name": "MASSIVE", "pid": "pMassive", "institute_name": "Monash University"}, +{"project_name": "CVL", "pid": "pCvl", "institute_name": "Monash University"} +] # A dictionary containing the settings for all databases to be used with # Django. It is a nested dictionary whose contents maps database aliases to a -- GitLab