def __init__(self, *args, **kwargs):

        super(LogDatabaseForm, self).__init__(*args, **kwargs)
        if 'initial' in kwargs:
            instance = Database.objects.get(
                id=kwargs['initial']['database_id'])

            if instance:
                LOG.debug("instance database form found! %s" % instance)
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/logical/forms/database.py/LogDatabaseForm.__init__/original