Django class based views, no loader erro
While the code below works fine when the server is running, using south or syncdb gives me errors:
SomeTemplateView.as_view(template_name=get_template("app/test.html").name)
However this code works bo开发者_开发知识库th during server running and using south or syncdb:
SomeTemplateView.as_view(template_name="app/test.html")
What's the catch?
精彩评论