codysoyland/django-phased — Issue #2: Error with comments app
Author: izelli
Created: 2012-01-25 16:08:16+00:00
State: open

I got this error when I try to use phased with the comments forms to check if the user is authenticated:

`'functools.partial' object has no attribute '__module__'`

This is the code on the template:

{% load phased_tags %}
{% phased %}
{% load comments %}

{% if request.user.is_authenticated %}
`Exit`
{% render_comment_form for enq %}
{% else %}
`login`
{% endif %}

{% endphased %}

Is there something wrong with the code?

Thanks!