title: Querying django migrations table
body: <p>How can one query the django_migrations table from a view? For instance(What I have tried and of course not working)</p>
  
  <pre><code>from django.db import migrations
  
  latest_migration = migrations.objects.all().order_by('-applied')[0]
  </code></pre>
  
  <p>If possible, how should one proceed?</p>