Open bschollnick opened 13 years ago
This repositiry is only the fork of ofifcial project. Documentation can be found at ReadTheDocs. I didn't figured the problems that you faced, but I can give some reocomendations.
AFAIK, RequestContext
instance responds for user authentication in Django templates, so you have to provide RequestContext
rather than Context
instance into render_to_response shortcut.
About the form, see templatetags documentation at ReadTheDocs, maybe you use improper templatetag? Note, that official app uses plain html inputs, when we use jquery widget, jquery plugin should be loaded separately from voting form.
HTH.
Folks,
Two problems....
1) I am having an issue with the listview, this will cause the form to be distorted....
def indigo_plugins_listview ( request ): IP_Data = IndigoPlugin.objects.all().order_by ('plugin_name') return render_to_response ( 'indigo-plugin-listview.html', {'IndigoPlugin':IP_Data}, context_instance=RequestContext(request) )
If the RequestContext part is removed, the form will be fine. The distortion is that the button is at the table, and not contained in the table that I have setup...
Here's the view that I am using......
Indigo Plugins
{% for IP in IndigoPlugin %}
{{ IP.plugin_name}}
Version
with
Price
this plugin
Email
## {% endfor %} 2) If I attempt to vote, one of two messages will appear. - Invalid data in vote form. - User is unauthorized to vote. I don't see anything addressing either of these issues in the documentation? I have no idea what invalid data I could have in the vote form.... Any suggestions on how to address this?