title: Django migrations - Get current app name in RunPython function
body: <p>One of my migrations has the additional function to be run using <code>RunPython</code>. This message's purpose is only to show a happy message to user. The only problem is, that I need to show an app name, in which current migration was created and run. Is this somewhat possible? </p>
  
  <p><strong>My code</strong>:</p>
  
  <pre><code>from django.db import migrations, models
  import django.db.models.deletion
  
  
  def happy_message(apps, schema_editor):
      print('A happy message from migration inside app named {}')
  
  
  class Migration(migrations.Migration):
  
      operations = [
          migrations.AddField(
              model_name='mymodel',
              name='rank_no',
              field=models.IntegerField(null=True),
          ),
          migrations.RunPython(
              happy_message,
              migrations.RunPython.noop
          ),
      ]
  </code></pre>