{"action":"created","issue":{"url":"https://api.github.com/repos/jdriscoll/django-photologue/issues/132","labels_url":"https://api.github.com/repos/jdriscoll/django-photologue/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/jdriscoll/django-photologue/issues/132/comments","events_url":"https://api.github.com/repos/jdriscoll/django-photologue/issues/132/events","html_url":"https://github.com/jdriscoll/django-photologue/issues/132","id":74321735,"number":132,"title":"'Template' object has no attribute 'nodelist'","user":{"login":"comzeradd","id":939357,"avatar_url":"https://avatars.githubusercontent.com/u/939357?v=3","gravatar_id":"","url":"https://api.github.com/users/comzeradd","html_url":"https://github.com/comzeradd","followers_url":"https://api.github.com/users/comzeradd/followers","following_url":"https://api.github.com/users/comzeradd/following{/other_user}","gists_url":"https://api.github.com/users/comzeradd/gists{/gist_id}","starred_url":"https://api.github.com/users/comzeradd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comzeradd/subscriptions","organizations_url":"https://api.github.com/users/comzeradd/orgs","repos_url":"https://api.github.com/users/comzeradd/repos","events_url":"https://api.github.com/users/comzeradd/events{/privacy}","received_events_url":"https://api.github.com/users/comzeradd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-08T10:50:31Z","updated_at":"2015-05-09T12:53:03Z","closed_at":null,"body":"I'm getting this error on `root.html` template.\r\n\r\nTraceback:\r\n\r\n```\r\nTemplate error:\r\nIn template /usr/local/lib/python2.7/dist-packages/photologue/templates/photologue/root.html, error at line 1\r\n   'Template' object has no attribute 'nodelist'\r\n   1 :  {% extends \"base.html\" %} \r\n\r\n\r\n   2 : \r\n\r\nTraceback:\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\" in get_response\r\n  137.                 response = response.render()\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/response.py\" in render\r\n  103.             self.content = self.rendered_content\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/response.py\" in rendered_content\r\n  80.         content = template.render(context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\" in render\r\n  148.             return self._render(context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\" in _render\r\n  142.         return self.nodelist.render(context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\" in render\r\n  844.                 bit = self.render_node(node, context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/debug.py\" in render_node\r\n  80.             return node.render(context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py\" in render\r\n  126.         return compiled_parent._render(context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\" in _render\r\n  142.         return self.nodelist.render(context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/base.py\" in render\r\n  844.                 bit = self.render_node(node, context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/debug.py\" in render_node\r\n  80.             return node.render(context)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py\" in render\r\n  115.         for node in compiled_parent.nodelist:\r\n\r\nException Type: AttributeError at /fxosmedia/photologue/gallerylist/\r\nException Value: 'Template' object has no attribute 'nodelist'\r\n```"},"comment":{"url":"https://api.github.com/repos/jdriscoll/django-photologue/issues/comments/100477727","html_url":"https://github.com/jdriscoll/django-photologue/issues/132#issuecomment-100477727","issue_url":"https://api.github.com/repos/jdriscoll/django-photologue/issues/132","id":100477727,"user":{"login":"richardbarran","id":94111,"avatar_url":"https://avatars.githubusercontent.com/u/94111?v=3","gravatar_id":"","url":"https://api.github.com/users/richardbarran","html_url":"https://github.com/richardbarran","followers_url":"https://api.github.com/users/richardbarran/followers","following_url":"https://api.github.com/users/richardbarran/following{/other_user}","gists_url":"https://api.github.com/users/richardbarran/gists{/gist_id}","starred_url":"https://api.github.com/users/richardbarran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardbarran/subscriptions","organizations_url":"https://api.github.com/users/richardbarran/orgs","repos_url":"https://api.github.com/users/richardbarran/repos","events_url":"https://api.github.com/users/richardbarran/events{/privacy}","received_events_url":"https://api.github.com/users/richardbarran/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T12:53:03Z","updated_at":"2015-05-09T12:53:03Z","body":"I *think* that you don't need Jingo any more with Django 1.8, and that Jinja2 templates work out of the box.\r\nIn the docs at https://docs.djangoproject.com/en/1.8/topics/templates/ I found this snippet:\r\n\r\n```\r\nTEMPLATES = [\r\n    {\r\n        'BACKEND': 'django.template.backends.django.DjangoTemplates',\r\n        'DIRS': [\r\n            '/home/html/example.com',\r\n            '/home/html/default',\r\n        ],\r\n    },\r\n    {\r\n        'BACKEND': 'django.template.backends.jinja2.Jinja2',\r\n        'DIRS': [\r\n            '/home/html/jinja2',\r\n        ],\r\n    },\r\n]\r\n```\r\nDisclaimer: I have not used Django 1.8 yet! "}}