google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

No attribute lft #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I use the "pages_dynamic_tree_menu" template tag in a template and then 
try and save a page, I get a TemplateSyntaxError:

TemplateSyntaxError at /admin/pages/page/add/
Caught AttributeError while rendering: 'NoneType' object has no attribute 'lft'
Exception Location: ../pages/templatetags/pages_tags.py in 
pages_dynamic_tree_menu, line 253

Original issue reported on code.google.com by bjou...@gmail.com on 15 Sep 2010 at 3:16

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for the report, here is the fix:

http://github.com/batiste/django-page-cms/commit/a1b500c5cdccc245f34f7501c5be7d2
538c45dee

Cheers.

Original comment by batiste....@gmail.com on 24 Sep 2010 at 8:11

GoogleCodeExporter commented 9 years ago

Original comment by batiste....@gmail.com on 9 Oct 2010 at 1:14