-
Notifications
You must be signed in to change notification settings - Fork 241
OperationalError at / no such table: adoptions_pet #5
Copy link
Copy link
Open
Description
Issue Overview
When starting the webserver in lesson 1, I get the above error.
Describe your environment
Using Windows 10, Google Chrome, Django 3.2.3
Steps to Reproduce
- In CMD -- 'python manage.py runserver'
- WARNINGS --adoptions.Pet: (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 AdoptionsConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
adoptions.Vaccine: (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 AdoptionsConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. - Open http://localhost:8000/ via Chrome
- Get Error
Expected Behavior
To get the Django Default Load
Current Behavior
Error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels