How to get the last migration

In django we can write '__first__' to indicate the first migration dependency

dependencies = [
    ('auth', '__first__'),
]

Is there any way to get the latter?
Something like "__last__"?

thank

+4
source share
1 answer

Yes there is.

This is name - __latest__.

Example:

dependencies = [
    ('auth', '__latest__'),
]
+4
source

All Articles