AttributeError at /admin/fluent_comments/fluentcomment/

71 views Asked by At

Try to implement django_fluent_comments. It works perfectly with another clsses, but with News I have the following error (though the classes are mostly similar):

AttributeError at /admin/fluent_comments/fluentcomment/

'News' object has no attribute 'get_absolute_url'

The Traceback links me to the comments template:

Error during template rendering

In template /app/.heroku/python/lib/python2.7/site-packages/django/contrib/admin/templates/admin/change_list.html, error at line 91
'News' object has no attribute 'get_absolute_url'

I don't want to add a get_absolute_url method to the "news" class because I don't understand why in other cases it works without it.

0

There are 0 answers