-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1204 from unicef/develop
Develop -> Master 20190924
- Loading branch information
Showing
340 changed files
with
40,079 additions
and
93,267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
ENV_VARS=SECRET_KEY=123 \ | ||
ENV=dev \ | ||
POSTGRES_DB=unicef_prp \ | ||
POSTGRES_USER=postgres \ | ||
POSTGRES_PASSWORD= \ | ||
POSTGRES_HOST=localhost \ | ||
DATA_VOLUME=/tmp \ | ||
REDIS_URL=redis://localhost:6379/0 | ||
|
||
|
||
help: | ||
@echo ' ' | ||
@echo 'Usage: ' | ||
@echo ' make test run tests ' | ||
@echo ' make migrate run local migrations ' | ||
@echo ' make loaddata load fixtures ' | ||
@echo ' make run run local instance ' | ||
|
||
|
||
test: | ||
${ENV_VARS} python manage.py test --keepdb --failfast | ||
|
||
migrate: | ||
${ENV_VARS} python manage.py migrate | ||
|
||
loaddata: | ||
${ENV_VARS} python manage.py loaddata sites | ||
${ENV_VARS} python manage.py loaddata reporting_entities | ||
|
||
run: | ||
${ENV_VARS} python manage.py runserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
django_api/django_api/apps/cluster/migrations/0003_auto_20190522_1759.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.20 on 2019-05-22 17:59 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('cluster', '0002_auto_20180711_2325'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='cluster', | ||
name='external_source', | ||
field=models.TextField(blank=True, choices=[('HPC', 'HPC'), ('OPS', 'OPS'), ('UNICEF', 'UNICEF')], null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='clusteractivity', | ||
name='external_source', | ||
field=models.TextField(blank=True, choices=[('HPC', 'HPC'), ('OPS', 'OPS'), ('UNICEF', 'UNICEF')], null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='clusterobjective', | ||
name='external_source', | ||
field=models.TextField(blank=True, choices=[('HPC', 'HPC'), ('OPS', 'OPS'), ('UNICEF', 'UNICEF')], null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.