Answer the question
In order to leave comments, you need to log in
Command to view contents of migration file?
After listing migrations
python manage.py showmigrations --list
action
[X] 0001_initial
[X] 0002_auto_20190322_0642
activitylog
[X] 0001_initial
[X] 0002_auto_20190621_1051
attend
[X] 0001_initial
[X] 0002_auto_20190514_0712
auth
[X] 0001_initial
[X] 0002_alter_permission_name_max_length
Answer the question
In order to leave comments, you need to log in
If in Unix-like:
cat <путь до файла миграции>
If in windows-like - then
type <путь до файла миграции>
How to find out the path:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question