fabiocaccamo/django-extra-settings

View on GitHub
extra_settings/migrations/0007_alter_settings_validator.py

Summary

Maintainability
A
0 mins
Test Coverage
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("extra_settings", "0006_setting_validator"),
    ]

    operations = [
        migrations.AlterField(
            model_name="setting",
            name="validator",
            field=models.CharField(
                blank=True,
                help_text=(
                    "Full python path to a validator function, "
                    "eg. 'myapp.mymodule.my_validator'"
                ),
                max_length=255,
                null=True,
                verbose_name="Validator",
            ),
        ),
    ]