-
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.
* Implement Web Module * Update help text * Fix iSort * PR Changes * Fix Migrations
- Loading branch information
1 parent
dbc74a5
commit 8440d7c
Showing
7 changed files
with
116 additions
and
1 deletion.
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,49 @@ | ||
# Generated by Django 3.1.4 on 2020-12-21 08:59 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("experiments", "0028_basic_info_unique"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="WebModule", | ||
fields=[ | ||
( | ||
"basemodule_ptr", | ||
models.OneToOneField( | ||
auto_created=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
parent_link=True, | ||
primary_key=True, | ||
serialize=False, | ||
to="experiments.basemodule", | ||
), | ||
), | ||
("heading", models.CharField(max_length=255)), | ||
("description", models.TextField(blank=True)), | ||
("url", models.URLField(verbose_name="URL")), | ||
( | ||
"auto_close_url", | ||
models.URLField( | ||
blank=True, | ||
help_text="Optional: Enter a URL here that if redirected to will automatically close this module.", | ||
verbose_name="Automatic close URL", | ||
), | ||
), | ||
( | ||
"append_participant_id", | ||
models.BooleanField( | ||
blank=True, | ||
help_text="Optional: Enabling this feature will append theparticpant's id to the url. This is useful if you are using a survey service such as Qualtrics or Google Forms.", | ||
), | ||
), | ||
], | ||
bases=("experiments.basemodule",), | ||
), | ||
] |
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