-
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 #5 from unicef-drp/feature/826-Remove-Django-Warnings
Feature/826 remove django warnings
- Loading branch information
Showing
12 changed files
with
180 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ django-nose | |
coverage | ||
pep8 | ||
pylint | ||
flake8 | ||
flake8==6.0.0 | ||
factory_boy | ||
|
||
django-devserver | ||
|
49 changes: 49 additions & 0 deletions
49
django_project/core/migrations/0021_alter_sitepreferences_api_config_and_more.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,49 @@ | ||
# Generated by Django 4.0.7 on 2023-08-01 06:39 | ||
|
||
import core.models.preferences | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0020_sitepreferences_base_url_help_page'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='sitepreferences', | ||
name='api_config', | ||
field=models.JSONField(blank=True, default=core.models.preferences.default_api_config), | ||
), | ||
migrations.AlterField( | ||
model_name='sitepreferences', | ||
name='default_admin_emails', | ||
field=models.JSONField(blank=True, default=list), | ||
), | ||
migrations.AlterField( | ||
model_name='sitepreferences', | ||
name='default_geometry_checker_params', | ||
field=models.JSONField(blank=True, default=core.models.preferences.default_geometry_checker_params), | ||
), | ||
migrations.AlterField( | ||
model_name='sitepreferences', | ||
name='default_public_groups', | ||
field=models.JSONField(blank=True, default=core.models.preferences.default_public_groups), | ||
), | ||
migrations.AlterField( | ||
model_name='sitepreferences', | ||
name='level_names_template', | ||
field=models.JSONField(blank=True, default=list), | ||
), | ||
migrations.AlterField( | ||
model_name='sitepreferences', | ||
name='metadata_xml_config', | ||
field=models.JSONField(blank=True, default=core.models.preferences.default_metadata_xml_config), | ||
), | ||
migrations.AlterField( | ||
model_name='sitepreferences', | ||
name='tile_configs_template', | ||
field=models.JSONField(blank=True, default=list), | ||
), | ||
] |
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
58 changes: 58 additions & 0 deletions
58
django_project/dashboard/migrations/0060_alter_batchreview_processed_ids_and_more.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,58 @@ | ||
# Generated by Django 4.0.7 on 2023-08-01 06:39 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('dashboard', '0059_alter_notification_type'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='batchreview', | ||
name='processed_ids', | ||
field=models.JSONField(blank=True, default=list, help_text='List of entity uploads that has been processed', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='batchreview', | ||
name='upload_ids', | ||
field=models.JSONField(blank=True, default=list, help_text='List of entity uploads', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='entitiesuserconfig', | ||
name='filters', | ||
field=models.JSONField(blank=True, default=dict), | ||
), | ||
migrations.AlterField( | ||
model_name='entityuploadstatus', | ||
name='admin_level_names', | ||
field=models.JSONField(blank=True, default=dict, help_text='Name of admin levels', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='layerconfig', | ||
name='id_fields', | ||
field=models.JSONField(blank=True, default=list), | ||
), | ||
migrations.AlterField( | ||
model_name='layerconfig', | ||
name='name_fields', | ||
field=models.JSONField(blank=True, default=list), | ||
), | ||
migrations.AlterField( | ||
model_name='layerfile', | ||
name='id_fields', | ||
field=models.JSONField(blank=True, default=list), | ||
), | ||
migrations.AlterField( | ||
model_name='layerfile', | ||
name='name_fields', | ||
field=models.JSONField(blank=True, default=list), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='payload', | ||
field=models.JSONField(blank=True, default=dict), | ||
), | ||
] |
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
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
6812b8f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report for
django_project/dashboard
Test suite run success
12 tests passing in 5 suites.
Report generated by 🧪jest coverage report action from 6812b8f