Traceback (most recent call last):


 "./manage.py", line 46, in <module>

main()


 "./manage.py", line 42, in main

execute_from_command_line(sys.argv)


 "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line

utility.execute()


 "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 328, in run_from_argv

self.execute(*args, **cmd_options)


 "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 369, in execute

output = self.handle(*args, **options)


 "/usr/lib/python3.8/site-packages/django/core/management/commands/check.py", line 59, in handle

self.check(


 "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 392, in check

all_issues = self._run_checks(


 "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 382, in _run_checks

return checks.run_checks(**kwargs)


 "/usr/lib/python3.8/site-packages/django/core/checks/registry.py", line 72, in run_checks

new_errors = check(app_configs=app_configs)


 "/usr/lib/python3.8/site-packages/django_test_migrations/autonames.py", line 60, in check_migration_names

loader = MigrationLoader(None, ignore_no_migrations=True)


 "/usr/lib/python3.8/site-packages/django/db/migrations/loader.py", line 49, in __init__

self.build_graph()


 "/usr/lib/python3.8/site-packages/django/db/migrations/loader.py", line 206, in build_graph

self.load_disk()


 "/usr/lib/python3.8/site-packages/django/db/migrations/loader.py", line 108, in load_disk

migration_module = import_module(migration_path)


 "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1014, in _gcd_import


 "<frozen importlib._bootstrap>", line 991, in _find_and_load


 "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 671, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 783, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/path/to/djstripe/migrations/0005_2_2.py", line 12, in <module>

class Migration(migrations.Migration):


 "/path/to/djstripe/migrations/0005_2_2.py", line 134, in Migration

to_field=settings.DJSTRIPE_FOREIGN_KEY_TO_FIELD,


 "/usr/lib/python3.8/site-packages/django/conf/__init__.py", line 77, in __getattr__

val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'DJSTRIPE_FOREIGN_KEY_TO_FIELD'

Traceback (most recent call last):


 "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 1032, in <module>

main()


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 1028, in main

ToolchainCL()


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 550, in __init__

getattr(self, args.subparser_name.replace('-', '_'))(args)


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 149, in wrapper_func

build_dist_from_args(ctx, dist, args)


 "/home/alex/p4a/pythonforandroid/toolchain.py", line 188, in build_dist_from_args

build_recipes(build_order, python_modules, ctx)


 "/home/alex/p4a/pythonforandroid/build.py", line 625, in build_recipes

biglink(ctx, arch)


 "/home/alex/p4a/pythonforandroid/build.py", line 704, in biglink

env = arch.get_env()


 "/home/alex/p4a/pythonforandroid/archs.py", line 157, in get_env

env = super(ArchARMv7_a, self).get_env(with_flags_in_cc)


 "/home/alex/p4a/pythonforandroid/archs.py", line 57, in get_env

self.ctx.python_recipe.version[0:3])
AttributeError: 'NoneType' object has no attribute 'version'
