pinax / pinax-ratings

a ratings app for Django
MIT License
90 stars 28 forks source link

Example code for HTML form or HTML request based rating instead of Ajax #40

Closed Zerokami closed 5 years ago

Zerokami commented 6 years ago

I'm trying to rate on a modified version of pinax-ratings https://github.com/Logmytech/pinax-UpvoteDownvote.

But I'm getting 403 error on rating in the django console. This seems to be a CSRF error, but I have no way to know.

I'm not good with JS.

Can anyone give code for doing requests directly from HTML. It'd help my debugging and implementing of pinax-upvotesdownvotes.

For example code for giving 1 star would be helpful, since I have -1,0,1 as ratable values in my project.

KatherineMichel commented 5 years ago

@Logmytech Sorry for the late reply. I think you would be better off to join our Slack and ask in help channel, if you still want to pursue this. Otherwise, feel free to close.