-
Notifications
You must be signed in to change notification settings - Fork 9
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 #162 from manuGil/frontend/mapviews
Frontend/mapviews
- Loading branch information
Showing
39 changed files
with
4,759 additions
and
2,268 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 |
---|---|---|
|
@@ -6,6 +6,7 @@ __pycache__/ | |
|
||
# NOTES | ||
dev-notes.md | ||
data/ | ||
|
||
# Django # | ||
*.log | ||
|
18 changes: 18 additions & 0 deletions
18
citizenvoice/apiapp/migrations/0003_rename_descripion_locationcollection_description.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 5.0 on 2024-06-12 14:28 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0002_polygonfeature'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='locationcollection', | ||
old_name='descripion', | ||
new_name='description', | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
citizenvoice/apiapp/migrations/0004_alter_locationcollection_description.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 5.0 on 2024-06-19 01:19 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0003_rename_descripion_locationcollection_description'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='locationcollection', | ||
name='description', | ||
field=models.CharField(blank=True, max_length=300, 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 5.0 on 2024-06-26 05:45 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0004_alter_locationcollection_description'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='question', | ||
name='show_text', | ||
field=models.BooleanField(default=True, verbose_name='If the question must show the text field or not'), | ||
), | ||
] |
28 changes: 28 additions & 0 deletions
28
...zenvoice/apiapp/migrations/0006_question_explanation_alter_question_show_text_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,28 @@ | ||
# Generated by Django 5.0 on 2024-06-26 06:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0005_question_show_text'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='question', | ||
name='explanation', | ||
field=models.TextField(blank=True, null=True, verbose_name='Explanation for the Question'), | ||
), | ||
migrations.AlterField( | ||
model_name='question', | ||
name='show_text', | ||
field=models.BooleanField(default=True, verbose_name='Show the input text field'), | ||
), | ||
migrations.AlterField( | ||
model_name='question', | ||
name='text', | ||
field=models.TextField(verbose_name='Question'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
citizenvoice/apiapp/migrations/0007_alter_question_explanation.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 5.0 on 2024-06-26 07:09 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0006_question_explanation_alter_question_show_text_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='question', | ||
name='explanation', | ||
field=models.TextField(blank=True, max_length=200, null=True, verbose_name='Explanation for the question'), | ||
), | ||
] |
50 changes: 50 additions & 0 deletions
50
citizenvoice/apiapp/migrations/0008_rename_show_text_question_has_text_input_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,50 @@ | ||
# Generated by Django 5.0 on 2024-07-03 09:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0007_alter_question_explanation'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='question', | ||
old_name='show_text', | ||
new_name='has_text_input', | ||
), | ||
migrations.RemoveField( | ||
model_name='linefeature', | ||
name='description', | ||
), | ||
migrations.RemoveField( | ||
model_name='pointfeature', | ||
name='description', | ||
), | ||
migrations.RemoveField( | ||
model_name='polygonfeature', | ||
name='description', | ||
), | ||
migrations.AddField( | ||
model_name='linefeature', | ||
name='annotation', | ||
field=models.CharField(blank=True, max_length=150, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='mapview', | ||
name='description', | ||
field=models.TextField(blank=True, max_length=200, null=True, verbose_name='Description of the MapView'), | ||
), | ||
migrations.AddField( | ||
model_name='pointfeature', | ||
name='annotation', | ||
field=models.CharField(blank=True, max_length=150, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='polygonfeature', | ||
name='annotation', | ||
field=models.CharField(blank=True, max_length=150, null=True), | ||
), | ||
] |
29 changes: 29 additions & 0 deletions
29
citizenvoice/apiapp/migrations/0009_alter_linefeature_location_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,29 @@ | ||
# Generated by Django 5.0 on 2024-07-03 11:45 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0008_rename_show_text_question_has_text_input_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='linefeature', | ||
name='location', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='apiapp.locationcollection'), | ||
), | ||
migrations.AlterField( | ||
model_name='pointfeature', | ||
name='location', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='apiapp.locationcollection'), | ||
), | ||
migrations.AlterField( | ||
model_name='polygonfeature', | ||
name='location', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='apiapp.locationcollection'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
citizenvoice/apiapp/migrations/0010_survey_submit_messsage.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 5.0 on 2024-07-03 11:56 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0009_alter_linefeature_location_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='survey', | ||
name='submit_messsage', | ||
field=models.TextField(blank=True, default='Thank you for your participation!', verbose_name='Message to be displayed after survey is submited'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
citizenvoice/apiapp/migrations/0011_rename_submit_messsage_survey_submit_message.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 5.0 on 2024-07-03 11:59 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0010_survey_submit_messsage'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='survey', | ||
old_name='submit_messsage', | ||
new_name='submit_message', | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
citizenvoice/apiapp/migrations/0012_alter_survey_submit_message.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 5.0 on 2024-07-03 12:01 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('apiapp', '0011_rename_submit_messsage_survey_submit_message'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='survey', | ||
name='submit_message', | ||
field=models.TextField(blank=True, default='Thank you for your participation!', verbose_name='Message to be displayed after survey is submitted'), | ||
), | ||
] |
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
Oops, something went wrong.