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

Meet error with django1.8 #4

Open
timtan opened this issue Nov 4, 2015 · 0 comments
Open

Meet error with django1.8 #4

timtan opened this issue Nov 4, 2015 · 0 comments

Comments

@timtan
Copy link

timtan commented Nov 4, 2015

thanks for the cool project.

I use it in Django 1.8, but meet the following error.

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 351, in execute_from_command_line
    utility.execute()
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 343, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/template_repl/management/commands/templateshell.py", line 46, in handle
    run_shell(context)
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/template_repl/__init__.py", line 12, in run_shell
    from template_repl.repl import TemplateREPL
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/template_repl/repl.py", line 8, in <module>
    from template_repl.completion import Completer
  File "/Users/tim/Projects/styo/venv/lib/python2.7/site-packages/template_repl/completion.py", line 1, in <module>
    from django.template import Lexer, TOKEN_TEXT
ImportError: cannot import name Lexer

hope some one can fix the problem.

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