On Thu, Nov 12, 2015 at 5:10 AM, Jose Paul <josekavun...@gmail.com> wrote:
> I am just running DJango 1.8 test cases ,here is start of the error trace . > > ===================================================================== > ERROR: test_load06 (template_tests.syntax_tests.test_load.LoadTagTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\template_tests\utils.py", > line 117, in inner > func(self) > File "C:\Python27\lib\site-packages\django\test\utils.py", line 196, in > inner > return test_func(*args, **kwargs) > File > "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\template_tests\utils.py", > line 62, in inner > func(self) > File > "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\template_tests\syntax_tests\test_load.py", > line 39, in test_load06 > output = self.engine.render_to_string('load06') > File "C:\Python27\lib\site-packages\django\template\engine.py", line > 208, in render_to_string > > I suspect one of your tests is rendering a template. Do you have a reference to a template tag anywhere in your templates like {% subpackage.echo %}? I'm guessing if you visit the page that has that reference, it will also break in a similar manner. You probably need to add a {% load tag_library %} or whatever your template tags are called in your template before you call the template tag. -James -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciW9D_7dyXPPY-G4WDAzQt0EKRcvUYJXqR5CKQ6%2Bu0-huw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.