mysite
polls
models
__init__.py
models1.py
models2.py
- Remove models.py from the polls app
- Create a folder called models
- Inside the models folder create __init__.py(empty file)
- Create the required models for your project
python manage.py makemigrations
python manage.py migrate
15 Feb. 2023
|
Last Updated: 22 Nov. 2025
|
jaimedcsilva Related