When "No changes detected" is displayed in python3 manage.py makemigrations

Although the following command is used when migrating

python3 manage.py makemigrations

Using this command fails

hoge@:huga/project$ python3 manage.py makemigrations
No changes detected

It was because I didn't tell settings.py in the parent project that I added the child project.

settings.py


INSTALLED_APPS = [
  'django.contrib.admin',
  'Add the created project name with the migrations folder'
]

By adding the above, initial.py was created successfully. It was a rudimentary thing, and even when I looked it up, it didn't come out. It was difficult to understand because the error details were not displayed.

Recommended Posts

When "No changes detected" is displayed in python3 manage.py makemigrations
When issuing an INSERT statement in Python, no such column is displayed
There is no switch in python
Solution when module'XXX' has no attribute'XXX' in Python
When "ERROR: HTTP is not supported." Is displayed in mpsyt
What to do when there is no response due to Proxy setting in Python web scraping
A memo when face is detected with Python + OpenCV quickly
no CUDA-capable device is detected
Attention when os.mkdir in Python
[Python] Execution time when a function is entered in a dictionary value
[Python] The value written in Openpyxl is displayed in exponential notation (E).
What to do when ModuleNotFoundError: No module named'XXX' occurs in Python
What to do when the value type is ambiguous in Python?
Difference between == and is in python
Use fabric as is in python (fabric3)
Behavior when listing in Python heapq
Python is UnicodeEncodeError in CodeBox docker
Assignments and changes in Python objects
Python in is also an operator
When using regular expressions in Python
When writing a program in Python
[Python] Whiten the parts that turn black when there is no data in the Choropleth map of Folium.
[Django] sqlite version error when running python manage.py in aws cloud9 environment
Notify using Notification Center when the execution environment is macOS in Python
What to do when a warning message is displayed in pip list
When specifying multiple keys in python sort
python note: when easy_install is not available
"<" In python> pack ("<L", ...) is little endian
Create ScriptableObject in Python when building ADX2
Precautions when pickling a function in python
Inject is recommended for DDD in Python
Revived from "no internet access" in Python
In python + sqlite3 "OperationalError: no such column:"
When looking at memory usage in Python 3
What is "mahjong" in the Python library? ??
Hash in Perl is a dictionary in Python
When the target is Ubuntu 16.04 in Ansible
ModuleNotFoundError in Python: No module named story
How to use is and == in Python
Import Error in Python3: No module named'xxxxx'
The date is displayed incorrectly in matplotlib.
Even if the development language is changed to python3 in Cloud9, version 2 is displayed in python --version
Measures to be taken when "Cannot open display" is displayed in X11 Forward
Output timing is incorrect when standard (error) output is converted to a file in Python
[For beginners] Unexpected behavior if "\" is included when setting the path in Python
What to do when [Errno 2] No such file or directory appears in Python
Python virtual environment in 2021 ~ There is no reason not to use venv now ~