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
Set the default auto field to be AutoField

On django 3.2 it creates a migration to be BigAutoField. This fixes it.
  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
## Code Before:
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _


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

## Instruction:
Set the default auto field to be AutoField
## Code After:
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")
