labd / wagtailstreamforms

What happened when a FormBuilder met a StreamField
http://wagtailstreamforms.readthedocs.io
MIT License
156 stars 80 forks source link

HINT: Configure the DEFAULT_AUTO_FIELD #184

Open hakanoktay opened 2 years ago

hakanoktay commented 2 years ago

Hi, I am getting the following warning.

HINT: Configure the DEFAULT_AUTO_FIELD setting or the SimpleTranslationAppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
wagtailstreamforms.Form: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.

I think it needs a little update. default_auto_field = 'django.db.models.AutoField'

thank you.