Skip to content

Commit

Permalink
update settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
tumiemosweu committed Mar 14, 2019
1 parent 4107881 commit 895f4ae
Show file tree
Hide file tree
Showing 18 changed files with 66 additions and 4 deletions.
Empty file.
4 changes: 3 additions & 1 deletion bcpp_clinic/settings.py → bcpp_clinic/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
"""
import configparser
import os
from pathlib import PurePath
import sys

from django.core.management.color import color_style
from pathlib import PurePath


# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down Expand Up @@ -57,6 +58,7 @@
'django.contrib.messages',
'django.contrib.staticfiles',
'crispy_forms',
'django_extensions',
'tz_detect',
'corsheaders',
'rest_framework',
Expand Down
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/digawana.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Digawana'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/gumare.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Gumare'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/gweta.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Gweta'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/lentsweletau.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Lentsweletau'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/lerala.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Lerala'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/masunga.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Masunga'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/mathangwane.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Mathangwane'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/maunatlala.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Maunatlala'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/mmankgodi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Mmankgodi'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/nkange.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Nkange'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/oodi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Oodi'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/otse.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Otse'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/sefhare.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Sefhare'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/shoshong.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Shoshong'
DEVICE_ROLE = 'NodeServer'
4 changes: 4 additions & 0 deletions bcpp_clinic/settings/tati.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base_live import *

CURRENT_MAP_AREA = 'Tati_Siding'
DEVICE_ROLE = 'NodeServer'
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
git+https://github.com/botswana-harvard/edc-base.git
git+https://github.com/botswana-harvard/edc-sync.git
git+https://github.com/botswana-harvard/edc-sync-files.git
git+https://github.com/erikvw/django-crypto-fields.git
git+https://github.com/erikvw/django-revision.git
git+https://github.com/botswana-harvard/django-crypto-fields.git
git+https://github.com/botswana-harvard/django-revision.git
git+https://github.com/botswana-harvard/edc-dashboard.git
git+https://github.com/botswana-harvard/edc-consent.git
git+https://github.com/botswana-harvard/edc-registration.git
Expand Down Expand Up @@ -34,4 +34,4 @@ git+https://github.com/botswana-harvard/bcpp-community.git
git+https://github.com/botswana-harvard/edc-offstudy.git
git+https://github.com/botswana-harvard/edc-model-wrapper.git
git+https://github.com/botswana-harvard/edc-rest.git
git+https://github.com/botswana-harvard/edc-metadata-rules.git
git+https://github.com/botswana-harvard/edc-metadata-rules.git

0 comments on commit 895f4ae

Please sign in to comment.