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

Issue - python manage.py makemigrations #38

Open
cesanchez opened this issue May 9, 2018 · 0 comments
Open

Issue - python manage.py makemigrations #38

cesanchez opened this issue May 9, 2018 · 0 comments

Comments

@cesanchez
Copy link

I installed django-admin-tools.
Next I am trying to run python manage.py makemigrations
But this gives me an error.

Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management_init_.py", line 371, in execute_from_command_line
utility.execute()
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management_init_.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py", line 288, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py", line 332, in execute
self.check()
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py", line 364, in check
include_deployment_checks=include_deployment_checks,
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py", line 351, in _run_checks
return checks.run_checks(**kwargs)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\checks\registry.py", line 73, in run_checks
new_errors = check(app_configs=app_configs)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\admin_tools\checks.py", line 18, in check_admin_tools_configuration
get_template('admin:admin/base.html')
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\backends\django.py", line 34, in get_template
return Template(self.engine.get_template(template_name), self)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\engine.py", line 144, in get_template
template, origin = self.find_template(template_name)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\engine.py", line 126, in find_template
template = loader.get_template(name, skip=skip)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loaders\cached.py", line 55, in get_template
template = super().get_template(template_name, skip)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loaders\base.py", line 24, in get_template
contents = self.get_contents(origin)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loaders\cached.py", line 24, in get_contents
return origin.loader.get_contents(origin)
File "C:\Users\1130618379\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loaders\filesystem.py", line 23, in get_contents
with open(origin.name, encoding=self.engine.file_charset) as fp:
OSError: [Errno 22] Invalid argument: 'C:\Users\1130618379\Documents\django-admin-tools-stats-develop\demoproject\demoproject\templates\admin:admin\base.html'

Anybody an idea?

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

No branches or pull requests

1 participant