from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _


class FormDesignerConfig(AppConfig):
    name = "form_designer"
    verbose_name = _("Form Designer")

from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _


class FormDesignerConfig(AppConfig):
    default_auto_field = "django.db.models.AutoField"

    name = "form_designer"
    verbose_name = _("Form Designer")

Set the default auto field to be AutoField