Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8779199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:43:33+00:00 2026-06-13T19:43:33+00:00

Fontawesome has a great star rating css extension, which looks really awesome. However clicking

  • 0

Fontawesome has a great star rating css extension, which looks really awesome.

However clicking on any of the span elements wouldn’t really do anything. I don’t know how to hook this up with my database model. Lets say I have an integer field of 0-5 in Django. How could I set the value according to the user’s selection within the template?

enter image description here

<span class="rating">
  <span class="star"></span>
  <span class="star"></span>
  <span class="star"></span>
  <span class="star"></span>
  <span class="star"></span>
</span>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:43:34+00:00Added an answer on June 13, 2026 at 7:43 pm

    I ended up using Raty. If you are looking for a simple and clean solution, I found this the easiest.

    $('#star').raty('score');                   // Get the current score.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Font Awesome , which was designed for use with Twitter Bootsrap.
Is there any way to embed HTML in the css content: element when using
I am using Font-Awesome which is iconic font for use with Twitter Bootstrap. Markup
I'm using Font Awesome for icons in my website. I'm pretty new to HTML
I'm using font-awesome in a rails 3 app, and everything is ok in development
I want to use icon (awesome) fonts in my xpage. I downloaded it and
I am attempting to use font awesome with Shopify and less. I compile my
So I am trying to use this font http://fortawesome.github.com/Font-Awesome/ . I've added the font
I am looking at the web page located at Font Awesome . If you
How could I style the color, size and shadow of icons from FontAwesome's Icons

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.