input: Write a function to create a Django application with a model that stores the name, address, and email of a user. Implement the necessary steps to start the project, create the model, and perform the migrations.
  assert create_django_app()=="myapp"
  assert create_django_app().User.fields==['name', 'address', 'email']
  assert create_django_app().migration_completed==True
  assert create_django_app().error==None
output: def create_django_app():
      from django.apps import AppConfig
      from django.db import models
      from django.core.management import call_command
      from django.core.exceptions import ImproperlyConfigured
  
      class MyAppConfig(AppConfig):
          name = 'myapp'
  
      class User(models.Model):
          name = models.CharField(max_length=100)
          address = models.CharField(max_length=200)
          email = models.EmailField()
  
          class Meta:
              app_label = 'myapp'
  
      class MyApp:
          def __init__(self):
              self.User = User
              self.migration_completed = False
              self.error = None
  
          def perform_migrations(self):
              try:
                  call_command('makemigrations', 'myapp')
                  call_command('migrate', 'myapp')
                  self.migration_completed = True
              except ImproperlyConfigured as e:
                  self.error = str(e)
  
      my_app = MyApp()
      my_app.perform_migrations()
      return my_app