divanov11 / Django-To-Do-list-with-user-authentication

To Do list app with User Registration, Login, Search and full Create Read Update and DELETE functionality.
217 stars 116 forks source link

WARNINGS: #7

Open sky201992 opened 3 years ago

sky201992 commented 3 years ago

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

SharRish commented 2 years ago

Add the following to settings.py file of the project directory.

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

ebisinteidennis commented 2 years ago

Okay thanks let me fix it