diff --git a/django_afip/apps.py b/django_afip/apps.py
index <HASH>..<HASH> 100644
--- a/django_afip/apps.py
+++ b/django_afip/apps.py
@@ -5,6 +5,7 @@ class AfipConfig(AppConfig):
     name = "django_afip"
     label = "afip"
     verbose_name = "AFIP"
+    default_auto_field = "django.db.models.AutoField"
 
     def ready(self):
         # Register app signals:
Avoid primary key issues in future Djangos