-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/recaptcha-verification
- Loading branch information
Showing
21 changed files
with
197 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,14 @@ DEBUG=True | |
|
||
# Configures database for mpbackend using URL style. The format is | ||
# | ||
# postgis://USER:PASSWORD@HOST:PORT/NAME | ||
# postgres://USER:PASSWORD@HOST:PORT/NAME | ||
# | ||
# Unused components may be left out, only Postgis is supported. | ||
# The example below configures mpbackend to use local PostgreSQL database | ||
# called "mpbackend", connecting same as username as Django is running as. | ||
# Django setting: DATABASES (but not directly) https://docs.djangoproject.com/en/4.2/ref/settings/#databases | ||
# When running with docker change 'localhost' host 'postgres'. | ||
DATABASE_URL=postgis://mobilityprofile:mobilityprofile@localhost:5432/mobilityprofile | ||
DATABASE_URL=postgres://mobilityprofile:mobilityprofile@localhost:5432/mobilityprofile | ||
|
||
# List of Host-values, that mpbackend will accept in requests. | ||
# This setting is a Django protection measure against HTTP Host-header attacks | ||
|
@@ -27,12 +27,6 @@ CORS_ORIGIN_WHITELIST=http://localhost:8080 | |
# https://docs.djangoproject.com/en/2.2/ref/settings/#languages | ||
LANGUAGES=fi,sv,en | ||
|
||
# Email settings | ||
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend | ||
EMAIL_HOST=smtp.turku.fi | ||
[email protected] | ||
EMAIL_PORT=25 | ||
EMAIL_USE_TLS=True | ||
|
||
# Media root is the place in file system where Django and, by extension | ||
# smbackend stores "uploaded" files. This means any and all files | ||
|
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
Binary file not shown.
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
32 changes: 32 additions & 0 deletions
32
profiles/migrations/0016_result_value_result_value_en_result_value_fi_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,32 @@ | ||
# Generated by Django 4.2 on 2024-02-27 09:34 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("profiles", "0015_alter_question_options"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="result", | ||
name="value", | ||
field=models.CharField(max_length=64, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="result", | ||
name="value_en", | ||
field=models.CharField(max_length=64, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="result", | ||
name="value_fi", | ||
field=models.CharField(max_length=64, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="result", | ||
name="value_sv", | ||
field=models.CharField(max_length=64, 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,19 @@ | ||
# Generated by Django 4.2 on 2024-02-29 08:41 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("profiles", "0016_result_value_result_value_en_result_value_fi_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name="answer", | ||
index=models.Index( | ||
fields=["user", "question", "sub_question"], | ||
name="profiles_an_user_id_8141b8_idx", | ||
), | ||
), | ||
] |
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,16 @@ | ||
# Generated by Django 4.2 on 2024-02-29 08:56 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("profiles", "0017_answer_create_indexes"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="postalcoderesult", | ||
options={"ordering": ["postal_code", "postal_code_type"]}, | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
profiles/migrations/0019_questioncondition_subquestion_condition_add_ordering.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,20 @@ | ||
# Generated by Django 4.2 on 2024-02-29 10:06 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("profiles", "0018_postalcoderesult_add_ordering"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="questioncondition", | ||
options={"ordering": ["id"]}, | ||
), | ||
migrations.AlterModelOptions( | ||
name="subquestioncondition", | ||
options={"ordering": ["id"]}, | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
profiles/migrations/0020_postalcode_postalcodetype_add_ordering.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,20 @@ | ||
# Generated by Django 4.2 on 2024-02-29 10:25 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("profiles", "0019_questioncondition_subquestion_condition_add_ordering"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="postalcode", | ||
options={"ordering": ["id"]}, | ||
), | ||
migrations.AlterModelOptions( | ||
name="postalcodetype", | ||
options={"ordering": ["id"]}, | ||
), | ||
] |
Oops, something went wrong.