We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When following the readme I am getting syntax errors for various things:
File "/Users/croberts/pennypledge/ab/abs.py", line 1 modfrom django.template import TemplateDoesNotExist ^ SyntaxError: invalid syntax
I assumed you meant "from" instead of "modfrom" so I changed it. But then I got another error:
File "/Users/croberts/pennypledge/ab/abs.py", line 48 raise TemplateDoesNotExist, template_name ^ SyntaxError: invalid syntax
I then changed line 48 to read raise TemplateDoesNotExist(template_name)
But then I start to get this error:
cannot import name 'load_template_source'
I have included in my settings.py:
TEMPLATE_LOADERS = ( 'ab.loaders.load_template_source', 'django.template.loaders.filesystem.load_template_source', )
in my app when before I didn't have anything defined in template loaders.
I haven't been able to get passed this error yet. I don't know if these errors are because I am running python3 or django1.7?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When following the readme I am getting syntax errors for various things:
File "/Users/croberts/pennypledge/ab/abs.py", line 1
modfrom django.template import TemplateDoesNotExist
^
SyntaxError: invalid syntax
I assumed you meant "from" instead of "modfrom" so I changed it. But then I got another error:
File "/Users/croberts/pennypledge/ab/abs.py", line 48
raise TemplateDoesNotExist, template_name
^
SyntaxError: invalid syntax
I then changed line 48 to read
raise TemplateDoesNotExist(template_name)
But then I start to get this error:
cannot import name 'load_template_source'
I have included in my settings.py:
TEMPLATE_LOADERS = (
'ab.loaders.load_template_source',
'django.template.loaders.filesystem.load_template_source',
)
in my app when before I didn't have anything defined in template loaders.
I haven't been able to get passed this error yet.
I don't know if these errors are because I am running python3 or django1.7?
The text was updated successfully, but these errors were encountered: