Skip to content

Commit

Permalink
Add missing migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Coperh committed Nov 6, 2024
1 parent ccfd36e commit dd6b1c7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
django: ['3.2', '4.2']
cms: ['3.11','4.1']

name: Run the test suite (Python ${{ matrix.python }}, Django ${{ matrix.django }}, CMS ${{ matrix.mozilla_django_oidc }})
name: Run the test suite (Python ${{ matrix.python }}, Django ${{ matrix.django }}, CMS ${{ matrix.cms }})

steps:
- uses: actions/checkout@v4
Expand Down
27 changes: 27 additions & 0 deletions aldryn_forms/migrations/0019_alter_formplugin_action_backend.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Generated by Django 5.1.3 on 2024-11-06 15:47

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("aldryn_forms", "0018_formplugin_use_form_action"),
]

operations = [
migrations.AlterField(
model_name="formplugin",
name="action_backend",
field=models.CharField(
choices=[
("none", "No action"),
("email_only", "Only send email"),
("default", "Save to site administration and send email"),
],
default="default",
max_length=15,
verbose_name="Action backend",
),
),
]
3 changes: 2 additions & 1 deletion tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
HELPER_SETTINGS = {
'INSTALLED_APPS': [
'tests',
"aldryn_forms",
'aldryn_forms.contrib.email_notifications',
'djangocms_text_ckeditor',
'captcha',
Expand All @@ -28,7 +29,7 @@


def run():
from djangocms_helper import runner
from app_helper import runner
runner.cms('aldryn_forms')


Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ deps =
cms41: django-cms~=4.1
commands =
{envpython} --version
{envpython} tests/settings.py cms_check
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run tests/settings.py
{env:COMMAND:coverage} report
Expand Down

0 comments on commit dd6b1c7

Please sign in to comment.