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

load_pages tag broken #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a general template containing :
{% load pages_tags %}
{% load_pages %}
2. point browser to the uri of the page

What is the expected output? What do you see instead?
expect a page.
get the following error :

TemplateSyntaxError at /out

Caught an exception while rendering: 'PageAliasManager' object has no
attribute 'get_for_url'

What version of the product are you using? On what operating system?
Using SVN632 

Please provide any additional information below.
attaching a patch that solves the issue for me.

Original issue reported on code.google.com by bruno.fe...@gmail.com on 6 Aug 2009 at 1:18

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by chris.vigelius on 7 Aug 2009 at 9:53

GoogleCodeExporter commented 9 years ago
fixed in r633. thanks for contributing.

Original comment by chris.vigelius on 7 Aug 2009 at 10:55