Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run migrations #43

Closed
amaccuish opened this issue Jun 24, 2018 · 0 comments · Fixed by #45
Closed

Can't run migrations #43

amaccuish opened this issue Jun 24, 2018 · 0 comments · Fixed by #45

Comments

@amaccuish
Copy link
Contributor

I think with the added CA_CUSTOM_APPS, an issue has been introduced and I can't run migrations.
The traceback I get is:

Traceback (most recent call last):
File "ca/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/share/ca/alex/lib/python3.6/site-packages/django/core/management/init.py", line 371, in execute_from_command_line
utility.execute()
File "/usr/local/share/ca/alex/lib/python3.6/site-packages/django/core/management/init.py", line 347, in execute
django.setup()
File "/usr/local/share/ca/alex/lib/python3.6/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/share/ca/alex/lib/python3.6/site-packages/django/apps/registry.py", line 89, in populate
app_config = AppConfig.create(entry)
File "/usr/local/share/ca/alex/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/local/share/ca/alex/lib/python3.6/importlib/init.py", line 117, in import_module
if name.startswith('.'):
AttributeError: 'list' object has no attribute 'startswith'

This was referenced Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant