2👍
✅
Maybe something like this:
{% if user.is_authenticated %}
{{form.as_table}}
{% else %}
{% for field_name, value in form.data.iteritems %}
{{field_name}}: {{value}}
{% endfor %}
{% endif %}
- [Answered ]-Django(postgresql) + lighttpd. Any issues with threading and python's postgresql driver?
Source:stackexchange.com