-
Notifications
You must be signed in to change notification settings - Fork 2
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 #39 from unicef/develop
Develop
- Loading branch information
Showing
87 changed files
with
18,192 additions
and
3,739 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
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
23 changes: 23 additions & 0 deletions
23
src/etools_datamart/api/endpoints/datamart/fm_questions.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,23 @@ | ||
from etools_datamart.api.endpoints.common import DataMartViewSet | ||
from etools_datamart.api.endpoints.datamart.serializers import DataMartSerializer | ||
from etools_datamart.apps.mart.data import models | ||
|
||
|
||
class FMQuestionSerializer(DataMartSerializer): | ||
class Meta(DataMartSerializer.Meta): | ||
model = models.FMQuestion | ||
|
||
|
||
class FMQuestionViewSet(DataMartViewSet): | ||
serializer_class = FMQuestionSerializer | ||
queryset = models.FMQuestion.objects.all() | ||
|
||
|
||
class FMOntrackSerializer(DataMartSerializer): | ||
class Meta(DataMartSerializer.Meta): | ||
model = models.FMOntrack | ||
|
||
|
||
class FMOntrackViewSet(DataMartViewSet): | ||
serializer_class = FMOntrackSerializer | ||
queryset = models.FMOntrack.objects.all() |
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
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
24 changes: 24 additions & 0 deletions
24
src/etools_datamart/apps/mart/data/migrations/0119_engagement_auditor.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,24 @@ | ||
# Generated by Django 2.2.9 on 2020-04-22 12:55 | ||
|
||
import django.contrib.postgres.fields.jsonb | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('data', '0118_fundsreservation_pd_reference_number'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='engagement', | ||
name='auditor', | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='engagement', | ||
name='action_points', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True), | ||
), | ||
] |
24 changes: 24 additions & 0 deletions
24
src/etools_datamart/apps/mart/data/migrations/0120_auto_20200604_1749.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,24 @@ | ||
# Generated by Django 2.2.11 on 2020-06-04 17:49 | ||
|
||
import django.contrib.postgres.fields.jsonb | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('data', '0119_engagement_auditor'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='engagement', | ||
name='rating', | ||
field=models.CharField(blank=True, max_length=100, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='engagement', | ||
name='rating_extra', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
src/etools_datamart/apps/mart/data/migrations/0121_auto_20200610_1701.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,18 @@ | ||
# Generated by Django 2.2.11 on 2020-06-10 17:01 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('data', '0120_auto_20200604_1749'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='engagement', | ||
name='rating', | ||
field=models.CharField(blank=True, choices=[(0, 'N/A'), (1, 'Low'), (2, 'Medium'), (3, 'Significant'), (4, 'High')], max_length=100, null=True), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
src/etools_datamart/apps/mart/data/migrations/0122_pdindicator_pd_reference_number.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,18 @@ | ||
# Generated by Django 2.2.11 on 2020-06-29 17:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('data', '0121_auto_20200610_1701'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='pdindicator', | ||
name='pd_reference_number', | ||
field=models.CharField(blank=True, max_length=256, null=True), | ||
), | ||
] |
Oops, something went wrong.